kohya_ss
kohya_ss copied to clipboard
[Bug]Updating Issue. a tiny bug. Its been updating since 4+ hours. (Solved. DON'T customize .bat files)
Dear developer @bmaltais
I wanted to update to latest kohya_ss. So I right-clicked and ran "upgrade.ps1" through powershell. Since then it kept downloading many versions of the packages and trying to install. Please check and update requirements.txt.
Right now terminal is showing below lines:
error: Your local changes to the following files would be overwritten by merge:
gui.bat
Please commit your changes or stash them before you merge.
Aborting
Updating 9d53e7b..a008c62
Processing c:\ai\kohya_ss
Preparing metadata (setup.py) ... done
Requirement already satisfied: accelerate==0.15.0 in c:\ai\kohya_ss\venv\lib\site-packages (from -r requirements.txt (line 1)) (0.15.0)
Requirement already satisfied: transformers==4.26.0 in c:\ai\kohya_ss\venv\lib\site-packages (from -r requirements.txt (line 2)) (4.26.0)
Requirement already satisfied: ftfy in c:\ai\kohya_ss\venv\lib\site-packages (from -r requirements.txt (line 3)) (6.1.1)
Requirement already satisfied: albumentations in c:\ai\kohya_ss\venv\lib\site-packages (from -r requirements.txt (line 4)) (1.3.0)
Requirement already satisfied: opencv-python in c:\ai\kohya_ss\venv\lib\site-packages (from -r requirements.txt (line 5)) (4.7.0.68)
Requirement already satisfied: einops in c:\ai\kohya_ss\venv\lib\site-packages (from -r requirements.txt (line 6)) (0.6.0)
Requirement already satisfied: diffusers[torch]==0.10.2 in c:\ai\kohya_ss\venv\lib\site-packages (from -r requirements.txt (line 7)) (0.10.2)
Requirement already satisfied: pytorch_lightning in c:\ai\kohya_ss\venv\lib\site-packages (from -r requirements.txt (line 8)) (1.9.0)
Collecting pytorch_lightning
Using cached pytorch_lightning-1.9.1-py3-none-any.whl (825 kB)
Requirement already satisfied: bitsandbytes==0.35.0 in c:\ai\kohya_ss\venv\lib\site-packages (from -r requirements.txt (line 9)) (0.35.0)
Requirement already satisfied: tensorboard in c:\ai\kohya_ss\venv\lib\site-packages (from -r requirements.txt (line 10)) (2.10.1)
Collecting tensorboard
Using cached tensorboard-2.12.0-py3-none-any.whl (5.6 MB)
Requirement already satisfied: safetensors==0.2.6 in c:\ai\kohya_ss\venv\lib\site-packages (from -r requirements.txt (line 11)) (0.2.6)
Requirement already satisfied: gradio==3.16.2 in c:\ai\kohya_ss\venv\lib\site-packages (from -r requirements.txt (line 12)) (3.16.2)
Requirement already satisfied: altair in c:\ai\kohya_ss\venv\lib\site-packages (from -r requirements.txt (line 13)) (4.2.2)
Requirement already satisfied: easygui in c:\ai\kohya_ss\venv\lib\site-packages (from -r requirements.txt (line 14)) (0.98.3)
Requirement already satisfied: tk in c:\ai\kohya_ss\venv\lib\site-packages (from -r requirements.txt (line 15)) (0.1.0)
Requirement already satisfied: requests in c:\ai\kohya_ss\venv\lib\site-packages (from -r requirements.txt (line 17)) (2.28.2)
Requirement already satisfied: timm in c:\ai\kohya_ss\venv\lib\site-packages (from -r requirements.txt (line 18)) (0.6.12)
Requirement already satisfied: fairscale in c:\ai\kohya_ss\venv\lib\site-packages (from -r requirements.txt (line 19)) (0.4.13)
Requirement already satisfied: tensorflow<2.11 in c:\ai\kohya_ss\venv\lib\site-packages (from -r requirements.txt (line 21)) (2.10.1)
Requirement already satisfied: huggingface-hub in c:\ai\kohya_ss\venv\lib\site-packages (from -r requirements.txt (line 22)) (0.12.0)
Requirement already satisfied: numpy>=1.17 in c:\ai\kohya_ss\venv\lib\site-packages (from accelerate==0.15.0->-r requirements.txt (line 1)) (1.24.2)
Requirement already satisfied: packaging>=20.0 in c:\ai\kohya_ss\venv\lib\site-packages (from accelerate==0.15.0->-r requirements.txt (line 1)) (23.0)
Requirement already satisfied: torch>=1.4.0 in c:\ai\kohya_ss\venv\lib\site-packages (from accelerate==0.15.0->-r requirements.txt (line 1)) (1.12.1+cu116)
Requirement already satisfied: psutil in c:\ai\kohya_ss\venv\lib\site-packages (from accelerate==0.15.0->-r requirements.txt (line 1)) (5.9.4)
Requirement already satisfied: pyyaml in c:\ai\kohya_ss\venv\lib\site-packages (from accelerate==0.15.0->-r requirements.txt (line 1)) (6.0)
Requirement already satisfied: filelock in c:\ai\kohya_ss\venv\lib\site-packages (from transformers==4.26.0->-r requirements.txt (line 2)) (3.9.0)
Requirement already satisfied: tqdm>=4.27 in c:\ai\kohya_ss\venv\lib\site-packages (from transformers==4.26.0->-r requirements.txt (line 2)) (4.64.1)
Requirement already satisfied: regex!=2019.12.17 in c:\ai\kohya_ss\venv\lib\site-packages (from transformers==4.26.0->-r requirements.txt (line 2)) (2022.10.31)
Requirement already satisfied: tokenizers!=0.11.3,<0.14,>=0.11.1 in c:\ai\kohya_ss\venv\lib\site-packages (from transformers==4.26.0->-r requirements.txt (line 2)) (0.13.2)
Requirement already satisfied: Pillow in c:\ai\kohya_ss\venv\lib\site-packages (from diffusers[torch]==0.10.2->-r requirements.txt (line 7)) (9.4.0)
Requirement already satisfied: importlib-metadata in c:\ai\kohya_ss\venv\lib\site-packages (from diffusers[torch]==0.10.2->-r requirements.txt (line 7)) (6.0.0)
Requirement already satisfied: httpx in c:\ai\kohya_ss\venv\lib\site-packages (from gradio==3.16.2->-r requirements.txt (line 12)) (0.23.3)
Requirement already satisfied: orjson in c:\ai\kohya_ss\venv\lib\site-packages (from gradio==3.16.2->-r requirements.txt (line 12)) (3.8.5)
Requirement already satisfied: aiofiles in c:\ai\kohya_ss\venv\lib\site-packages (from gradio==3.16.2->-r requirements.txt (line 12)) (23.1.0)
Requirement already satisfied: aiohttp in c:\ai\kohya_ss\venv\lib\site-packages (from gradio==3.16.2->-r requirements.txt (line 12)) (3.8.3)
Requirement already satisfied: jinja2 in c:\ai\kohya_ss\venv\lib\site-packages (from gradio==3.16.2->-r requirements.txt (line 12)) (3.1.2)
Requirement already satisfied: uvicorn in c:\ai\kohya_ss\venv\lib\site-packages (from gradio==3.16.2->-r requirements.txt (line 12)) (0.20.0)
Requirement already satisfied: pycryptodome in c:\ai\kohya_ss\venv\lib\site-packages (from gradio==3.16.2->-r requirements.txt (line 12)) (3.17)
Requirement already satisfied: pandas in c:\ai\kohya_ss\venv\lib\site-packages (from gradio==3.16.2->-r requirements.txt (line 12)) (1.5.3)
Requirement already satisfied: fastapi in c:\ai\kohya_ss\venv\lib\site-packages (from gradio==3.16.2->-r requirements.txt (line 12)) (0.90.0)
Requirement already satisfied: matplotlib in c:\ai\kohya_ss\venv\lib\site-packages (from gradio==3.16.2->-r requirements.txt (line 12)) (3.6.3)
Requirement already satisfied: markdown-it-py[linkify,plugins] in c:\ai\kohya_ss\venv\lib\site-packages (from gradio==3.16.2->-r requirements.txt (line 12)) (2.1.0)
Requirement already satisfied: websockets>=10.0 in c:\ai\kohya_ss\venv\lib\site-packages (from gradio==3.16.2->-r requirements.txt (line 12)) (10.4)
Requirement already satisfied: python-multipart in c:\ai\kohya_ss\venv\lib\site-packages (from gradio==3.16.2->-r requirements.txt (line 12)) (0.0.5)
Requirement already satisfied: fsspec in c:\ai\kohya_ss\venv\lib\site-packages (from gradio==3.16.2->-r requirements.txt (line 12)) (2023.1.0)
Requirement already satisfied: ffmpy in c:\ai\kohya_ss\venv\lib\site-packages (from gradio==3.16.2->-r requirements.txt (line 12)) (0.3.0)
Requirement already satisfied: markupsafe in c:\ai\kohya_ss\venv\lib\site-packages (from gradio==3.16.2->-r requirements.txt (line 12)) (2.1.2)
Requirement already satisfied: typing-extensions in c:\ai\kohya_ss\venv\lib\site-packages (from gradio==3.16.2->-r requirements.txt (line 12)) (4.4.0)
Requirement already satisfied: pydub in c:\ai\kohya_ss\venv\lib\site-packages (from gradio==3.16.2->-r requirements.txt (line 12)) (0.25.1)
Requirement already satisfied: pydantic in c:\ai\kohya_ss\venv\lib\site-packages (from gradio==3.16.2->-r requirements.txt (line 12)) (1.10.4)
Requirement already satisfied: wcwidth>=0.2.5 in c:\ai\kohya_ss\venv\lib\site-packages (from ftfy->-r requirements.txt (line 3)) (0.2.6)
Requirement already satisfied: opencv-python-headless>=4.1.1 in c:\ai\kohya_ss\venv\lib\site-packages (from albumentations->-r requirements.txt (line 4)) (4.7.0.68)
Requirement already satisfied: scikit-image>=0.16.1 in c:\ai\kohya_ss\venv\lib\site-packages (from albumentations->-r requirements.txt (line 4)) (0.19.3)
Requirement already satisfied: qudida>=0.0.4 in c:\ai\kohya_ss\venv\lib\site-packages (from albumentations->-r requirements.txt (line 4)) (0.0.4)
Requirement already satisfied: scipy in c:\ai\kohya_ss\venv\lib\site-packages (from albumentations->-r requirements.txt (line 4)) (1.10.0)
Requirement already satisfied: torchmetrics>=0.7.0 in c:\ai\kohya_ss\venv\lib\site-packages (from pytorch_lightning->-r requirements.txt (line 8)) (0.11.1)
Requirement already satisfied: lightning-utilities>=0.6.0.post0 in c:\ai\kohya_ss\venv\lib\site-packages (from pytorch_lightning->-r requirements.txt (line 8)) (0.6.0.post0)
Requirement already satisfied: google-auth<3,>=1.6.3 in c:\ai\kohya_ss\venv\lib\site-packages (from tensorboard->-r requirements.txt (line 10)) (2.16.0)
Requirement already satisfied: setuptools>=41.0.0 in c:\ai\kohya_ss\venv\lib\site-packages (from tensorboard->-r requirements.txt (line 10)) (63.2.0)
Collecting tensorboard-data-server<0.8.0,>=0.7.0
Using cached tensorboard_data_server-0.7.0-py3-none-any.whl (2.4 kB)
Requirement already satisfied: werkzeug>=1.0.1 in c:\ai\kohya_ss\venv\lib\site-packages (from tensorboard->-r requirements.txt (line 10)) (2.2.2)
Requirement already satisfied: protobuf>=3.19.6 in c:\ai\kohya_ss\venv\lib\site-packages (from tensorboard->-r requirements.txt (line 10)) (3.19.6)
Requirement already satisfied: markdown>=2.6.8 in c:\ai\kohya_ss\venv\lib\site-packages (from tensorboard->-r requirements.txt (line 10)) (3.4.1)
Requirement already satisfied: google-auth-oauthlib<0.5,>=0.4.1 in c:\ai\kohya_ss\venv\lib\site-packages (from tensorboard->-r requirements.txt (line 10)) (0.4.6)
Requirement already satisfied: absl-py>=0.4 in c:\ai\kohya_ss\venv\lib\site-packages (from tensorboard->-r requirements.txt (line 10)) (1.4.0)
Requirement already satisfied: tensorboard-plugin-wit>=1.6.0 in c:\ai\kohya_ss\venv\lib\site-packages (from tensorboard->-r requirements.txt (line 10)) (1.8.1)
Requirement already satisfied: grpcio>=1.48.2 in c:\ai\kohya_ss\venv\lib\site-packages (from tensorboard->-r requirements.txt (line 10)) (1.51.1)
Requirement already satisfied: wheel>=0.26 in c:\ai\kohya_ss\venv\lib\site-packages (from tensorboard->-r requirements.txt (line 10)) (0.38.4)
Requirement already satisfied: toolz in c:\ai\kohya_ss\venv\lib\site-packages (from altair->-r requirements.txt (line 13)) (0.12.0)
Requirement already satisfied: entrypoints in c:\ai\kohya_ss\venv\lib\site-packages (from altair->-r requirements.txt (line 13)) (0.4)
Requirement already satisfied: jsonschema>=3.0 in c:\ai\kohya_ss\venv\lib\site-packages (from altair->-r requirements.txt (line 13)) (4.17.3)
Requirement already satisfied: idna<4,>=2.5 in c:\ai\kohya_ss\venv\lib\site-packages (from requests->-r requirements.txt (line 17)) (3.4)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\ai\kohya_ss\venv\lib\site-packages (from requests->-r requirements.txt (line 17)) (1.26.14)
Requirement already satisfied: charset-normalizer<4,>=2 in c:\ai\kohya_ss\venv\lib\site-packages (from requests->-r requirements.txt (line 17)) (2.1.1)
Requirement already satisfied: certifi>=2017.4.17 in c:\ai\kohya_ss\venv\lib\site-packages (from requests->-r requirements.txt (line 17)) (2022.12.7)
Requirement already satisfied: torchvision in c:\ai\kohya_ss\venv\lib\site-packages (from timm->-r requirements.txt (line 18)) (0.13.1+cu116)
Requirement already satisfied: h5py>=2.9.0 in c:\ai\kohya_ss\venv\lib\site-packages (from tensorflow<2.11->-r requirements.txt (line 21)) (3.8.0)
Requirement already satisfied: tensorflow-estimator<2.11,>=2.10.0 in c:\ai\kohya_ss\venv\lib\site-packages (from tensorflow<2.11->-r requirements.txt (line 21)) (2.10.0)
Requirement already satisfied: keras<2.11,>=2.10.0 in c:\ai\kohya_ss\venv\lib\site-packages (from tensorflow<2.11->-r requirements.txt (line 21)) (2.10.0)
Requirement already satisfied: opt-einsum>=2.3.2 in c:\ai\kohya_ss\venv\lib\site-packages (from tensorflow<2.11->-r requirements.txt (line 21)) (3.3.0)
Requirement already satisfied: tensorflow-io-gcs-filesystem>=0.23.1 in c:\ai\kohya_ss\venv\lib\site-packages (from tensorflow<2.11->-r requirements.txt (line 21)) (0.30.0)
Requirement already satisfied: six>=1.12.0 in c:\ai\kohya_ss\venv\lib\site-packages (from tensorflow<2.11->-r requirements.txt (line 21)) (1.16.0)
Requirement already satisfied: keras-preprocessing>=1.1.1 in c:\ai\kohya_ss\venv\lib\site-packages (from tensorflow<2.11->-r requirements.txt (line 21)) (1.1.2)
Requirement already satisfied: google-pasta>=0.1.1 in c:\ai\kohya_ss\venv\lib\site-packages (from tensorflow<2.11->-r requirements.txt (line 21)) (0.2.0)
Requirement already satisfied: flatbuffers>=2.0 in c:\ai\kohya_ss\venv\lib\site-packages (from tensorflow<2.11->-r requirements.txt (line 21)) (23.1.21)
Requirement already satisfied: wrapt>=1.11.0 in c:\ai\kohya_ss\venv\lib\site-packages (from tensorflow<2.11->-r requirements.txt (line 21)) (1.14.1)
Requirement already satisfied: astunparse>=1.6.0 in c:\ai\kohya_ss\venv\lib\site-packages (from tensorflow<2.11->-r requirements.txt (line 21)) (1.6.3)
Requirement already satisfied: termcolor>=1.1.0 in c:\ai\kohya_ss\venv\lib\site-packages (from tensorflow<2.11->-r requirements.txt (line 21)) (2.2.0)
Requirement already satisfied: libclang>=13.0.0 in c:\ai\kohya_ss\venv\lib\site-packages (from tensorflow<2.11->-r requirements.txt (line 21)) (15.0.6.1)
Requirement already satisfied: gast<=0.4.0,>=0.2.1 in c:\ai\kohya_ss\venv\lib\site-packages (from tensorflow<2.11->-r requirements.txt (line 21)) (0.4.0)
Collecting tensorboard
Using cached tensorboard-2.10.1-py3-none-any.whl (5.9 MB)
Using cached tensorboard-2.10.0-py3-none-any.whl (5.9 MB)
INFO: pip is looking at multiple versions of tensorflow to determine which version is compatible with other requirements. This could take a while.
Collecting tensorflow<2.11
Using cached tensorflow-2.10.1-cp310-cp310-win_amd64.whl (455.9 MB)
Using cached tensorflow-2.10.0-cp310-cp310-win_amd64.whl (455.9 MB)
Using cached tensorflow-2.9.3-cp310-cp310-win_amd64.whl (444.2 MB)
Collecting tensorflow-estimator<2.10.0,>=2.9.0rc0
Using cached tensorflow_estimator-2.9.0-py2.py3-none-any.whl (438 kB)
Collecting keras<2.10.0,>=2.9.0rc0
Using cached keras-2.9.0-py2.py3-none-any.whl (1.6 MB)
Collecting flatbuffers<2,>=1.12
Using cached flatbuffers-1.12-py2.py3-none-any.whl (15 kB)
Collecting tensorboard
Using cached tensorboard-2.9.1-py3-none-any.whl (5.8 MB)
Using cached tensorboard-2.9.0-py3-none-any.whl (5.8 MB)
Collecting tensorflow<2.11
Using cached tensorflow-2.9.2-cp310-cp310-win_amd64.whl (444.2 MB)
Using cached tensorflow-2.9.1-cp310-cp310-win_amd64.whl (444.1 MB)
Using cached tensorflow-2.9.0-cp310-cp310-win_amd64.whl (444.1 MB)
Using cached tensorflow-2.8.4-cp310-cp310-win_amd64.whl (438.4 MB)
Collecting tensorflow-estimator<2.9,>=2.8
Using cached tensorflow_estimator-2.8.0-py2.py3-none-any.whl (462 kB)
Collecting keras<2.9,>=2.8.0rc0
Using cached keras-2.8.0-py2.py3-none-any.whl (1.4 MB)
Collecting tensorboard
Using cached tensorboard-2.8.0-py3-none-any.whl (5.8 MB)
INFO: pip is looking at multiple versions of tensorflow to determine which version is compatible with other requirements. This could take a while.
Collecting tensorflow<2.11
Using cached tensorflow-2.8.3-cp310-cp310-win_amd64.whl (438.4 MB)
Using cached tensorflow-2.8.2-cp310-cp310-win_amd64.whl (438.3 MB)
Using cached tensorflow-2.8.1-cp310-cp310-win_amd64.whl (438.3 MB)
Using cached tensorflow-2.8.0-cp310-cp310-win_amd64.whl (438.0 MB)
Collecting tf-estimator-nightly==2.8.0.dev2021122109
Using cached tf_estimator_nightly-2.8.0.dev2021122109-py2.py3-none-any.whl (462 kB)
INFO: pip is looking at multiple versions of tf-estimator-nightly to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of tensorboard-data-server to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of fairscale to determine which version is compatible with other requirements. This could take a while.
Collecting fairscale
Using cached fairscale-0.4.13-py3-none-any.whl
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C.
Using cached fairscale-0.4.12.tar.gz (255 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Using cached fairscale-0.4.11.tar.gz (255 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Using cached fairscale-0.4.10.tar.gz (268 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Using cached fairscale-0.4.9-py3-none-any.whl
Using cached fairscale-0.4.8.tar.gz (260 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Using cached fairscale-0.4.7.tar.gz (260 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
INFO: pip is looking at multiple versions of tf-estimator-nightly to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of fairscale to determine which version is compatible with other requirements. This could take a while.
Using cached fairscale-0.4.6.tar.gz (248 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Using cached fairscale-0.4.5.tar.gz (240 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Using cached fairscale-0.4.4.tar.gz (235 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Using cached fairscale-0.4.3.tar.gz (232 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Using cached fairscale-0.4.2.tar.gz (222 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C.
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C.
Using cached fairscale-0.4.1.tar.gz (190 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Using cached fairscale-0.4.0.tar.gz (190 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Using cached fairscale-0.3.9.tar.gz (189 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Using cached fairscale-0.3.8.tar.gz (181 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Using cached fairscale-0.3.7.tar.gz (183 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Using cached fairscale-0.3.6.tar.gz (170 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Using cached fairscale-0.3.5.tar.gz (164 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Using cached fairscale-0.3.4.tar.gz (163 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Using cached fairscale-0.3.3.tar.gz (155 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Using cached fairscale-0.3.2.tar.gz (152 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Using cached fairscale-0.3.1.tar.gz (137 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Using cached fairscale-0.3.0.tar.gz (120 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Using cached fairscale-0.1.7.tar.gz (105 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Using cached fairscale-0.1.6.tar.gz (107 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Using cached fairscale-0.1.5.tar.gz (99 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Using cached fairscale-0.1.4.tar.gz (88 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Using cached fairscale-0.1.3.tar.gz (88 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Using cached fairscale-0.1.1.tar.gz (83 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Using cached fairscale-0.1.0.tar.gz (77 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Using cached fairscale-0.0.3.tar.gz (62 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Using cached fairscale-0.0.2.tar.gz (49 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Using cached fairscale-0.0.1.tar.gz (46 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
INFO: pip is looking at multiple versions of timm to determine which version is compatible with other requirements. This could take a while.
Collecting timm
Using cached timm-0.6.12-py3-none-any.whl (549 kB)
Using cached timm-0.6.11-py3-none-any.whl (548 kB)
Using cached timm-0.6.7-py3-none-any.whl (509 kB)
Using cached timm-0.6.5-py3-none-any.whl (512 kB)
Using cached timm-0.5.4-py3-none-any.whl (431 kB)
Using cached timm-0.4.12-py3-none-any.whl (376 kB)
Using cached timm-0.4.9-py3-none-any.whl (346 kB)
INFO: pip is looking at multiple versions of timm to determine which version is compatible with other requirements. This could take a while.
Using cached timm-0.4.5-py3-none-any.whl (287 kB)
Using cached timm-0.3.4-py3-none-any.whl (244 kB)
Using cached timm-0.3.3-py3-none-any.whl (244 kB)
Using cached timm-0.3.2-py3-none-any.whl (244 kB)
Using cached timm-0.3.1-py3-none-any.whl (247 kB)
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C.
Using cached timm-0.3.0-py3-none-any.whl (247 kB)
Using cached timm-0.2.1-py3-none-any.whl (225 kB)
Using cached timm-0.1.30-py3-none-any.whl (207 kB)
Using cached timm-0.1.28-py3-none-any.whl (210 kB)
Using cached timm-0.1.26-py3-none-any.whl (179 kB)
Using cached timm-0.1.24-py3-none-any.whl (179 kB)
Using cached timm-0.1.22-py3-none-any.whl (166 kB)
Using cached timm-0.1.20-py3-none-any.whl (161 kB)
Using cached timm-0.1.18-py3-none-any.whl (158 kB)
Using cached timm-0.1.16-py3-none-any.whl (141 kB)
Using cached timm-0.1.14-py3-none-any.whl (113 kB)
Using cached timm-0.1.12-py3-none-any.whl (91 kB)
Using cached timm-0.1.10-py3-none-any.whl (90 kB)
Using cached timm-0.1.8-py3-none-any.whl (87 kB)
Using cached timm-0.1.6-py3-none-any.whl (83 kB)
Using cached timm-0.1.4-py3-none-any.whl (83 kB)
Using cached timm-0.1.2-py3-none-any.whl (82 kB)
Using cached timm-0.1.1-py3-none-any.whl (81 kB)
INFO: pip is looking at multiple versions of requests to determine which version is compatible with other requirements. This could take a while.
Collecting requests
Using cached requests-2.28.2-py3-none-any.whl (62 kB)
Using cached requests-2.28.1-py3-none-any.whl (62 kB)
Using cached requests-2.28.0-py3-none-any.whl (62 kB)
Collecting charset-normalizer~=2.0.0
Using cached charset_normalizer-2.0.12-py3-none-any.whl (39 kB)
Collecting requests
Using cached requests-2.27.1-py2.py3-none-any.whl (63 kB)
Using cached requests-2.27.0-py2.py3-none-any.whl (63 kB)
Using cached requests-2.26.0-py2.py3-none-any.whl (62 kB)
Using cached requests-2.25.1-py2.py3-none-any.whl (61 kB)
Collecting idna<3,>=2.5
Using cached idna-2.10-py2.py3-none-any.whl (58 kB)
Collecting chardet<5,>=3.0.2
Using cached chardet-4.0.0-py2.py3-none-any.whl (178 kB)
INFO: pip is looking at multiple versions of requests to determine which version is compatible with other requirements. This could take a while.
Collecting requests
Using cached requests-2.25.0-py2.py3-none-any.whl (61 kB)
Collecting chardet<4,>=3.0.2
Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Collecting requests
Using cached requests-2.24.0-py2.py3-none-any.whl (61 kB)
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1
Using cached urllib3-1.25.11-py2.py3-none-any.whl (127 kB)
Collecting requests
Using cached requests-2.23.0-py2.py3-none-any.whl (58 kB)
Using cached requests-2.22.0-py2.py3-none-any.whl (57 kB)
Collecting idna<2.9,>=2.5
Using cached idna-2.8-py2.py3-none-any.whl (58 kB)
Collecting requests
Using cached requests-2.21.0-py2.py3-none-any.whl (57 kB)
Collecting urllib3<1.25,>=1.21.1
Using cached urllib3-1.24.3-py2.py3-none-any.whl (118 kB)
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C.
INFO: pip is looking at multiple versions of tk to determine which version is compatible with other requirements. This could take a while.
Collecting tk
Using cached tk-0.1.0-py3-none-any.whl (3.9 kB)
INFO: pip is looking at multiple versions of easygui to determine which version is compatible with other requirements. This could take a while.
Collecting easygui
Using cached easygui-0.98.3-py2.py3-none-any.whl (92 kB)
@bmaltais
I figured it out. When Installation process fails to update any files, it should stop the rest of the process. But maybe these is a small need to update the installation process. Dear developer please look into it. Maybe alert the user about renaming the .bat file and continue with the update process. Instead of failing to abort and continue to download packages etc... Still no harm done in my case. If any user had limited disk space, and if is C drive. This could crash the system. Please update the process. 👍 I will also create a separate copy of .bat and will never touch the actual files.
Problem was with my customization added to the .bat file. I just wanted to know if .bat file successfully started or not and if failed at which step it failed. So my .bat file had below echo lines
@echo off
echo Starting Kohya...
set VENV_DIR=.\venv
echo venv set...
set PYTHON=python
echo python set...
call %VENV_DIR%\Scripts\activate.bat
echo venv activated...
%PYTHON% kohya_gui.py
echo venv activated...
pause
NOTE: I will close this issue when one of the team members finish reading this. Or any team member can close this.
I will check if there is a way to stop a batch file on execution errors of a command... But batch files are fairly rudimentary... Perhaps I will need to convert it to a PowerShell script...
I will check if there is a way to stop a batch file on execution errors of a command... But batch files are fairly rudimentary... Perhaps I will need to convert it to a PowerShell script...
@bmaltais Sorry for late reply. I am new to github.
I just saw the new checking method you added. One suggestion. Possibly users might forget what changes they have done. So, if we can show the output of git status --short
that will help. And also add this command on the main page where you kindly provided the installation steps and upgrade process. Just add an advice to the user to run git status --short
command to see and remove their personal changes before running upgrade.ps1
I don't know if there is a way to show the output of the if condition. May be just adding the command itself in the warning, the way python does, it might help the user who changed knowingly or unknowingly.
Below modification to the error message worked for me. Please format the message in a better way if needed.
# Check if there are any changes that need to be committed
if (git status --short) {
Write-Error "There are changes that need to be committed. Please stash or undo your changes before running this script. Run 'git status --short' for user changes."
return
}