[diffusion] feat: support mixed w4a4 and int8 checkpoints (#36040)

This commit is contained in:
Mick
2026-08-24 20:35:11 +08:00
committed by GitHub
parent e586a6f2c5
commit 76d1401881
5 changed files with 80 additions and 5 deletions
@@ -311,6 +311,8 @@ current `comfy-kitchen`, then pass a full or pruned FL2VA / Ref2VA file such as
`Merserk/MiniMax-H3-INT4-ConvRot/minimax_h3_fl2va_pruned_int4_convrot.safetensors`
to `--transformer-weights-path`. The packed weights stay INT4 and the runtime
honors each layer's activation mode; omit `--quantization`.
Mixed exports use the same command: SGLang dispatches each marked layer to its
serialized W4A4 or INT8 ConvRot kernel instead of applying one global method.
### Advanced: precomputed AdaLN cache