ashleykleynhans / stable-diffusion-docker

Docker image for Stable Diffusion WebUI with ControlNet, After Detailer, Dreambooth, Deforum and ReActor extensions, as well as Kohya_ss and ComfyUI
GNU General Public License v3.0
326 stars 92 forks source link

how to copy existing models from local pc #63

Open shammyfiveducks opened 4 weeks ago

shammyfiveducks commented 4 weeks ago

hello, thanks for the amazing docker collection

This is likely a silly question but I am having trouble figuring out how to upload my existing models to A1111 and comfy UI,

my a1docker folder gets root permissions set on docker run, and if i change these permissions so I can drop in a model from elsswhere in my PC, A1111 will no longer run.

I'm assuming there is something I have overlooked! I did see a runpod upload portal but didnt think that was the answer, to put my already downloaded models in A1111 and Comfy etc?

Thanks again

docker run -d \ --runtime=nvidia \ -e NVIDIA_VISIBLE_DEVICES=1 \ -v /home/m/Desktop/ai3/t2i/a1docker:/workspace \ -p 3049:2999 \ -p 3050:3001 \ -p 3060:3011 \ -p 3070:3021 \ -p 6056:6066 \ -p 8050:8000 \ -p 8938:8888 \ -p 9140:9090 \ -e JUPYTER_PASSWORD=Jup1t3R! \ -e ENABLE_TENSORBOARD=1 \ ashleykza/stable-diffusion-webui:latest

wikinikiwings commented 3 weeks ago

You can

hello, thanks for the amazing docker collection

This is likely a silly question but I am having trouble figuring out how to upload my existing models to A1111 and comfy UI,

my a1docker folder gets root permissions set on docker run, and if i change these permissions so I can drop in a model from elsswhere in my PC, A1111 will no longer run.

I'm assuming there is something I have overlooked! I did see a runpod upload portal but didnt think that was the answer, to put my already downloaded models in A1111 and Comfy etc?

Thanks again

docker run -d --runtime=nvidia -e NVIDIA_VISIBLE_DEVICES=1 -v /home/m/Desktop/ai3/t2i/a1docker:/workspace -p 3049:2999 -p 3050:3001 -p 3060:3011 -p 3070:3021 -p 6056:6066 -p 8050:8000 -p 8938:8888 -p 9140:9090 -e JUPYTER_PASSWORD=Jup1t3R! -e ENABLE_TENSORBOARD=1 ashleykza/stable-diffusion-webui:latest

you can easily add new models, just start the container, then use port 8888, connect to jupiterlab, than navigate to :workspace/stable-diffusion-webui/models/Stable-diffusion/

after that just press on upload and choose desired model. Dont forget to renew the list in the web ui chrome_QxxzY071h5

shammyfiveducks commented 3 weeks ago

Thank you, I do appreciate you taking the time to respond