Skip to content

Enable TaylorSeer caching by default for Flux and SD3.5#3709

Open
l-bat wants to merge 3 commits intoopenvinotoolkit:masterfrom
l-bat:lt/enable_ts_imggen
Open

Enable TaylorSeer caching by default for Flux and SD3.5#3709
l-bat wants to merge 3 commits intoopenvinotoolkit:masterfrom
l-bat:lt/enable_ts_imggen

Conversation

@l-bat
Copy link
Copy Markdown
Contributor

@l-bat l-bat commented Apr 14, 2026

Description

CVS-182423

Documentation: https://l-bat.github.io/openvino.genai/docs/concepts/optimization-techniques/diffusion-caching#image-generation-flux--stablediffusion3
GHA: https://github.com/l-bat/openvino.genai/actions/runs/24449838966

Checklist:

  • This PR follows GenAI Contributing guidelines.
  • Tests have been updated or added to cover the new code.
  • This PR fully addresses the ticket.
  • I have made corresponding changes to the documentation.

Copilot AI review requested due to automatic review settings April 14, 2026 10:37
@github-actions github-actions Bot added category: llm_bench Label for tool/llm_bench folder category: WWB PR changes WWB category: image generation Image generation pipelines category: GH Pages Docs Github Pages documentation category: GGUF GGUF file reader category: Image generation samples GenAI Image generation samples labels Apr 14, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Enables TaylorSeer caching by default for Flux and StableDiffusion3 Text2Image pipelines, and updates tooling/tests/docs so benchmarks and samples can still run baseline (no-caching) comparisons.

Changes:

  • Turn on taylorseer_config by default in Flux and StableDiffusion3 Text2Image pipeline default generation configs.
  • Update benchmarks/tests to explicitly disable caching where baseline behavior is required, and add a Python test asserting the new default.
  • Refresh docs/samples to reflect the new default behavior and how to disable/customize caching.

Reviewed changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
tools/who_what_benchmark/tests/test_cli_image.py Passes --taylorseer-config to disable caching for baseline-like CLI runs.
tools/llm_bench/README.md Documents default-on caching for Flux/SD3 Text2Image and how to disable via CLI config.
tests/python_tests/test_image_generation.py Adds SD3 tiny-random model constant + test asserting TaylorSeer default is enabled.
tests/python_tests/conftest.py Adds tiny-random-sd3 model mapping for conversion/fixture use.
src/cpp/src/image_generation/stable_diffusion_3_pipeline.hpp Enables default TaylorSeer config for SD3 Text2Image pipeline type.
src/cpp/src/image_generation/flux_pipeline.hpp Enables default TaylorSeer config for Flux Text2Image pipeline type.
site/docs/concepts/optimization-techniques/diffusion-caching.md Updates TaylorSeer docs to state default enablement and shows disable/customize patterns.
samples/python/image_generation/taylorseer_text2image.py Explicitly disables caching for baseline image generation before enabling it for comparison.
samples/python/image_generation/README.md Notes default enablement and updates baseline vs caching description.
samples/cpp/image_generation/taylorseer_text2image.cpp Explicitly disables caching for baseline run; reuses config variable for cached run.
samples/cpp/image_generation/README.md Notes default enablement and updates baseline vs caching description.

Comment thread src/cpp/src/image_generation/flux_pipeline.hpp
Comment thread samples/python/image_generation/README.md Outdated
Comment thread samples/cpp/image_generation/README.md Outdated
Copilot AI review requested due to automatic review settings April 15, 2026 10:18
@l-bat l-bat force-pushed the lt/enable_ts_imggen branch from b69c6ca to 2aa4fa6 Compare April 15, 2026 10:18
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 11 out of 11 changed files in this pull request and generated 2 comments.

Comment thread samples/cpp/image_generation/taylorseer_text2image.cpp
Comment thread site/docs/concepts/optimization-techniques/diffusion-caching.md
@l-bat l-bat force-pushed the lt/enable_ts_imggen branch from 2aa4fa6 to 51c4424 Compare April 15, 2026 10:40
Copilot AI review requested due to automatic review settings April 17, 2026 08:21
@l-bat l-bat force-pushed the lt/enable_ts_imggen branch from 51c4424 to 06eeb57 Compare April 17, 2026 08:21
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 11 out of 11 changed files in this pull request and generated 2 comments.

Comment thread tools/who_what_benchmark/tests/test_cli_image.py
Comment thread tools/llm_bench/README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category: GGUF GGUF file reader category: GH Pages Docs Github Pages documentation category: Image generation samples GenAI Image generation samples category: image generation Image generation pipelines category: llm_bench Label for tool/llm_bench folder category: WWB PR changes WWB

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants