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

更新前后运行webui时都有出错问题 #38

Open
komichi-bot opened this issue Dec 14, 2023 · 7 comments
Open

更新前后运行webui时都有出错问题 #38

komichi-bot opened this issue Dec 14, 2023 · 7 comments

Comments

@komichi-bot
Copy link

无论是使用1.60还是1.51都有不同的错误
这是使用1.51时候的报错
QQ截图20231215054208
QQ截图20231215054217
使用1.60的时候可以生成链接,但是无法生成图片
1 60
1 60 3
1 60 2
1 60 1

@komichi-bot
Copy link
Author

问题应该还是出现在pytorch上,以前解决过,但是我对这个了解不多,这次试了一晚上也没搞定
WARNING:xformers:WARNING[XFORMERS]: xFormers can't load C++/CUDA extensions. xFormers was built for:
PyTorch 2.1.0+cu118 with CUDA 1108 (you have 2.1.0+cu121)
Python 3.10.13 (you have 3.10.12)
Please reinstall xformers (see https://github.com/facebookresearch/xformers#installing-xformers)
Memory-efficient attention, SwiGLU, sparse and more won't be available.
Set XFORMERS_MORE_DETAILS=1 for more details
Tag Autocomplete: Could not locate model-keyword extension, Lora trigger word completion will be limited to those added through the extra networks menu.
ControlNet preprocessor location: /content/stable-diffusion-webui/extensions/sd-webui-controlnet/annotator/downloads
2023-12-14 23:25:34,580 - ControlNet - INFO - ControlNet v1.1.422
2023-12-14 23:25:34,836 - ControlNet - INFO - ControlNet v1.1.422
ui config file not found, using default values
sd-webui-prompt-all-in-one background API service started successfully.

@komichi-bot
Copy link
Author

通宵解决了这个问题,直接install torch==2.1.0会弹^C,所以这里直接把whl文件下载到colab里面进行安装
!pip uninstall -y torch torchvision torchaudio
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M -d /content -o torch-2.1.0+cu118-cp310-cp310-linux_x86_64.whl https://download.pytorch.org/whl/cu118/torch-2.1.0%2Bcu118-cp310-cp310-linux_x86_64.whl#sha256=a81b554184492005543ddc32e96469f9369d778dedd195d73bda9bed407d6589
!pip3 install /content/torch-2.1.0+cu118-cp310-cp310-linux_x86_64.whl
!pip3 install torchvision torchaudio==2.1.0 --index-url https://download.pytorch.org/whl/cu118
笨办法,自己先这样用

@komichi-bot
Copy link
Author

但是用1.51时候会报红框还是没修好

@s4afa451dgf415f
Copy link
Owner

我之前提交前测的还没问题,谷歌一直在更torch,118更到了121。你再看下好了没。我不愿意直接强制卸载再装是因为安装troch几个G要1分钟,有点浪费时间。晚上我问问谷歌能不能同时更新torch和xformer面得一直出问题。

@komichi-bot
Copy link
Author

辛苦了大佬,在使用automatic原版v1.5.1的时候,会出现KeyError: 'tagger图生文'这个问题还是存在,目测不是torch的问题。不知道其他用户用没用这样的情况。这个Error只会在最近更新的几个版本里存在,在之前的版本中,修复了torch版本问题之后可以正常运行。
具体是哪个版本的话,是放弃抵抗colab审查后,没有更新1.6.0之前的那个版本

@bbb555555
Copy link

!pip install --pre -U xformers
我好像用这个可以解决问题
tagger插件没更新了新版没支援报错要关掉
有人用IMG2IMG会常常停顿的吗?文生图很快但图生图就常常卡住

@s4afa451dgf415f
Copy link
Owner

!pip install --pre -U xformers 我好像用这个可以解决问题 tagger插件没更新了新版没支援报错要关掉 有人用IMG2IMG会常常停顿的吗?文生图很快但图生图就常常卡住

tagger换人了,是好的,torch前几天也修好了。你需要重新从git打开笔记本,不过tagger我写的js那部分出了问题,回滚前是删了的,回滚之后没注意,,刚刚删了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants