The [Min-SNR](https://huggingface.co/papers/2303.09556) weighting strategy can help with training by rebalancing the loss to achieve faster convergence. The training script supports predicting either `epsilon` (noise) or `v_prediction`, but Min-SNR is compatible with both prediction types. This weighting strategy is only supported by PyTorch and is unavailable in the Flax training script.  
Add the `--snr_gamma` parameter and set it to the recommended value of 5.0:  
```bash
accelerate launch train_text_to_image_sdxl.py \
--snr_gamma=5.0
```
/Users/nielsrogge/Documents/python_projecten/diffusers/docs/source/en/training/sdxl.md