Unique3D icon indicating copy to clipboard operation
Unique3D copied to clipboard

Error connecting to the stable diffusion respository

Open justin1230 opened this issue 1 year ago • 6 comments

Couldn't connect to the Hub: 401 Client Error. (Request ID: Root=1-66d19326-2f1f18937689e5ee3b0c5308;509ffcf1-2502-4014-ac86-8996368fa1e7)

Repository Not Found for url: https://hf-mirror.com/api/models/runwayml/stable-diffusion-v1-5. Please make sure you specified the correct repo_id and repo_type. If you are trying to access a private or gated repo, make sure you are authenticated. Invalid username or password.. Will try to load from local cache.

is there any alternative and how to edit?

justin1230 avatar Aug 30 '24 09:08 justin1230

author has remove this repo https://huggingface.co/runwayml/stable-diffusion-v1-5

so use this one which i tested works: ZeroCool94/stable-diffusion-v1-5

there are 3 places you need to change

app\all_models.py: 9: base_model = "runwayml/stable-diffusion-v1-5"

custum_3d_diffusion\custum_modules\unifield_processor.py: 73: init_unet_path: str = "runwayml/stable-diffusion-v1-5"

scripts\sd_model_zoo.py: 7: DEFAULT_BASE_MODEL = "runwayml/stable-diffusion-v1-5"

Linux command: find . -type f -exec sed -i 's/runwayml/stable-diffusion-v1-5/ZeroCool94/stable-diffusion-v1-5/g' {} +

orientalnipper avatar Aug 30 '24 17:08 orientalnipper

it works, thanks.!!

justin1230 avatar Aug 30 '24 18:08 justin1230

Hi @justin1230 @orientalnipper this solve the attempting to load the lambdalabs/sd-image-variations-diffusers model? The file diffusion_pytorch_model.safetensors is missing

josepmy avatar Aug 30 '24 21:08 josepmy

hi @josepmy as far a I know it would still work, just not so safe as .bin file could be injected with malicious code if it did not find .safetensors it will just use .bin available

orientalnipper avatar Aug 31 '24 02:08 orientalnipper

Do you were able to replace stable-diffusion-1.5 with more recent models like stable diffusion 3 or Flux.1?

mattia-z avatar Aug 31 '24 15:08 mattia-z

@mattia-z interesting, should be possible for SD3.0 but the hard part is tune the pipeline settings for SD3.0, I'm not an expert but you can test and share the results. Also, SD30 involves updating diffusers too Maybe @justin1230 @orientalnipper any thoughts about this?

josepmy avatar Sep 16 '24 23:09 josepmy