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
A clean install of Kohya fails when I attempt to train something because it can't load TensorFlow
Console output
Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/errors for some common causes and solutions.
If you need help, create an issue at https://github.com/tensorflow/tensorflow/issues and include the entire stack trace above this error message.
Traceback (most recent call last):
File "runpy.py", line 196, in _run_module_as_main
File "runpy.py", line 86, in run_code
File "C:\Users\johnbrownlow\Desktop\StabilityMatrix-win-x64\Data\Packages\kohya_ss\venv\Scripts\accelerate.EXE_main.py", line 7, in
sys.exit(main())
File "C:\Users\johnbrownlow\Desktop\StabilityMatrix-win-x64\Data\Packages\kohya_ss\venv\lib\site-packages\accelerate\commands\accelerate_cli.py", line 47, in main
args.func(args)
File "C:\Users\johnbrownlow\Desktop\StabilityMatrix-win-x64\Data\Packages\kohya_ss\venv\lib\site-packages\accelerate\commands\launch.py", line 1017, in launch_command
simple_launcher(args)
File "C:\Users\johnbrownlow\Desktop\StabilityMatrix-win-x64\Data\Packages\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\johnbrownlow\Desktop\StabilityMatrix-win-x64\Data\Packages\kohya_ss\venv\Scripts\python.exe', 'C:/Users/johnbrownlow/Desktop/StabilityMatrix-win-x64/Data/Packages/kohya_ss/sd-scripts/train_db.py', '--config_file', 'C:/Users/johnbrownlow/Desktop/config_dreambooth-20250120-164331.toml']' returned non-zero exit status 1.
16:43:52-589852 INFO Training has ended.
Version
2.14.0-dev
What Operating System are you using?
Windows
The text was updated successfully, but these errors were encountered:
Possibly related - this from a fresh install of OneTrainer
Clearing cache directory workspace-cache/run! You can disable this if you want to continue using the same cache.
TensorFlow installation not found - running with reduced feature set.
Serving TensorBoard on localhost; to expose to the network, use a proxy or pass --bind_all
TensorBoard 2.18.0 at http://localhost:6006/ (Press CTRL+C to quit)
Package
Kohya_ss
When did the issue occur?
Running the Package
What GPU / hardware type are you using?
Nvidia 4060ti / CUDA
What happened?
A clean install of Kohya fails when I attempt to train something because it can't load TensorFlow
Console output
Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/errors for some common causes and solutions.
If you need help, create an issue at https://github.com/tensorflow/tensorflow/issues and include the entire stack trace above this error message.
Traceback (most recent call last):
File "runpy.py", line 196, in _run_module_as_main
File "runpy.py", line 86, in run_code
File "C:\Users\johnbrownlow\Desktop\StabilityMatrix-win-x64\Data\Packages\kohya_ss\venv\Scripts\accelerate.EXE_main.py", line 7, in
sys.exit(main())
File "C:\Users\johnbrownlow\Desktop\StabilityMatrix-win-x64\Data\Packages\kohya_ss\venv\lib\site-packages\accelerate\commands\accelerate_cli.py", line 47, in main
args.func(args)
File "C:\Users\johnbrownlow\Desktop\StabilityMatrix-win-x64\Data\Packages\kohya_ss\venv\lib\site-packages\accelerate\commands\launch.py", line 1017, in launch_command
simple_launcher(args)
File "C:\Users\johnbrownlow\Desktop\StabilityMatrix-win-x64\Data\Packages\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\johnbrownlow\Desktop\StabilityMatrix-win-x64\Data\Packages\kohya_ss\venv\Scripts\python.exe', 'C:/Users/johnbrownlow/Desktop/StabilityMatrix-win-x64/Data/Packages/kohya_ss/sd-scripts/train_db.py', '--config_file', 'C:/Users/johnbrownlow/Desktop/config_dreambooth-20250120-164331.toml']' returned non-zero exit status 1.
16:43:52-589852 INFO Training has ended.
Version
2.14.0-dev
What Operating System are you using?
Windows
The text was updated successfully, but these errors were encountered: