Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fresh install of Kohya missing tensorflow #1116

Open
johnbrownlow opened this issue Jan 20, 2025 · 1 comment
Open

Fresh install of Kohya missing tensorflow #1116

johnbrownlow opened this issue Jan 20, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@johnbrownlow
Copy link

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

@johnbrownlow johnbrownlow added the bug Something isn't working label Jan 20, 2025
@johnbrownlow
Copy link
Author

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant