#๐Ÿ”’ problem with downloading the stable diffusion model

7 messages ยท Page 1 of 1 (latest)

zealous plazaBOT
#

@pale wolf

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

pale wolf
#

i m using the following code to download the sd

#
import torch
from diffusers import TextToVideoZeroPipeline

model_id = "runwayml/stable-diffusion-v1-5"
pipe = TextToVideoZeroPipeline.from_pretrained(model_id, torch_dtype=torch.float16, force_download=True, resume_download=False).to("cuda")

prompt = "A panda is playing guitar on times square"
result = pipe(prompt=prompt).images
result = [(r * 255).astype("uint8") for r in result]
#

and i m getting the following traceback:

#

OSError: Consistency check failed: file should be of size 3438167540 but has size 497963331 (unet/diffusion_pytorch_model.safetensors).
We are sorry for the inconvenience. Please retry download and pass force_download=True, resume_download=False as argument.
If the issue persists, please let us know by opening an issue on https://github.com/huggingface/huggingface_hub.

#

have anyone came across with simmilar traceback?

zealous plazaBOT
#

@pale wolf

Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.