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
justin10mo 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 SammiuddinOP10mo 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
justin10mo 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 SammiuddinOP10mo ago
I try to download the Epic Realism SD 1.5 MODEL from CIVITAI
justin
justin10mo 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 SammiuddinOP10mo ago
Updated what?
justin
justin10mo ago
The latest version of gdrive *gdown
Sheikh Sammiuddin
Sheikh SammiuddinOP10mo ago
Ahh okay, app is always updated. I will however double check.
justin
justin10mo 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
ashleyk10mo 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
justin10mo ago
I mean check the version using gdown --version
justin
justin10mo 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
ashleyk10mo 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
justin10mo ago
^yea make sure ur using auth keys too
ashleyk
ashleyk10mo ago
Runpod Stable Diffusion template is very old, it has broken version of gdown, ancient ControlNet etc
justin
justin10mo ago
Yea so might want to update it
ashleyk
ashleyk10mo 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 SammiuddinOP10mo ago
Ahh thanks!
justin
justin10mo 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
justin10mo 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
ashleyk10mo ago
It doesn't
justin
justin10mo ago
ah ok lol
ashleyk
ashleyk10mo ago
it was fine until Google changed something
justin
justin10mo ago
yea
ashleyk
ashleyk10mo ago
then they released a fix for it quickly
justin
justin10mo 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 SammiuddinOP10mo ago
Which one is yours on run pod? I see one Stabls Diffusion and another Fast Stable Diffusion
ashleyk
ashleyk10mo ago
Neither, those are RunPod ones
Sheikh Sammiuddin
Sheikh SammiuddinOP10mo ago
Ahh, you have a standalone template to be downloaded to a laptop or PC?
ashleyk
ashleyk10mo ago
No description
ashleyk
ashleyk10mo ago
I mean RunPod managed templates, check under community section
justin
justin10mo 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 SammiuddinOP10mo ago
Okay, will try all the above steps on Monday Thank you Team
ashleyk
ashleyk10mo ago
This is the Forge one
No description
justin
justin10mo 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 SammiuddinOP10mo ago
👍
justin
justin10mo ago
but gl gl
Sheikh Sammiuddin
Sheikh SammiuddinOP10mo 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
justin10mo 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 SammiuddinOP9mo 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
ashleyk9mo ago
The image does exist.
Sheikh Sammiuddin
Sheikh SammiuddinOP9mo ago
Retrying
ashleyk
ashleyk9mo ago
Working fine for me.
No description
Sheikh Sammiuddin
Sheikh SammiuddinOP9mo ago
Yeah, nice working. Had to delete my pod
wufl5528
wufl55289mo ago
how can I use your template?
ashleyk
ashleyk9mo ago
Which template? There are lots. Go to Explore and then you can browse templates under the Community section.
Sheikh Sammiuddin
Sheikh SammiuddinOP9mo 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
ashleyk9mo ago
Oh thats an error I think, I didn't install ADetailer in the Forge template.
Sheikh Sammiuddin
Sheikh SammiuddinOP9mo ago
Strange!!
ashleyk
ashleyk9mo ago
Where did you see ADetailer?
Sheikh Sammiuddin
Sheikh SammiuddinOP9mo ago
I go to "Extensions" and then "Installed" At the bottom, it says ADetailer with blue checkbox ticked Date says 23,Jan 2024
ashleyk
ashleyk9mo ago
You are its Forge and not A1111?
Sheikh Sammiuddin
Sheikh SammiuddinOP9mo 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
ashleyk9mo ago
What does it say at the bottom of the Web UI interface?
Sheikh Sammiuddin
Sheikh SammiuddinOP9mo 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
ashleyk9mo ago
Oh yeah thats Forge, I don't know where ADetailer came from.
Sheikh Sammiuddin
Sheikh SammiuddinOP9mo ago
Sorry
ashleyk
ashleyk9mo ago
I'll spin it up and take a look
Sheikh Sammiuddin
Sheikh SammiuddinOP9mo ago
Thanks
ashleyk
ashleyk9mo ago
Its not pre-installed on a fresh pod.
No description
ashleyk
ashleyk9mo ago
Definitely not installed, you sure you didn't install it? 23 Jan is the last time the extension was updated.
No description
ashleyk
ashleyk9mo ago
After I install it in the Web UI, it looks fine
No description
ashleyk
ashleyk9mo 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
nimbot9mo 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
ashleyk9mo 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
nimbot9mo 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
ashleyk9mo ago
Read the README, Jupyter is on port 8888.
nimbot
nimbot9mo 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
ashleyk9mo ago
Should be in the log.
nimbot
nimbot9mo ago
Last thing in the Container Logs is "container is ready!" Btw thank you for your quick replies and for this great template!
ashleyk
ashleyk9mo 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
nimbot9mo 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
ashleyk9mo ago
Read the README.
nimbot
nimbot9mo ago
Silly me, it's all there. Thank you!
Sheikh Sammiuddin
Sheikh SammiuddinOP9mo 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
ashleyk9mo ago
Browse for it under Explore, you can enter Forge as a search
Sheikh Sammiuddin
Sheikh SammiuddinOP9mo ago
That's what I always do. I will give it a try again
ashleyk
ashleyk9mo ago
Its the only one with Forge in the name, the others are all Fooocus
No description
ashleyk
ashleyk9mo ago
You can also confirm by checking that the docker image contains my name.
Sheikh Sammiuddin
Sheikh SammiuddinOP9mo 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