stable-diffusion-webui
stable-diffusion-webui copied to clipboard
[Bug]: couldnt clone taming transformers
Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
What happened?
trying to install stable diffusion and automatic1111 for the first time, but it keeps showing me this error even after restarting my pc
Steps to reproduce the problem
- Go to stable-diffusion-webui in User
- Press webui.bat
- wait for cloning taming transformers to start
What should have happened?
should have continued to install the Stable diffusion UI
Commit where the problem happens
4b3c5bc24bffdf429c463a465763b3077fe55eb8
What platforms do you use to access UI ?
Windows
What browsers do you use to access the UI ?
Google Chrome
Command Line Arguments
No response
Additional information, context and logs
venv "C:\Users\Riyad2\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Commit hash: 4b3c5bc24bffdf429c463a465763b3077fe55eb8
Cloning Taming Transformers into repositories\taming-transformers...
Traceback (most recent call last):
File "C:\Users\Riyad2\stable-diffusion-webui\launch.py", line 293, in
Press any key to continue . . .
i have same problem please help
same problem :( was a solution found?
I had the same problem, I cloned the repo manually: git clone https://github.com/CompVis/taming-transformers.git taming-transformers/ and then launch could continue
Thanks, this worked for me too! For anyone else: don't forget to clone into the "repositories" sub-directory.
I have done everything you guys mentioned, but when I pressed webui.bat, it was still blocked. Could anyone help?
Fetching updates for Taming Transformers...
Traceback (most recent call last):
File "D:\Stable Diffusion\stable-diffusion-webui\launch.py", line 360, in
I have exactly the same error. Can you please explain in more detail how to fix it?
@esteenput how to clone a repository manually?
@yuriy777sam on windows: open git bash, cd to the "repositories" directory under "Stable Diffusion" and run "git clone https://github.com/CompVis/taming-transformers.git taming-transformers/", then re-run launch like before
i have the same error. when i download the https://github.com/CompVis/taming-transformers.git code by myself, and set it into repositories/taming-transformers
then i exe the commond './webui.sh'
it check the code and give me a new error like that
'
Command: "git" -C "repositories/taming-transformers" checkout 24268930bf1dce879235a7fddd0b2355b84d7ea6
Error code: 128
stdout:
' who know the reason?
i have the same error. when i download the https://github.com/CompVis/taming-transformers.git code by myself, and set it into repositories/taming-transformers then i exe the commond './webui.sh' it check the code and give me a new error like that ' Command: "git" -C "repositories/taming-transformers" checkout 24268930bf1dce879235a7fddd0b2355b84d7ea6 Error code: 128 stdout: stderr: 致命错误:引用不是一个树:24268930bf1dce879235a7fddd0b2355b84d7ea6
' who know the reason?
Is it solved, please?
who know the reason?
I use git clone
instead of download, the error is disappeared
i have the same error. when i download the https://github.com/CompVis/taming-transformers.git code by myself, and set it into repositories/taming-transformers then i exe the commond './webui.sh' it check the code and give me a new error like that ' Command: "git" -C "repositories/taming-transformers" checkout 24268930bf1dce879235a7fddd0b2355b84d7ea6 Error code: 128 stdout: stderr: 致命错误:引用不是一个树:24268930bf1dce879235a7fddd0b2355b84d7ea6
' who know the reason? 进入stable-diffusion-webui\repositories,删除taming-transformers,重新下载即可
首先cmd 输入 ping github.com, 看是否能链接成功 如果链接不成功 输入//取消http代理 git config --global --unset http.proxy //取消https代理 git config --global --unset https.proxy 并在hosts文件添加 192.30.255.112 github.com git 185.31.16.184 github.global.ssl.fastly.net 保存 并刷新DNS: ipconfig /flushdns 如果是其他情况救不了jie了,坑了一下午
it seems like it might be an internet or antivirus issue. Deactivating my antivirus solved it for me.
I had the same problem, I cloned the repo manually: git clone https://github.com/CompVis/taming-transformers.git taming-transformers/ and then launch could continue
where to place the file ?
Cloning into '/stable-diffusion-webui/repositories/taming-transformers'...
My problems:
error: RPC failed; curl 18 HTTP/2 stream 5 was reset5.00 KiB/s error: 6186 bytes of body are still expected fetch-pack: unexpected disconnect while reading sideband packet fatal: early EOF fatal: fetch-pack: invalid index-pack output ./webui.sh: line 196: cd: stable-diffusion-webui/: No such file or directory
The solution is as follows:
- 1.To increase the buffer size of the repository, use the command:
git config --global http.postBuffer 524288000
Check if it's set successfully:
git config –list | grep postbuffer
- 2.The crucial point is that the network environment needs to be relatively fast. If you encounter this problem during the day or night, try running the program again the next morning. I firmly believe it's a network issue.
- 3.Git, by default, enables SSL verification. To disable SSL verification, use the following commands:
git config --global http.sslVerify "false"
git config --global https.sslVerify "false"
References: https://blog.csdn.net/weixin_41872403/article/details/86769287 https://blog.csdn.net/weixin_67276852/article/details/136519144 More questions: https://zhuanlan.zhihu.com/p/637067918 https://zhuanlan.zhihu.com/p/634887149 I hope this can help everyone