-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stable Diffusion 2-1 Not Loaded on Colab with Minimal Loading #6446
Comments
Hmm this seems to be a problem only on Colab. I tried it on our internal server and on my local machine. It wasn't a problem. |
The issue has also been raised on the Colab repo |
It's very weird, but running it on a Download the model through a Python file from diffusers import DiffusionPipeline
import torch
DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", torch_dtype=torch.float16, use_safetensors=True, variant="fp16") Save the above as a Now call the pipeline pipeline = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", torch_dtype=torch.float16, use_safetensors=True, variant="fp16") |
I don't know if this is practical for everyone but running it on https://www.kaggle.com/ritzraha/diffusion-template So it is highly probable that this is a colab issue, FYI I am still having the same problem (as documented above) on colab |
I added the huggingface token inside then it works fine! |
It may await to read hf_token from colab but never access |
@imanphung thank you! Confirming that adding |
This is not worked for me, still need a valid solution |
Worked here. |
We're on top of it: huggingface/huggingface_hub#1953. Cc: @Wauplin |
Thanks everyone for reporting and sorry for the inconvenience. I have been able to reproduce the issue and created a PR (huggingface/huggingface_hub#1953) to fix it. The plan is to make a hot-fix release once it's merged and make it the default in google colab. In the meantime, a temporary solution is to install a different version of |
Update: |
Describe the bug
Within this simple loading script:
The progress is stucked there is no error at all,
Fetching 13 files: 0% 0/13 [05:54<?, ?it/s]
Reproduction
Colab: https://colab.research.google.com/drive/1tzys4nVo95JAJgd_0MWp4s9Nm71wxQlZ?usp=sharing
Logs
System Info
Colab
diffusers
version: 0.25.0Who can help?
@yiyixuxu @DN6 @sayakpaul @patrickvonplaten
The text was updated successfully, but these errors were encountered: