# Qwen3 QLoRA

Source: https://docs.surogate.ai/engine/examples/sft/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](/engine/guides/qlora/)). `recipe` sets the compute precision, separately
from how the frozen base is stored. NVFP4 requires Blackwell; the
[precision guide](/engine/guides/precision-and-recipes/) 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](/engine/examples/recipes/#model-and-precision-recipes).

Next: [Qwen3 MoE QLoRA](/engine/examples/sft/qwen3moe-lora/) applies QLoRA to a 30B mixture-of-experts model.
