I have a Stable Diffusion Web UI that I’m attempting to run on A10G - Small on Huggingface. Unfortunately, it seems to get stuck at “Scheduling Space” for around 30-60+ minutes every time I attempt to wake the interface up.
Is there something I’m doing wrong? I wish Colab could provide a persistent URL - that would be an alternate solution.
If I wanted to build the exact copy of my space locally is there a doc you can point me to? Since I don’t have that hardware and it would be built locally on my MacBook Pro I’m not sure how to configure my Dockerfile?
Are you able to identify how large my total image is from your side since you have access to the backend?
How long should I expect for it to take to start my space up if I chop this down to a single checkpoint on A10G?
Lastly, @chris-rannou or @camenduru I’m trying to add authentication (either via basic user/pass) or even better yet, SSO (probably a pipe dream) to the space, is that possible via Sharing Your App or via adding secrets to the Spaces configuration since this is a Docker build?
Essentially I’d like to provide access to the UI without everyone having to have a Hugging Face account/be added to my organization and not permit the public to run up a huge bill on A10G Large if the space is public.
You should be able to build this Dockerfile without having the required hardware.
Currently your image is at about 100+ GB. This is mainly due to some optimization issue on the Dockerfile definition (chown at the end). I’ll soon come back to you with a suggested optimization.
Once optimized and if you reduce to a single checkpoints the startup should not be longer than up to 10 min (difficult to estimate beforehand). The main delay currently is because of the time required to download the image.
Traceback (most recent call last):
File "/content/stable-diffusion-webui/webui.py", line 12, in <module>
from modules.call_queue import wrap_queued_call, queue_lock, wrap_gradio_gpu_call
File "/content/stable-diffusion-webui/modules/call_queue.py", line 7, in <module>
from modules import shared
File "/content/stable-diffusion-webui/modules/shared.py", line 125, in <module>
File "/usr/lib/python3.10/os.py", line 225, in makedirs
PermissionError: [Errno 13] Permission denied: '/content/stable-diffusion-webui/models/hypernetworks'
@chris-rannou Do I need to merge it or will it automatically build?
Any guidance on how I can restrict access to the space so that it’s not publicly accessible? I want to be able to provide access to the URL or ideally iframe / webcomponent without having the space be public.