--enable_xformers_memory_efficient_attention \
--set_grads_to_none \
```  
</hfoption>
<hfoption id="8GB">  
On a 8GB GPU, you'll need to use [DeepSpeed](https://www.deepspeed.ai/) to offload some of the tensors from the vRAM to either the CPU or NVME to allow training with less GPU memory.  
Run the following command to configure your 🤗 Accelerate environment:  
```bash
accelerate config
```