Description:
It usually happens during lora training for some time.
I encountered a subprocess.CalledProcessError when running the train_network.py script using the specified configuration file. The script failed and returned a non-zero exit status (Exit Status: 3221225477).
Below is the full error traceback:
raceback (most recent call last):
File "C:\Users\boringsoft\anaconda3\envs\kohyass\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\boringsoft\anaconda3\envs\kohyass\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "C:\Users\boringsoft\Desktop\kohya_ss\venv\Scripts\accelerate.EXE\__main__.py", line 7, in <module>
File "C:\Users\boringsoft\Desktop\kohya_ss\venv\lib\site-packages\accelerate\commands\accelerate_cli.py", line 47, in main
args.func(args)
File "C:\Users\boringsoft\Desktop\kohya_ss\venv\lib\site-packages\accelerate\commands\launch.py", line 1017, in launch_command
simple_launcher(args)
File "C:\Users\boringsoft\Desktop\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 '['C:\\Users\\boringsoft\\Desktop\\kohya_ss\\venv\\Scripts\\python.exe', 'C:/Users/boringsoft/Desktop/kohya_ss/sd-scripts/train_network.py', '--config_file', 'C:\\Users\\boringsoft\\Desktop\\zhaolusi_train\\models/config_lora-20241007-171434.toml']' returned non-zero exit status 3221225477.
Issue Content:
Description: It usually happens during lora training for some time.
I encountered a
subprocess.CalledProcessError
when running thetrain_network.py
script using the specified configuration file. The script failed and returned a non-zero exit status (Exit Status: 3221225477).Below is the full error traceback: