Python版本问题 运行时直接报错,找不到对应版本的pytorch等错误
解决:
python版本安装3.10.x,不要使用最新的3.11+ xformer库报错 No module 'xformers'. Proceeding without it 解决:
# 升级python或者某些情况会出现,需要在web-ui.bat(linux为sh)中添加启动参数 '--reinstall-xformers --xformers' # 原 :launch %PYTHON% launch.py %* pause exit /b # 修改为 :launch %PYTHON% launch.py %* --reinstall-xformers --xformers pause exit /b # 运行后会重新安装xformers,安装完后删除此参数 运行时卡在DiffusionWrapper has 859.52 M params. 解决:
# 找到venv\Lib\site-packages\huggingface_hub\file_download.py文件中下面部分代码 # From now on, etag and commit_hash are not None. assert etag is not None, "etag must have been retrieved from server" assert commit_hash is not None, "commit_hash must have been retrieved from server" blob_path = os.
Continue reading