kohya_ss
kohya_ss copied to clipboard
Accelerate config step during installation won't work
Basically when I try to run accelerate config it will throw a bunch of errors:
(venv) PS G:!AI\SD\kohya_ss> accelerate config
------------------------------------------------------------------------------------------------------------------------In which compute environment are you running?
Please select a choice using the arrow or number keys, and selecting with enter
Traceback (most recent call last):
File "C:\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Python310\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "G:!AI\SD\kohya_ss\venv\Scripts\accelerate.exe_main.py", line 7, in
I'm running Polish version of Windows and 852 (OEM - Latin II) codepage for the cmd / powershell - but I tried to switch to Unicode few days ago and it was failing the same way.
Edit: it's pretty much impossible to select options using arrows (will throw the error immediately) and the number keys won't work correctly too. For now I left the default options which should work.
Please delete the venv and reso the install using the latest instructions... particularly important is this updated step:
python -m venv venv
This should ensure that local packages will not conflict with kohya GUI.
This issue is still present and has nothing to do with venv - I would rather suspect keyboard layout setting or maybe OS codepage... for now using the numbers on the keyboard work but trying to use cursor keys immediately breaks the installation.