Closed SAC020 closed 1 week ago
torch type cannot be changed in settings as it requires different torch. but yes, you can see in log that its really torch-cpu that is installed.
06:26:03-085287 INFO System packages: {'torch': '2.4.1+cpu', 'diffusers': '0.31.0.dev0', 'gradio': '3.43.2', 'transformers': '4.45.1', 'accelerate': '0.33.0'}
i don't know why it was installed, but i suggest to do a reinstall using:
webui --debug --reinstall
Thank you, reinstall did the trick and it's now working normally.
18:02:59-594146 INFO System packages: {'torch': '2.4.1+cu124', 'diffusers': '0.31.0.dev0', 'gradio': '3.43.2',
'transformers': '4.45.1', 'accelerate': '0.33.0'}
...
18:04:38-818134 DEBUG Torch generator: device=cuda seeds=[2245576255]
What I can tell from my side is that:
Thanks again
sdnext installer attempts to autodetect gpu and install correct torch. sometimes autodetect can fail - in nvdia case, if nvidia-smi returns invalid result.
you can always force installation of specific torch variant by using --use-xxx
flag on first sdnext startup.
(e.g. --use-cuda
, --use-rocm
, --use-directml`, etc...)
Issue Description
Noticed Torch generator: device=cpu in the log
Noticed there is some CPU load, and no GPU load
These are all the settings CPU-related I could find
Version Platform Description
06:25:11-946899 INFO Starting SD.Next 06:25:11-949892 INFO Logger: file="C:\ai\automatic\sdnext.log" level=DEBUG size=65 mode=create 06:25:11-951886 INFO Python: version=3.11.9 platform=Windows bin="C:\ai\automatic\venv\Scripts\python.exe" venv="C:\ai\automatic\venv" 06:25:12-156512 INFO Version: app=sd.next updated=2024-10-07 hash=072a8371 branch=dev url=https://github.com/vladmandic/automatic/tree/dev ui=dev 06:25:13-168581 INFO Repository latest available e7ec07f9783701629ca1411ad82aec87232501b9 2024-09-13T16:51:56Z 06:25:13-182544 INFO Platform: arch=AMD64 cpu=Intel64 Family 6 Model 165 Stepping 5, GenuineIntel system=Windows release=Windows-10-10.0.22631-SP0 python=3.11.9
Relevant log output
Backend
Diffusers
UI
Standard
Branch
Dev
Model
StableDiffusion XL
Acknowledgements