Traceback (most recent call last):
File "Z:\kohyass\kohya_ss\library\train_util.py", line 3510, in get_optimizer
import bitsandbytes as bnb
File "Z:\kohyass\kohya_ss\venv\lib\site-packages\bitsandbytes__init.py", line 6, in
from . import cuda_setup, utils, research
File "Z:\kohyass\kohya_ss\venv\lib\site-packages\bitsandbytes\research__init__.py", line 1, in
from . import nn
File "Z:\kohyass\kohya_ss\venv\lib\site-packages\bitsandbytes\research\nn\init.py", line 1, in
from .modules import LinearFP8Mixed, LinearFP8Global
File "Z:\kohyass\kohya_ss\venv\lib\site-packages\bitsandbytes\research\nn\modules.py", line 8, in
from bitsandbytes.optim import GlobalOptimManager
File "Z:\kohyass\kohya_ss\venv\lib\site-packages\bitsandbytes\optim\init__.py", line 6, in
from bitsandbytes.cextension import COMPILED_WITH_CUDA
File "Z:\kohyass\kohya_ss\venv\lib\site-packages\bitsandbytes\cextension.py", line 5, in
from .cuda_setup.main import evaluate_cuda_setup
File "Z:\kohyass\kohya_ss\venv\lib\site-packages\bitsandbytes\cuda_setup\main.py", line 21, in
from .paths import determine_cuda_runtime_lib_path
ModuleNotFoundError: No module named 'bitsandbytes.cuda_setup.paths'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "Z:\kohyass\kohya_ss\sdxl_train_network.py", line 184, in
trainer.train(args)
File "Z:\kohyass\kohya_ss\train_network.py", line 345, in train
optimizer_name, optimizer_args, optimizer = train_util.get_optimizer(args, trainable_params)
File "Z:\kohyass\kohya_ss\library\train_util.py", line 3512, in get_optimizer
raise ImportError("No bitsandbytes / bitsandbytesがインストールされていないようです")
ImportError: No bitsandbytes / bitsandbytesがインストールされていないようです
Traceback (most recent call last):
File "Z:\python\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "Z:\python\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "Z:\kohyass\kohya_ss\venv\Scripts\accelerate.exe__main__.py", line 7, in
File "Z:\kohyass\kohya_ss\venv\lib\site-packages\accelerate\commands\accelerate_cli.py", line 47, in main
args.func(args)
File "Z:\kohyass\kohya_ss\venv\lib\site-packages\accelerate\commands\launch.py", line 1017, in launch_command
simple_launcher(args)
File "Z:\kohyass\kohya_ss\venv\lib\site-packages\accelerate\commands\launch.py", line 637, in simple_launcher
raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd)
subprocess.CalledProcessError: Command '['Z:\kohyass\kohya_ss\venv\Scripts\python.exe', './sdxl_train_network.py', '--pretrained_model_name_or_path=stabilityai/stable-diffusion-xl-base-1.0', '--train_data_dir=Z:/aliska/img', '--resolution=1024,1024', '--output_dir=Z:/aliska/Model', '--logging_dir=Z:/aliska/Log', '--network_alpha=16', '--save_model_as=safetensors', '--network_module=networks.lora', '--text_encoder_lr=0.0003', '--unet_lr=0.0003', '--network_dim=32', '--output_name=leonzo', '--lr_scheduler_num_cycles=10', '--no_half_vae', '--learning_rate=0.0003', '--lr_scheduler=cosine', '--lr_warmup_steps=300', '--train_batch_size=2', '--max_train_steps=3000', '--save_every_n_epochs=4', '--mixed_precision=bf16', '--save_precision=bf16', '--cache_latents', '--cache_latents_to_disk', '--optimizer_type=AdamW8bit', '--lr_scheduler_args', 'scale_parameter=False', 'relative_step=False', 'warmup_init=False', '--max_grad_norm=1', '--max_data_loader_n_workers=0', '--bucket_reso_steps=64', '--xformers', '--bucket_no_upscale', '--noise_offset=0.0']' returned non-zero exit status 1.
Traceback (most recent call last): File "Z:\kohyass\kohya_ss\library\train_util.py", line 3510, in get_optimizer import bitsandbytes as bnb File "Z:\kohyass\kohya_ss\venv\lib\site-packages\bitsandbytes__init.py", line 6, in
from . import cuda_setup, utils, research
File "Z:\kohyass\kohya_ss\venv\lib\site-packages\bitsandbytes\research__init__.py", line 1, in
from . import nn
File "Z:\kohyass\kohya_ss\venv\lib\site-packages\bitsandbytes\research\nn\ init.py", line 1, in
from .modules import LinearFP8Mixed, LinearFP8Global
File "Z:\kohyass\kohya_ss\venv\lib\site-packages\bitsandbytes\research\nn\modules.py", line 8, in
from bitsandbytes.optim import GlobalOptimManager
File "Z:\kohyass\kohya_ss\venv\lib\site-packages\bitsandbytes\optim\ init__.py", line 6, in
from bitsandbytes.cextension import COMPILED_WITH_CUDA
File "Z:\kohyass\kohya_ss\venv\lib\site-packages\bitsandbytes\cextension.py", line 5, in
from .cuda_setup.main import evaluate_cuda_setup
File "Z:\kohyass\kohya_ss\venv\lib\site-packages\bitsandbytes\cuda_setup\main.py", line 21, in
from .paths import determine_cuda_runtime_lib_path
ModuleNotFoundError: No module named 'bitsandbytes.cuda_setup.paths'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "Z:\kohyass\kohya_ss\sdxl_train_network.py", line 184, in
trainer.train(args)
File "Z:\kohyass\kohya_ss\train_network.py", line 345, in train
optimizer_name, optimizer_args, optimizer = train_util.get_optimizer(args, trainable_params)
File "Z:\kohyass\kohya_ss\library\train_util.py", line 3512, in get_optimizer
raise ImportError("No bitsandbytes / bitsandbytesがインストールされていないようです")
ImportError: No bitsandbytes / bitsandbytesがインストールされていないようです
Traceback (most recent call last):
File "Z:\python\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "Z:\python\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "Z:\kohyass\kohya_ss\venv\Scripts\accelerate.exe__main__.py", line 7, in
File "Z:\kohyass\kohya_ss\venv\lib\site-packages\accelerate\commands\accelerate_cli.py", line 47, in main
args.func(args)
File "Z:\kohyass\kohya_ss\venv\lib\site-packages\accelerate\commands\launch.py", line 1017, in launch_command
simple_launcher(args)
File "Z:\kohyass\kohya_ss\venv\lib\site-packages\accelerate\commands\launch.py", line 637, in simple_launcher
raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd)
subprocess.CalledProcessError: Command '['Z:\kohyass\kohya_ss\venv\Scripts\python.exe', './sdxl_train_network.py', '--pretrained_model_name_or_path=stabilityai/stable-diffusion-xl-base-1.0', '--train_data_dir=Z:/aliska/img', '--resolution=1024,1024', '--output_dir=Z:/aliska/Model', '--logging_dir=Z:/aliska/Log', '--network_alpha=16', '--save_model_as=safetensors', '--network_module=networks.lora', '--text_encoder_lr=0.0003', '--unet_lr=0.0003', '--network_dim=32', '--output_name=leonzo', '--lr_scheduler_num_cycles=10', '--no_half_vae', '--learning_rate=0.0003', '--lr_scheduler=cosine', '--lr_warmup_steps=300', '--train_batch_size=2', '--max_train_steps=3000', '--save_every_n_epochs=4', '--mixed_precision=bf16', '--save_precision=bf16', '--cache_latents', '--cache_latents_to_disk', '--optimizer_type=AdamW8bit', '--lr_scheduler_args', 'scale_parameter=False', 'relative_step=False', 'warmup_init=False', '--max_grad_norm=1', '--max_data_loader_n_workers=0', '--bucket_reso_steps=64', '--xformers', '--bucket_no_upscale', '--noise_offset=0.0']' returned non-zero exit status 1.
Idk what i need to do