Skip to content

flux2: switch quant backend to use SDNQ int8 ConvRot instead of int8-torchao and quanto - #2887

Merged
bghira merged 1 commit into
mainfrom
ux/switch-to-sdnq-int8-hadamard-flux2
Jul 25, 2026
Merged

flux2: switch quant backend to use SDNQ int8 ConvRot instead of int8-torchao and quanto#2887
bghira merged 1 commit into
mainfrom
ux/switch-to-sdnq-int8-hadamard-flux2

Conversation

@bghira

@bghira bghira commented Jul 25, 2026

Copy link
Copy Markdown
Owner

This pull request updates the quantization configuration for two example LoRA training setups to use the SDNQ quantization method and introduces several new SDNQ-specific parameters to the configuration files. These changes are aimed at enabling and fine-tuning SDNQ quantization for improved performance and flexibility.

Quantization method update:

  • Changed the base_model_precision from "int8-quanto" to "int8-sdnq" in both flux2.peft-lora/config.json and flux2.peft-lora+TREAD/config.json, switching the quantization backend to SDNQ. [1] [2]

Addition of SDNQ-specific configuration parameters:

  • Added new parameters to both configuration files to control SDNQ behavior:
    • "sdnq_compile_mode" set to "compile" to enable compilation mode.
    • "sdnq_group_size" set to -1 (likely indicating auto or default grouping).
    • "sdnq_hadamard_group_size" set to 128 to configure Hadamard group size.
    • "sdnq_use_hadamard" set to true to enable Hadamard-based quantization.
    • "sdnq_use_quantized_matmul" set to true to use quantized matrix multiplication. [1] [2]

@bghira
bghira merged commit a4ddfa8 into main Jul 25, 2026
2 checks passed
@bghira
bghira deleted the ux/switch-to-sdnq-int8-hadamard-flux2 branch July 25, 2026 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant