Closed tikendraw closed 1 year ago
Help me to resolve this good people of the internet. have you solve it ,i have a problem like this, in windows cuda 11.3 pytorch 1.10 and python 3.9 pip install https://github.com/neonsecret/xformers/releases/download/v0.14/xformers-0.0.14.dev0-cp39-cp39-win_amd64.whl
it's OK ? but when run ,have this error?
H:\Anaconda3\envs\sd_fast\python.exe H:/22.10.24Draw/stable-diffusion/optimizedSD/optimized_txt2img.py NOTE: Redirects are currently not supported in Windows or MacOs. Global seed set to 883403 Loading model from ../models/ldm/stable-diffusion-v1/model.ckpt Global Step: 470000 UNet: Running in eps-prediction mode CondStage: Running in eps-prediction mode FirstStage: Running in eps-prediction mode making attention of type 'vanilla' with 512 in_channels Working with z of shape (1, 4, 32, 32) = 4096 dimensions. making attention of type 'vanilla' with 512 in_channels Sampling: 0%| | 0/1 [00:00<?, ?it/s] data: 0%| | 0/1 [00:00<?, ?it/s] seeds used = [883403] Data shape for PLMS sampling is [1, 4, 64, 64] Running PLMS Sampling with 50 timesteps
PLMS Sampler: 0%| | 0/50 [00:00<?, ?it/s]WARNING:root:WARNING: [WinError 127] 找不到指定的程序。
[WinError 127] 找不到指定的程序。
Need to compile C++ extensions to get sparse attention suport. Please run python setup.py build develop
PLMS Sampler: 0%| | 0/50 [00:01<?, ?it/s]
data: 0%| | 0/1 [00:06<?, ?it/s]
Sampling: 0%| | 0/1 [00:06<?, ?it/s]
┌───────────────────── Traceback (most recent call last) ─────────────────────┐
│ H:\22.10.24Draw\stable-diffusion\optimizedSD\optimized_txt2img.py:410 in │
│ python setup.py develop
?
Process finished with exit code 1
The build process of xformers isn't exactly smart. This workaround helped me: https://github.com/AUTOMATIC1111/stable-diffusion-webui/discussions/3525#discussioncomment-3965024
Installing xformers==0.0.16
and cutlass
from pip helped me. It's way better than building xformers
Yes, we updated install instructions with release of 0.0.16. Pip/conda is the recommended way to go. (note that you don't need to install cutlass
)
Closing as I think it is resolved
I tried installing Stable Diffusion and Xformers . and ran into this
Help me to resolve this good people of the internet.