Closed MetaverseRPN closed 1 month ago
I know nothing about Python and am just muddled through. However, I do a lot of work with the Unreal Engine. Check whether you have the latest version of Microsoft Visual Studio on your PC. It could have something to do with that. Perhaps just the dlls are enough.
Does this even need Visual Studio to run?
I know nothing about Python and am just muddled through. However, I do a lot of work with the Unreal Engine. Check whether you have the latest version of Microsoft Visual Studio on your PC. It could have something to do with that. Perhaps just the dlls are enough.
You need to install Visual C++ Build Tools https://visualstudio.microsoft.com/visual-cpp-build-tools/ , but only this option
You need to install Visual C++ Build Tools https://visualstudio.microsoft.com/visual-cpp-build-tools/ , but only this option
This did in fact fix it TYSM!
You need to install Visual C++ Build Tools https://visualstudio.microsoft.com/visual-cpp-build-tools/ , but only this option
This was the fix for me as well. Same error as original issue.
Issue Description
Upon attempting to launch SD.NEXT on Windows 11, it errors out with WinError 126, specified Module could not be found. This appears to be related to this ongoing issue on https://github.com/pytorch/pytorch/issues/131662 which does provide a workaround with manually installing pytorch nightly, however this seems to break xformers as it does not get compiled with CUDA support. I have an NVIDIA GeForce RTX 4070 Ti, so it should work with CUDA. So I am not sure how best to resolve this on my end. Any assistance in applying this workaround or getting this fixed permanently would be greatly appreciated
Version Platform Description
Starting SD.Next 11:32:00-385827 INFO Logger: file="E:\AI\SDNext\sdnext.log" level=DEBUG size=65 mode=create 11:32:00-386831 INFO Python version=3.10.11 platform=Windows bin="E:\AI\SDNext\venv\Scripts\python.exe" venv="E:\AI\SDNext\venv" 11:32:01-006892 INFO Version: app=sd.next updated=2024-07-24 hash=a874b27e branch=master url=https://github.com/vladmandic/automatic.git/tree/master ui=main 11:32:11-633080 INFO Platform: arch=AMD64 cpu=AMD64 Family 25 Model 97 Stepping 2, AuthenticAMD system=Windows release=Windows-10-10.0.22631-SP0 python=3.10.11 11:32:11-634080 DEBUG Setting environment tuning 11:32:11-644132 INFO HF cache folder: C:\Users\nicho.cache\huggingface\hub 11:32:11-645133 DEBUG Torch allocator: "garbage_collection_threshold:0.80,max_split_size_mb:512" 11:32:11-645133 DEBUG Torch overrides: cuda=False rocm=False ipex=False diml=False openvino=False 11:32:11-646132 DEBUG Torch allowed: cuda=True rocm=True ipex=True diml=True openvino=True 11:32:11-647132 INFO nVidia CUDA toolkit detected: nvidia-smi present 11:32:11-648133 INFO Install: package="onnxruntime-gpu" mode=pip 11:32:11-648133 DEBUG Running: pip="install --upgrade onnxruntime-gpu" 11:32:14-885793 INFO Install: package="torch torchvision --index-url https://download.pytorch.org/whl/cu121" mode=pip 11:32:14-886793 DEBUG Running: pip="install --upgrade torch torchvision --index-url https://download.pytorch.org/whl/cu121" 11:33:41-357069 INFO Install: package="--pre xformers" mode=pip 11:33:41-358068 DEBUG Running: pip="install --upgrade --no-deps --pre xformers" 11:34:32-175122 DEBUG Cannot install xformers package: [WinError 126] The specified module could not be found. Error loading "E:\AI\SDNext\venv\lib\site-packages\torch\lib\fbgemm.dll" or one of its dependencies. 11:34:32-334228 INFO Forcing reinstall of all packages 11:34:32-386921 INFO Verifying requirements 11:34:32-390429 INFO Verifying packages 11:34:32-391429 INFO Install: package="git+https://github.com/openai/CLIP.git" mode=pip 11:34:32-392430 DEBUG Running: pip="install --upgrade git+https://github.com/ope
Relevant log output
Backend
Original
UI
Standard
Branch
Master
Model
StableDiffusion 1.5
Acknowledgements