Skip to content
SurogateSurogateDocs
↑↓ to move↵ to openesc to close

Qwen3 QLoRA

Pick one online quantization mode:

bash
surogate sft examples/sft/qwen3/qwen3-lora-qbnb.yaml
surogate sft examples/sft/qwen3/qwen3-lora-qfp8.yaml
surogate sft examples/sft/qwen3/qwen3-lora-qfp4.yaml

The configs set qlora_bnb, qlora_fp8, or qlora_fp4 together with lora: true (see QLoRA). recipe sets the compute precision, separately from how the frozen base is stored. NVFP4 requires Blackwell; the precision guide lists GPU requirements. Checkpoints that are already quantized (FP8/NVFP4) load directly; don’t enable the online quantization flags for them. See the recipe index.

Next: Qwen3 MoE QLoRA applies QLoRA to a 30B mixture-of-experts model.