To follow this guide you will need a GPU. If you're working in a notebook, run the following line to check if a GPU is available: 

!nvidia-smi
or alternatively for AMD GPUs:

!rocm-smi

We encourage you to log in to your Hugging Face account to upload and share your model with the community. When prompted, enter your token to log in:

from huggingface_hub import notebook_login
notebook_login()