You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I have this error that is recurring.
No matter what options I put, this error message does not go away.
Thank you in advance for your help.
2024-11-30 16:22:06 INFO prepare tokenizers sdxl_train_util.py:138
INFO update token length: 75 sdxl_train_util.py:163
INFO prepare accelerator train_textual_inversion.py:189
accelerator device: cuda
INFO loading model for process 0/1 sdxl_train_util.py:33
Traceback (most recent call last):
File "D:\kohya_ss\sd-scripts\sdxl_train_textual_inversion.py", line 138, in <module>
trainer.train(args)
File "D:\kohya_ss\sd-scripts\train_textual_inversion.py", line 197, in train
model_version, text_encoder_or_list, vae, unet = self.load_target_model(args, weight_dtype, accelerator)
File "D:\kohya_ss\sd-scripts\sdxl_train_textual_inversion.py", line 36, in load_target_model
) = sdxl_train_util.load_target_model(args, accelerator, sdxl_model_util.MODEL_VERSION_SDXL_BASE_V1_0, weight_dtype)
File "D:\kohya_ss\sd-scripts\library\sdxl_train_util.py", line 50, in load_target_model
args.disable_mmap_load_safetensors,
AttributeError: 'Namespace' object has no attribute 'disable_mmap_load_safetensors'
Traceback (most recent call last):
File "C:\Users\hanzo\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\hanzo\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "D:\kohya_ss\venv\Scripts\accelerate.EXE\__main__.py", line 7, in <module>
sys.exit(main())
File "D:\kohya_ss\venv\lib\site-packages\accelerate\commands\accelerate_cli.py", line 47, in main
args.func(args)
File "D:\kohya_ss\venv\lib\site-packages\accelerate\commands\launch.py", line 1017, in launch_command
simple_launcher(args)
File "D:\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 '['D:\\kohya_ss\\venv\\Scripts\\python.exe', 'D:/kohya_ss/sd-scripts/sdxl_train_textual_inversion.py', '--config_file', 'D:/kohya_ss/dataset/outputs/config_textual_inversion-20241130-162154.toml']' returned non-zero exit status 1.
16:22:08-789000 INFO Training has ended.
The text was updated successfully, but these errors were encountered:
Hello, I have this error that is recurring.
No matter what options I put, this error message does not go away.
Thank you in advance for your help.
The text was updated successfully, but these errors were encountered: