stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

[Bug]: Repository not found: Stability-AI/stablediffusion (public clone fails)

Open AlexeyMRX opened this issue 2 weeks ago • 25 comments

Checklist

  • [ ] The issue exists after disabling all extensions
  • [x] The issue exists on a clean installation of webui
  • [ ] The issue is caused by an extension, but I believe it is caused by a bug in the webui
  • [ ] The issue exists in the current version of the webui
  • [x] The issue has not been reported before recently
  • [ ] The issue has been reported before but has not been fixed yet

What happened?

When trying to install Stable Diffusion WebUI on Ubuntu 24.04, the installation script fails with the error: "remote: Repository not found. fatal: repository 'https://github.com/Stability-AI/stablediffusion.git/' not found". This happens even when using a GitHub Personal Access Token. The installation cannot proceed because the required repository is not accessible.

Python 3.11.14 (main, Oct 10 2025, 08:54:04) [GCC 13.3.0]
Version: v1.10.1
Commit hash: 82a973c04367123ae98bd9abdf80d9eda9b910e2
Cloning Stable Diffusion into /home/aleksei/stable-diffusion/stable-diffusion-webui/repositories/stable-diffusion-stability-ai...
Cloning into '/home/aleksei/stable-diffusion/stable-diffusion-webui/repositories/stable-diffusion-stability-ai'...
Username for 'https://github.com': *****
Password for 'https://*****': 
remote: Repository not found.
fatal: repository 'https://github.com/Stability-AI/stablediffusion.git/' not found
Traceback (most recent call last):
  File "/home/aleksei/stable-diffusion/stable-diffusion-webui/launch.py", line 48, in <module>
    main()
  File "/home/aleksei/stable-diffusion/stable-diffusion-webui/launch.py", line 39, in main
    prepare_environment()
  File "/home/aleksei/stable-diffusion/stable-diffusion-webui/modules/launch_utils.py", line 412, in prepare_environment
    git_clone(stable_diffusion_repo, repo_dir('stable-diffusion-stability-ai'), "Stable Diffusion", stable_diffusion_commit_hash)
  File "/home/aleksei/stable-diffusion/stable-diffusion-webui/modules/launch_utils.py", line 192, in git_clone
    run(f'"{git}" clone --config core.filemode=false "{url}" "{dir}"', f"Cloning {name} into {dir}...", f"Couldn't clone {name}", live=True)
  File "/home/aleksei/stable-diffusion/stable-diffusion-webui/modules/launch_utils.py", line 116, in run
    raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't clone Stable Diffusion.
Command: "git" clone --config core.filemode=false "https://github.com/Stability-AI/stablediffusion.git" "/home/aleksei/stable-diffusion/stable-diffusion-webui/repositories/stable-diffusion-stability-ai"
Error code: 128

Steps to reproduce the problem

Install dependencies:

sudo apt install wget git python3 python3-venv libgl1 libglib2.0-0

Install Python 3.11:

sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
sudo apt install python3.11

Create a new directory and download the webui.sh script:

mkdir stable-diffusion
cd stable-diffusion
wget -q https://raw.githubusercontent.com/AUTOMATIC1111/stable-diffusion-webui/master/webui.sh
chmod +x webui.sh

Run the installation script:

./webui.sh

`The script will attempt to clone the repository https://github.com/Stability-AI/stablediffusion.git, but it will fail with the error: "remote: Repository not found. fatal: repository 'https://github.com/Stability-AI/stablediffusion.git/' not found".

What should have happened?

The installation script should have successfully cloned the required Stable Diffusion repository and continued with the setup.

What browsers do you use to access the UI ?

No response

Sysinfo

Unable to generate sysinfo file because WebUI fails to start due to repository not found error. If needed, I can provide system details manually (Ubuntu 24.04, Python 3.11, RTX 5070 Ti).

Console logs

aleksei@ubusteam:~/stable-diffusion$ ./webui.sh

################################################################
Install script for stable-diffusion + Web UI
Tested on Debian 11 (Bullseye), Fedora 34+ and openSUSE Leap 15.4 or newer.
################################################################

################################################################
Running on aleksei user
################################################################

################################################################
Create and activate python venv
################################################################

################################################################
Launching launch.py...
################################################################
glibc version is 2.39
Cannot locate TCMalloc. Do you have tcmalloc or google-perftool installed on your system? (improves CPU memory usage)
Python 3.11.14 (main, Oct 10 2025, 08:54:04) [GCC 13.3.0]
Version: v1.10.1
Commit hash: 82a973c04367123ae98bd9abdf80d9eda9b910e2
Cloning Stable Diffusion into /home/aleksei/stable-diffusion/stable-diffusion-webui/repositories/stable-diffusion-stability-ai...
Cloning into '/home/aleksei/stable-diffusion/stable-diffusion-webui/repositories/stable-diffusion-stability-ai'...
Username for 'https://github.com': ****
Password for 'https://****github.com': 
remote: Repository not found.
fatal: repository 'https://github.com/Stability-AI/stablediffusion.git/' not found
Traceback (most recent call last):
  File "/home/aleksei/stable-diffusion/stable-diffusion-webui/launch.py", line 48, in <module>
    main()
  File "/home/aleksei/stable-diffusion/stable-diffusion-webui/launch.py", line 39, in main
    prepare_environment()
  File "/home/aleksei/stable-diffusion/stable-diffusion-webui/modules/launch_utils.py", line 412, in prepare_environment
    git_clone(stable_diffusion_repo, repo_dir('stable-diffusion-stability-ai'), "Stable Diffusion", stable_diffusion_commit_hash)
  File "/home/aleksei/stable-diffusion/stable-diffusion-webui/modules/launch_utils.py", line 192, in git_clone
    run(f'"{git}" clone --config core.filemode=false "{url}" "{dir}"', f"Cloning {name} into {dir}...", f"Couldn't clone {name}", live=True)
  File "/home/aleksei/stable-diffusion/stable-diffusion-webui/modules/launch_utils.py", line 116, in run
    raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't clone Stable Diffusion.
Command: "git" clone --config core.filemode=false "https://github.com/Stability-AI/stablediffusion.git" "/home/aleksei/stable-diffusion/stable-diffusion-webui/repositories/stable-diffusion-stability-ai"
Error code: 128
aleksei@ubusteam:~/stable-diffusion$

Additional information

No response

AlexeyMRX avatar Dec 16 '25 20:12 AlexeyMRX

Same issue here, the repository does not seem to exist on github anymore: https://github.com/Stability-AI/stablediffusion.git Delivers a 404 page not found error

bauerwer avatar Dec 16 '25 21:12 bauerwer

It seems to have been just changed to private or closed since every search engine i try comes up with the repository as the number 1 result

As a temporary solution I changed the url and hash of the repo to a fork that was made quite recently, the file to edit is in the modules folder and the file to edit is launch_utils.py

Exact lines are 349 and 355

stable_diffusion_repo = os.environ.get('STABLE_DIFFUSION_REPO', "https://github.com/Stability-AI/stablediffusion.git") stable_diffusion_commit_hash = os.environ.get('STABLE_DIFFUSION_COMMIT_HASH', "cf1d67a6fd5ea1aa600c4df58e5b47da45f6bdbf")

Change to

stable_diffusion_repo = os.environ.get('STABLE_DIFFUSION_REPO', "https://github.com/Kantyadoram/stable-diffusion-stability-ai.git") stable_diffusion_commit_hash = os.environ.get('STABLE_DIFFUSION_COMMIT_HASH', "7435a5be1050962a936a4ef624b43814ee8824a8")

This is in no way a permanent solution. I don't know the dev behind that repository.

DO THIS AT YOUR OWN RISK !!!!

BlackCharon142 avatar Dec 16 '25 22:12 BlackCharon142

It seems to have been just changed to private or closed since every search engine i try comes up with the repository as the number 1 result

As a temporary solution I changed the url and hash of the repo to a fork that was made quite recently, the file to edit is in the modules folder and the file to edit is launch_utils.py

Exact lines are 349 and 355

stable_diffusion_repo = os.environ.get('STABLE_DIFFUSION_REPO', "https://github.com/Stability-AI/stablediffusion.git") stable_diffusion_commit_hash = os.environ.get('STABLE_DIFFUSION_COMMIT_HASH', "cf1d67a6fd5ea1aa600c4df58e5b47da45f6bdbf")

Change to

stable_diffusion_repo = os.environ.get('STABLE_DIFFUSION_REPO', "https://github.com/Kantyadoram/stable-diffusion-stability-ai.git") stable_diffusion_commit_hash = os.environ.get('STABLE_DIFFUSION_COMMIT_HASH', "7435a5be1050962a936a4ef624b43814ee8824a8")

This is in no way a permanent solution. I don't know the dev behind that repository.

DO THIS AT YOUR OWN RISK !!!!

it's safer replacing it in the ~~webui.sh~~ (correction: there are multiple files for this purpose already, suggested is webui-user.sh) or wrap the sh with another sh file setting the envs

marco-porru avatar Dec 16 '25 23:12 marco-porru

I found a fork that has a commit that matches the last hash from the official repo:

https://github.com/joypaul162/Stability-AI-stablediffusion

Commit hash: f16630a927e00098b524d687640719e4eb469b76

So this one is an exact match for the original, you should be able to change only the URL to https://github.com/joypaul162/Stability-AI-stablediffusion.git and leave the commit hash as it was.

thenickdude avatar Dec 17 '25 01:12 thenickdude

Thanks Nick, that modification in modules/launch_utils.py fixed the issue for me.

Galvinox avatar Dec 17 '25 03:12 Galvinox

Thanks Nick, worked for me too

I found a fork that has a commit that matches the last hash from the official repo:

https://github.com/joypaul162/Stability-AI-stablediffusion

Commit hash: f16630a927e00098b524d687640719e4eb469b76

So this one is an exact match for the original, you should be able to change only the URL to https://github.com/joypaul162/Stability-AI-stablediffusion.git and leave the commit hash as it was.

Thanks, worked for me too

Edderou avatar Dec 17 '25 03:12 Edderou

I found a fork that has a commit that matches the last hash from the official repo:

https://github.com/joypaul162/Stability-AI-stablediffusion

Commit hash: f16630a927e00098b524d687640719e4eb469b76

So this one is an exact match for the original, you should be able to change only the URL to https://github.com/joypaul162/Stability-AI-stablediffusion.git and leave the commit hash as it was.

Thanks, I added the following to webui-user.bat:

set STABLE_DIFFUSION_REPO=https://github.com/joypaul162/Stability-AI-stablediffusion.git
set STABLE_DIFFUSION_COMMIT_HASH=f16630a927e00098b524d687640719e4eb469b76

and ran run.bat again. This fixed the issue for me.

ferrique avatar Dec 17 '25 03:12 ferrique

I am alos running Stable Diffusion WebUI (but on Windows 11), and I am facing the same problem with the "stable-diffusion-stability-ai" repository not being found. Hopefully, the official team can make improvements. QAQ

wateryuen avatar Dec 17 '25 10:12 wateryuen

This is from a reddit post from a month ago and could be related to the repositories here and on huggingface going down:

StableITAdmin posted the following message a day after the platform was brought down:

"...it looks like our team has decided to deprecate SD 2.0 and 2.1. We were told this official statement:

'We have officially deprecated Stable Diffusion 2.0 and 2.1. This is part of our effort to clean up and consolidate our model offering and to get ahead of upcoming compliance requirements for the EU AI Act in 2026. These models have been outpaced by newer architectures that offer far stronger performance, safety, and alignment, and continuing to maintain them does not fit our long-term roadmap.

'If you currently rely on SD 2.0 or 2.1 for an active business use case, please reach out and share your workflow and requirements. While these models will no longer be part of our public lineup, we want to make sure that any legitimate business dependencies are surfaced so we can explore the right path forward with you.'

azolash avatar Dec 17 '25 12:12 azolash

I found a fork that has a commit that matches the last hash from the official repo:

https://github.com/joypaul162/Stability-AI-stablediffusion

Commit hash: f16630a927e00098b524d687640719e4eb469b76

So this one is an exact match for the original, you should be able to change only the URL to https://github.com/joypaul162/Stability-AI-stablediffusion.git and leave the commit hash as it was.

I also just forked if anyone needs a backup option, same commit hash.

https://github.com/glens/Stability-AI-stablediffusion.git

glens avatar Dec 18 '25 07:12 glens

  • https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/17207

w-e-w avatar Dec 18 '25 11:12 w-e-w

i changed the git url the commit hash, nothing is happening, not able to run this, please anyone help

zsyborg avatar Dec 19 '25 03:12 zsyborg

I found a fork that has a commit that matches the last hash from the official repo:

https://github.com/joypaul162/Stability-AI-stablediffusion

Commit hash: f16630a927e00098b524d687640719e4eb469b76

So this one is an exact match for the original, you should be able to change only the URL to https://github.com/joypaul162/Stability-AI-stablediffusion.git and leave the commit hash as it was.

Thanks bro, it helps

crowthek4 avatar Dec 20 '25 06:12 crowthek4

  • https://github.com/AUTOMATIC1111/stable-diffusion-webui/discussions/17212

w-e-w avatar Dec 20 '25 09:12 w-e-w

File "D:\stable-diffusion-portable-main\venv\lib\site-packages\torch_meta_registrations.py", line 5351, in zeros_like res.fill_(0) torch.AcceleratorError: CUDA error: no kernel image is available for execution on the device Search for cudaErrorNoKernelImageForDevice' in https://docs.nvidia.com/cuda/cuda-runtime-api/group__CUDART__TYPES.html for more information. CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect. For debugging consider passing CUDA_LAUNCH_BLOCKING=1 Compile with TORCH_USE_CUDA_DSA` to enable device-side assertions.

It gave me this error, but it ran in the browser. Images aren't generated.

asnmsi77-glitch avatar Dec 21 '25 11:12 asnmsi77-glitch

I think SD2 has long been used in both AIGC community and AI research community. I hope even if stabilityai take it down, the community is going to maintain an official repo of SD2 including checkpoints, codes etc. (also I want SD1.4 SD1.5 back)

I have both sd2-1-base and sd1-5-base checkpoints locally , contact me if any need it.

Bili-Sakura avatar Dec 22 '25 09:12 Bili-Sakura

Hello, is it neccessarry to download that Repo if I downloaded my own model from Huggingface? Could I just completely disable cloning it?

axoking avatar Dec 22 '25 10:12 axoking