Not able to select an option on Google Colab

991 Views Asked by At

I used the commad

!accelerate config

The cell keeps running and i am not able to chose from any of the options. Image of the error

I tried writing the option, selecting the number of choice as well.

1

There are 1 best solutions below

0
On

You can generate default config (it will prompts the config location):

!accelerate config default

Then move to your "home" dir:

!mv /root/.cache/huggingface/accelerate/default_config.yaml /content/

Then edit manually and put back:

!mv /content/default_config.yaml /root/.cache/huggingface/accelerate/

And update (?) (Possibly this is not necessary)

!accelerate config update