Unable to upload models to Stable Diffusion.

Hi Team, These days, I am unable to upload models to Stable Diffusion using CIVITAI or Google Drive. Curl -O -J -L doesn't work. Wget doesn't work too. Gdown doesn't work either. Please assist. Thanks!
81 Replies
justin
justin11mo ago
can u give more information why doesn't work? isnt wget to download? and stuff? and like share information and errors? and what are u trying to do?
Sheikh Sammiuddin
Sheikh SammiuddinOP11mo ago
Sure, I deploy a GPU COMMUNITY POD RTX 3090. Everything works out well with Jupyter Notebook ready. Then I follow the usual steps to download models from CIVITAI into the Stable Diffusion Models folder. It used to work earlier. But these days, it won't. I do the same with my own Models from Google Drive. Regarding the error message, I am sorry, I just deleted the pod in frustration.
justin
justin11mo ago
are u trying to download? Well for civitai are u authorized to download it? sometimes on civitai authors have changed it where u need an authentication key when making a request for gdown i cant say tbh make sure u are updated the latest i guess
Sheikh Sammiuddin
Sheikh SammiuddinOP11mo ago
I try to download the Epic Realism SD 1.5 MODEL from CIVITAI
justin
justin11mo ago
there was a version of gdown that kept through some issue Yea tbh, I can't say, what is the command ur running? can u share that
Sheikh Sammiuddin
Sheikh SammiuddinOP11mo ago
Updated what?
justin
justin11mo ago
The latest version of gdrive *gdown
Sheikh Sammiuddin
Sheikh SammiuddinOP11mo ago
Ahh okay, app is always updated. I will however double check.
justin
justin11mo ago
Yeah, id also say that civitai, again, some authors require u to do an authentication key https://www.reddit.com/r/StableDiffusion/comments/19f8wdm/need_help_with_civitai_model_download/
ashleyk
ashleyk11mo ago
My templates all have a working version of gdown, I guess @Justin Merrell needs to rebuild the RunPod ones to solve the broken gdown issue.
justin
justin11mo ago
I mean check the version using gdown --version
justin
justin11mo ago
https://github.com/wkentaro/gdown/issues/291 This was a while ago, maybe runpod's is updated but there was an issue i remember affecting runpod ppl about a month or two ago
GitHub
AttributeError: 'NoneType' object has no attribute 'groups' · Issue...
Provide environment information /Users/benc/.pyenv/shims/python Python 3.10.6 gdown 4.7.1 What OS are you using? macOS Ventura 13.1 (M1) Describe the Bug Traceback (most recent call last): File &qu...
ashleyk
ashleyk11mo ago
You can also use curl to download directly to your pod:
curl -LOJH "Authorization: Bearer xxxxxx" https://civitai.com/api/download/models/143906?type=Model&format=SafeTensor&size=pruned&fp=fp16
curl -LOJH "Authorization: Bearer xxxxxx" https://civitai.com/api/download/models/143906?type=Model&format=SafeTensor&size=pruned&fp=fp16
Using your API token you create on CivitAI.
justin
justin11mo ago
^yea make sure ur using auth keys too
ashleyk
ashleyk11mo ago
Runpod Stable Diffusion template is very old, it has broken version of gdown, ancient ControlNet etc
justin
justin11mo ago
Yea so might want to update it
ashleyk
ashleyk11mo ago
If you are using stable diffusion webui, just use one of my templates, they are all latest of everything I also have a forge template that is supposedly faster than A1111
Sheikh Sammiuddin
Sheikh SammiuddinOP11mo ago
Ahh thanks!
justin
justin11mo ago
ashelyk's community repos: https://github.com/ashleykleynhans
GitHub
ashleykleynhans - Overview
DevOps Engineer. ashleykleynhans has 100 repositories available. Follow their code on GitHub.
justin
justin11mo ago
but yea maybe just try to update it gdown has a lot of issues all the time tbh hhh from what i can tell xD i dont use it mostly prob bc google updates a lot LOL
ashleyk
ashleyk11mo ago
It doesn't
justin
justin11mo ago
ah ok lol
ashleyk
ashleyk11mo ago
it was fine until Google changed something
justin
justin11mo ago
yea
ashleyk
ashleyk11mo ago
then they released a fix for it quickly
justin
justin11mo ago
but yea just update hopefully should be good hopefully the auth key also fixes ur issue guess im just not a fan of gdrive as a cli storage lol. but i get its convenient / easy
Sheikh Sammiuddin
Sheikh SammiuddinOP11mo ago
Which one is yours on run pod? I see one Stabls Diffusion and another Fast Stable Diffusion
ashleyk
ashleyk11mo ago
Neither, those are RunPod ones
Sheikh Sammiuddin
Sheikh SammiuddinOP11mo ago
Ahh, you have a standalone template to be downloaded to a laptop or PC?
ashleyk
ashleyk11mo ago
No description
ashleyk
ashleyk11mo ago
I mean RunPod managed templates, check under community section
justin
justin11mo ago
No, he has templates on github, that he made public which u can find on runpod to deploy urself 🙂 basically runpod lets u create community templates that others can use and find so he makes a lot of them and he has also great resources on his github of a bunch of things around runpod
Sheikh Sammiuddin
Sheikh SammiuddinOP11mo ago
Okay, will try all the above steps on Monday Thank you Team
ashleyk
ashleyk11mo ago
This is the Forge one
No description
justin
justin11mo ago
just community members to be clear xD, in case u ever get confused, only purple is staff but me / ashelyk just active haha
Sheikh Sammiuddin
Sheikh SammiuddinOP11mo ago
👍
justin
justin11mo ago
but gl gl
Sheikh Sammiuddin
Sheikh SammiuddinOP11mo ago
@ashleyk Hi, i just tried Forge template, it's charming!! Got the realistic vision pre-installed and I could quickly render few test images Did not try downloading CIVITAI models. Will try on Monday @ashleyk I have DMed you requesting some help. Hi, Is there a tutorial for downloading MODELS from the updated CIVITAI into your RunPod instance?
justin
justin11mo ago
https://discord.com/channels/912829806415085598/1208261602315345951 No but there is a reddit post that you can refer too or search online I wrote about it here which the reddit post points out some more things on how to do it
Sheikh Sammiuddin
Sheikh SammiuddinOP11mo ago
Cool, thanks So I replace the "xxxxxx" with my API token? Thanks buddy! But all of sudden your Forge template says "no such image exists..." I will check with templates from other people and let you know
ashleyk
ashleyk11mo ago
The image does exist.
Sheikh Sammiuddin
Sheikh SammiuddinOP11mo ago
Retrying
ashleyk
ashleyk11mo ago
Working fine for me.
No description
Sheikh Sammiuddin
Sheikh SammiuddinOP11mo ago
Yeah, nice working. Had to delete my pod
wufl5528
wufl552810mo ago
how can I use your template?
ashleyk
ashleyk10mo ago
Which template? There are lots. Go to Explore and then you can browse templates under the Community section.
Sheikh Sammiuddin
Sheikh SammiuddinOP10mo ago
Hey @ashleyk , I am using your Forge template. It says ADetailer is installed already. But I don't see it in txt2img tab. How do I enable it please?
ashleyk
ashleyk10mo ago
Oh thats an error I think, I didn't install ADetailer in the Forge template.
Sheikh Sammiuddin
Sheikh SammiuddinOP10mo ago
Strange!!
ashleyk
ashleyk10mo ago
Where did you see ADetailer?
Sheikh Sammiuddin
Sheikh SammiuddinOP10mo ago
I go to "Extensions" and then "Installed" At the bottom, it says ADetailer with blue checkbox ticked Date says 23,Jan 2024
ashleyk
ashleyk10mo ago
You are its Forge and not A1111?
Sheikh Sammiuddin
Sheikh SammiuddinOP10mo ago
Now I am confused. I type Forge in Explore and then get only yours template. So I deploy it on GPU cloud But it appears hugely similar or exactly like A1111
ashleyk
ashleyk10mo ago
What does it say at the bottom of the Web UI interface?
Sheikh Sammiuddin
Sheikh SammiuddinOP10mo ago
version: f0.0.16v1.8.0rc-latest-268-gb59deaa3  •  python: 3.10.12  •  torch: 2.1.2+cu121  •  xformers: 0.0.23.post1  •  gradio: 3.41.2  •  checkpoint: 15012c538f
ashleyk
ashleyk10mo ago
Oh yeah thats Forge, I don't know where ADetailer came from.
Sheikh Sammiuddin
Sheikh SammiuddinOP10mo ago
Sorry
ashleyk
ashleyk10mo ago
I'll spin it up and take a look
Sheikh Sammiuddin
Sheikh SammiuddinOP10mo ago
Thanks
ashleyk
ashleyk10mo ago
Its not pre-installed on a fresh pod.
No description
ashleyk
ashleyk10mo ago
Definitely not installed, you sure you didn't install it? 23 Jan is the last time the extension was updated.
No description
ashleyk
ashleyk10mo ago
After I install it in the Web UI, it looks fine
No description
ashleyk
ashleyk10mo ago
By the way, it doesn't work properly at the moment in Forge because its only on the dev branch of Adetailer apparently. So you will need to install it manually if you want to use it with Forge: https://github.com/lllyasviel/stable-diffusion-webui-forge/issues/93
GitHub
ADetailer ControlNet support · Issue #93 · lllyasviel/stable-diffus...
Checklist The issue exists after disabling all extensions 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...
nimbot
nimbot10mo ago
How does one open Jupiter from the Forge template? I was using the TheLastBen template which loaded Jupiter on a separate port when deploying the server, and don't know how to start it otherwise
ashleyk
ashleyk10mo ago
What do you mean? Are you using the Forge template or TheLastBen's Fast Stable Diffusion template? You can't use both on a single pod.
nimbot
nimbot10mo ago
I'm using the Forge template. On a different pod (that I use to train Dreambooth) I'm using TheLastBen's. But with the Forge Template, I can figure out how to open Jupiter (or another UI in which I can open multiple terminals, see the file structure, etc)
ashleyk
ashleyk10mo ago
Read the README, Jupyter is on port 8888.
nimbot
nimbot10mo ago
Thank you. It's all in there. Is there a way to see log output of the Forge UI itself? (I don't see it in Log)
ashleyk
ashleyk10mo ago
Should be in the log.
nimbot
nimbot10mo ago
Last thing in the Container Logs is "container is ready!" Btw thank you for your quick replies and for this great template!
ashleyk
ashleyk10mo ago
That means its all finished syncing and ready to use but some applications still take a couple of minutes to load models etc so if something isn't working as expected, best to tail the logs.
nimbot
nimbot10mo ago
Where would I see the logs from the Forge instance? For example, I'm getting an error when generating images using an existing model, but without the logs of the Forge instance I can't see the stack trace to diagnose it
ashleyk
ashleyk10mo ago
Read the README.
nimbot
nimbot10mo ago
Silly me, it's all there. Thank you!
Sheikh Sammiuddin
Sheikh SammiuddinOP10mo ago
@ashleyk can you send me the link to your Forge template please. I don't know what is wrong here, I don't see any of the forge related extensions in the "Installed" tab.
ashleyk
ashleyk10mo ago
Browse for it under Explore, you can enter Forge as a search
Sheikh Sammiuddin
Sheikh SammiuddinOP10mo ago
That's what I always do. I will give it a try again
ashleyk
ashleyk10mo ago
Its the only one with Forge in the name, the others are all Fooocus
No description
ashleyk
ashleyk10mo ago
You can also confirm by checking that the docker image contains my name.
Sheikh Sammiuddin
Sheikh SammiuddinOP10mo ago
That's the one I always use. I will retry later. Time to head for work
Want results from more Discord servers?
Add your server