File size: 327 Bytes
5fa1a76
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
Train with a script
If you are running your training from a script, run the following command to create and save a configuration file:

accelerate config
Then launch your training with:

accelerate launch train.py
Train with a notebook
🤗 Accelerate can also run in a notebook if you're planning on using Colaboratory's TPUs.