hollowstrawberry/kohya-colab

new error

Closed this issue · 2 comments

Have been using this colab successfully until today. Now there is an error:

ERROR: Could not find a version that satisfies the requirement torch==2.0.0+cu118 (from versions: 1.11.0, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 2.0.0, 2.0.1)
ERROR: No matching distribution found for torch==2.0.0+cu118

ModuleNotFoundError Traceback (most recent call last)
in <cell line: 512>()
510 display(Markdown("### ✅ Done! Go download your Lora(s) from Google Drive"))
511
--> 512 main()

1 frames
in install_dependencies()
206 get_ipython().system('sed -i 's/model_name + "."/model_name + "-{:02d}.".format(num_train_epochs)/g' train_network.py # name of the last epoch will match the rest')
207
--> 208 from accelerate.utils import write_basic_config
209 if not os.path.exists(accelerate_config_file):
210 write_basic_config(save_location=accelerate_config_file)

ModuleNotFoundError: No module named 'accelerate'

tried:
!pip install torch==2.0.0+cu118

Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/
ERROR: Could not find a version that satisfies the requirement torch==2.0.0+cu118 (from versions: 1.11.0, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 2.0.0, 2.0.1)
ERROR: No matching distribution found for torch==2.0.0+cu118

tried
!pip install install torch==2.0.0
works, but get the same error when running the main cell

Also getting this. I'm not good with python so i have no clue how to fix. I am however getting the same error on a different lora trainer.

Thank you for your patience, should be fixed now.