Add FastGen quantization-aware distillation - #2073
Conversation
Signed-off-by: Jingyu Xin <jingyux@nvidia.com>
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
|
Superseded by #2085, which uses the unprotected |
Summary
kd_lossAPI, without adding ModelOpt core APIs.Qwen/Qwen-Imageandnvidia/Qwen-Image-Flash.alland SVDQuantlora_onlytrain scopes.Why
FastGen previously exposed the Qwen-Image DMD2 training path but did not provide a conventional quantization-aware distillation recipe. QAD is intentionally separate from DMD2: teacher and student receive the same noisy latent, timestep, and conditioning, and the objective comes from teacher/student MSE plus an optional task loss. Attention Grill is intentionally out of scope.
Stack
This draft is stacked on #2069 and targets its head branch,
jingyux/qwen-image-dmd2-svdquant-peft, because it reuses the FastGen Qwen-Image, checkpoint-resume, and generic SVDQuant + PEFT support introduced there.Validation
pre_quant_scaleregistered-buffer validation.e42584e3config parser.No Slurm job was launched. A full Qwen-Image/GPU/FSDP multi-rank smoke was not run from the login node because the available training container is ARM64 while the login node is x86_64.