Linaqruf / kohya-trainer

Adapted from https://note.com/kohya_ss/n/nbf7ce8d80f29 for easier cloning
Apache License 2.0
1.84k stars 304 forks source link

issue with torch on fast koyha trainer #175

Open N3K00OO opened 1 year ago

N3K00OO commented 1 year ago

Collecting torch==1.13.1 Using cached torch-1.13.1-cp39-cp39-manylinux1_x86_64.whl (887.4 MB) Requirement already satisfied: numpy in /usr/local/lib/python3.9/dist-packages (from xformers==0.0.16) (1.24.2) Requirement already satisfied: pyre-extensions==0.0.23 in /usr/local/lib/python3.9/dist-packages (from xformers==0.0.16) (0.0.23) Requirement already satisfied: cmake in /usr/local/lib/python3.9/dist-packages (from triton==2.0.0) (3.25.2) Requirement already satisfied: filelock in /usr/local/lib/python3.9/dist-packages (from triton==2.0.0) (3.10.7) Requirement already satisfied: lit in /usr/local/lib/python3.9/dist-packages (from triton==2.0.0) (16.0.0) Requirement already satisfied: typing-extensions in /usr/local/lib/python3.9/dist-packages (from pyre-extensions==0.0.23->xformers==0.0.16) (4.5.0) Requirement already satisfied: typing-inspect in /usr/local/lib/python3.9/dist-packages (from pyre-extensions==0.0.23->xformers==0.0.16) (0.8.0) Requirement already satisfied: nvidia-cudnn-cu11==8.5.0.96 in /usr/local/lib/python3.9/dist-packages (from torch==1.13.1->xformers==0.0.16) (8.5.0.96) Requirement already satisfied: nvidia-cuda-nvrtc-cu11==11.7.99 in /usr/local/lib/python3.9/dist-packages (from torch==1.13.1->xformers==0.0.16) (11.7.99) Requirement already satisfied: nvidia-cuda-runtime-cu11==11.7.99 in /usr/local/lib/python3.9/dist-packages (from torch==1.13.1->xformers==0.0.16) (11.7.99) Requirement already satisfied: nvidia-cublas-cu11==11.10.3.66 in /usr/local/lib/python3.9/dist-packages (from torch==1.13.1->xformers==0.0.16) (11.10.3.66) Requirement already satisfied: wheel in /usr/local/lib/python3.9/dist-packages (from nvidia-cublas-cu11==11.10.3.66->torch==1.13.1->xformers==0.0.16) (0.40.0) Requirement already satisfied: setuptools in /usr/local/lib/python3.9/dist-packages (from nvidia-cublas-cu11==11.10.3.66->torch==1.13.1->xformers==0.0.16) (67.6.1) Requirement already satisfied: mypy-extensions>=0.3.0 in /usr/local/lib/python3.9/dist-packages (from typing-inspect->pyre-extensions==0.0.23->xformers==0.0.16) (1.0.0) Installing collected packages: torch Attempting uninstall: torch Found existing installation: torch 2.0.0 Uninstalling torch-2.0.0: Successfully uninstalled torch-2.0.0 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. torchvision 0.15.1+cu118 requires torch==2.0.0, but you have torch 1.13.1 which is incompatible. torchtext 0.15.1 requires torch==2.0.0, but you have torch 1.13.1 which is incompatible. torchdata 0.6.0 requires torch==2.0.0, but you have torch 1.13.1 which is incompatible. torchaudio 2.0.1+cu118 requires torch==2.0.0, but you have torch 1.13.1 which is incompatible. Successfully installed torch-1.13.1 *** Download Progress Summary as of Tue Apr 4 18:27:31 2023 ***

been having this issue recently any idea why it keeps deleting torch and installing an another version?

Linaqruf commented 1 year ago

I'm sorry, I don't have any plans to continue the Fast Kohya Trainer project (for now).

  1. The code is getting longer in one cell, and my device is not powerful enough to handle it, (I run most of things in small laptop), which is causing lag.

  2. It's really hard to maintain the 1-click cell colab.

  3. There is another good 1-click cell colab project maintained by HollowStrawBerry, which is integrated with Google Drive. It based on my notebook (?) so you may get the same experience, or even better.You can check it out here: https://github.com/hollowstrawberry/kohya-colab

N3K00OO commented 1 year ago

thankyou :D