Error After updated today. #920
Replies: 12 comments
-
Now, Kohya ss is really bad. It is too slow to make lora. Before 2023-06-03 I still can use Torch 2 and cudnn, It so fast, But now It's dead...So sad |
Beta Was this translation helpful? Give feedback.
-
Now, what is this? ============================================================= You can uninstall all local modules with: deactivate ============================================================= 12:14:18-662189 INFO nVidia toolkit detected To create a public link, set [Subset 0 of Dataset 0] [Dataset 0] |
Beta Was this translation helpful? Give feedback.
-
05:01:52-077763 INFO Stopping tensorboard process... |
Beta Was this translation helpful? Give feedback.
-
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮ |
Beta Was this translation helpful? Give feedback.
-
2023-06-07T18:47:51.630ZE [8784:ShellIpcClient] shell_ipc_client.cc:138:Connect Can't connect to socket at: \.\Pipe\GoogleDriveFSPipe_admin_shell 2023-06-07T18:47:51.633ZE [13980:ShellIpcClient] shell_ipc_client.cc:138:Connect Can't connect to socket at: \.\Pipe\GoogleDriveFSPipe_admin_shell 2023-06-07T18:47:51.634ZE [8944:ShellIpcClient] shell_ipc_client.cc:138:Connect Can't connect to socket at: \.\Pipe\GoogleDriveFSPipe_admin_shell |
Beta Was this translation helpful? Give feedback.
-
Im having the same error trying to install it |
Beta Was this translation helpful? Give feedback.
-
Before 2023-06-03 I still can use Torch 2 and cudnn, It so fast, But now using Torch 1 It is extremely slow.... |
Beta Was this translation helpful? Give feedback.
-
v21.7.6Modules installed outside the virtual environment were found. You can uninstall all local modules with: deactivate ============================================================= A matching Triton is not available, some optimizations will not be enabled. Speed also extremely slow.... |
Beta Was this translation helpful? Give feedback.
-
I had this problem after running upgrade.bat yesterday, I simply deleted my kohya_ss folder and re-installed. Worked just fine. Only issue I have is it complaining about Triton missing but that hasn't affected building my models. Lora seems to work just fine and not super slow for me. |
Beta Was this translation helpful? Give feedback.
-
Yeah, I made the mistake of upgrading my old version of it yesterday and it just won't work. I got similar errors. I finally was able to get it to create a Lora (with the Triton warning), then I got... Failed to match keys when loading Lora in A1111. Argh. I wish I just stayed on the old version. Oh well, what can you do. It's not like it's paid software and I do appreciate the creators and developers. It's not like I can create these things myself. |
Beta Was this translation helpful? Give feedback.
-
I got similar issues after updating once and it was because it was trying to update into the wrong folder. Reinstalling fixed it for me. |
Beta Was this translation helpful? Give feedback.
-
i still get this every install i try. |
Beta Was this translation helpful? Give feedback.
-
=============================================================
Modules installed outside the virtual environment were found.
This can cause issues. Please review the installed modules.
You can uninstall all local modules with:
deactivate
pip freeze > uninstall.txt
pip uninstall -y -r uninstall.txt
=============================================================
And Output Lora:
17:39:39-085515 INFO nVidia toolkit detected
17:39:41-513735 INFO Torch 2.0.1+cu118
17:39:41-529682 INFO Torch backend: nVidia CUDA 11.8 cuDNN 8700
17:39:41-531676 INFO Torch detected GPU: NVIDIA GeForce RTX 3080 VRAM 12288 Arch (8, 6) Cores 70
17:39:41-532672 INFO Verifying requirements
17:39:43-560372 INFO headless: False
17:39:43-562911 INFO Load CSS...
Running on local URL: http://127.0.0.1:7861
To create a public link, set
share=True
inlaunch()
.17:39:55-644836 INFO Loading config...
17:39:55-693673 INFO LoRA type changed...
17:40:41-622154 INFO Start training LoRA Kohya LoCon ...
17:40:41-627137 INFO Folder 100_EAV P: 46 images found
17:40:41-628134 INFO Folder 100_EAV P: 4600 steps
17:40:41-629130 INFO Total steps: 4600
17:40:41-630126 INFO Train batch size: 2
17:40:41-632120 INFO Gradient accumulation steps: 1.0
17:40:41-633117 INFO Epoch: 1
17:40:41-634113 INFO Regulatization factor: 1
17:40:41-635110 INFO max_train_steps (4600 / 2 / 1.0 * 1 * 1) = 2300
17:40:41-636107 INFO stop_text_encoder_training = 0
17:40:41-637103 INFO lr_warmup_steps = 230
17:40:41-639097 INFO accelerate launch --num_cpu_threads_per_process=2 "train_network.py"
--pretrained_model_name_or_path="E:\Game
2023\AIWAIFU\SD15\stable-diffusion-webui\models\Stable-diffusion\yesmix_v16Original.safetensors " --train_data_dir="C:\Test\Aya_Kujyou_Final_Gear\2" --resolution=512,512
--output_dir="C:\Test\Aya_Kujyou_Final_Gear\2" --network_alpha="128"
--save_model_as=safetensors --network_module=networks.lora --network_args conv_dim="1"
conv_alpha="1" --text_encoder_lr=5e-05 --unet_lr=0.0001 --network_dim=16
--output_name="Aya_Kujyou_Final_Gear-KK77-V1" --lr_scheduler_num_cycles="1"
--learning_rate="0.0001" --lr_scheduler="cosine" --lr_warmup_steps="230" --train_batch_size="2" --max_train_steps="2300" --save_every_n_epochs="1" --mixed_precision="fp16"
--save_precision="fp16" --seed="1" --caption_extension=".txt" --cache_latents
--optimizer_type="AdamW8bit" --max_data_loader_n_workers="1" --clip_skip=2
--bucket_reso_steps=64 --xformers --bucket_no_upscale --wandb_api_key="False"
Traceback (most recent call last):
File "C:\Users\admin\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in run_module_as_main
return run_code(code, main_globals, None,
File "C:\Users\admin\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "E:\Game 2023\AIWAIFU\kohya_ss20230512\kohya_ss\kohya_ss\venv\Scripts\accelerate.exe_main.py", line 4, in
File "E:\Game 2023\AIWAIFU\kohya_ss20230512\kohya_ss\kohya_ss\venv\lib\site-packages\accelerate_init.py", line 3, in
from .accelerator import Accelerator
File "E:\Game 2023\AIWAIFU\kohya_ss20230512\kohya_ss\kohya_ss\venv\lib\site-packages\accelerate\accelerator.py", line 39, in
from .tracking import LOGGER_TYPE_TO_CLASS, GeneralTracker, filter_trackers
File "E:\Game 2023\AIWAIFU\kohya_ss20230512\kohya_ss\kohya_ss\venv\lib\site-packages\accelerate\tracking.py", line 42, in
from torch.utils import tensorboard
File "E:\Game 2023\AIWAIFU\kohya_ss20230512\kohya_ss\kohya_ss\venv\lib\site-packages\torch\utils\tensorboard_init.py", line 12, in
from .writer import FileWriter, SummaryWriter # noqa: F401
File "E:\Game 2023\AIWAIFU\kohya_ss20230512\kohya_ss\kohya_ss\venv\lib\site-packages\torch\utils\tensorboard\writer.py", line 16, in
from ._embedding import (
File "E:\Game 2023\AIWAIFU\kohya_ss20230512\kohya_ss\kohya_ss\venv\lib\site-packages\torch\utils\tensorboard_embedding.py", line 9, in
_HAS_GFILE_JOIN = hasattr(tf.io.gfile, "join")
File "E:\Game 2023\AIWAIFU\kohya_ss20230512\kohya_ss\kohya_ss\venv\lib\site-packages\tensorboard\lazy.py", line 65, in getattr
return getattr(load_once(self), attr_name)
AttributeError: module 'tensorflow' has no attribute 'io'
Beta Was this translation helpful? Give feedback.
All reactions