Skip to content
Merged
Show file tree
Hide file tree
Changes from 12 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
a33cf13
Your commit message describing all changes
jingyu-ml Jan 14, 2026
dff152b
Merge the diffusion and llms layer fusion code
jingyu-ml Jan 14, 2026
9e94843
Create a diffusers utils function, moved some functions to it
jingyu-ml Jan 14, 2026
db61c20
Merge branch 'main' into jingyux/diffusion.export-fixed
jingyu-ml Jan 14, 2026
8a81723
Fixed some bugs in the CI/CD
jingyu-ml Jan 14, 2026
16a2bbf
Merge branch 'main' into jingyux/diffusion.export-fixed
jingyu-ml Jan 14, 2026
68d5665
Move one function to diffusers utils
jingyu-ml Jan 14, 2026
ace5773
Merge branch 'main' into jingyux/diffusion.export-fixed
jingyu-ml Jan 15, 2026
95dfb52
removed the DiffusionPipeline import
jingyu-ml Jan 15, 2026
302e2f4
Update the example
jingyu-ml Jan 15, 2026
8eed21b
Fixed the CI/CD
jingyu-ml Jan 16, 2026
01d31d7
Update the CI/CD
jingyu-ml Jan 16, 2026
ca3fdaa
Update the Flux example & address Chenjie's comments
jingyu-ml Jan 16, 2026
44345f8
use single line of code
jingyu-ml Jan 16, 2026
78f12cc
Update the test case
jingyu-ml Jan 16, 2026
3911a3d
Add the support for the WAN video
jingyu-ml Jan 16, 2026
4cf9e76
Moved the has_quantized_modules to quant utils
jingyu-ml Jan 20, 2026
1da2b46
moving model specific configs to separate files
jingyu-ml Jan 20, 2026
eafedde
Merge branch 'main' into jingyux/diffusion.export-fixed
jingyu-ml Jan 20, 2026
3fb8320
Fixed the CI/CD
jingyu-ml Jan 20, 2026
372c6f7
Fixed the cicd
jingyu-ml Jan 20, 2026
e67bf85
reducee the repeated code
jingyu-ml Jan 21, 2026
9b5cf13
Merge branch 'main' into jingyux/diffusion.export-fixed
jingyu-ml Jan 21, 2026
e931fbc
Update the lint
jingyu-ml Jan 21, 2026
8b29228
Merge branch 'main' into jingyux/diffusion.export-fixed
jingyu-ml Jan 21, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion examples/diffusers/quantization/quantize.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
check_conv_and_mha,
check_lora,
filter_func_default,
filter_func_flux_dev,
filter_func_ltx_video,
filter_func_wan_video,
load_calib_prompts,
Expand Down Expand Up @@ -138,7 +139,7 @@ def get_model_filter_func(model_type: ModelType) -> Callable[[str], bool]:
A filter function appropriate for the model type
"""
filter_func_map = {
ModelType.FLUX_DEV: filter_func_default,
ModelType.FLUX_DEV: filter_func_flux_dev,
ModelType.FLUX_SCHNELL: filter_func_default,
ModelType.SDXL_BASE: filter_func_default,
ModelType.SDXL_TURBO: filter_func_default,
Expand Down
6 changes: 6 additions & 0 deletions examples/diffusers/quantization/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@ def filter_func_ltx_video(name: str) -> bool:
return pattern.match(name) is not None


def filter_func_flux_dev(name: str) -> bool:
"""Filter function specifically for Flux-dev models."""
pattern = re.compile(r"(proj_out.*|.*(time_text_embed|context_embedder|x_embedder|norm_out).*)")
return pattern.match(name) is not None


def filter_func_wan_video(name: str) -> bool:
"""Filter function specifically for LTX-Video models."""
pattern = re.compile(r".*(patch_embedding|condition_embedder).*")
Expand Down
Loading
Loading