model can't be downloaded after revision 04f177d998ae448d67ba0cdac27772ac292ea3c7
#180
by
keunwoochoi
- opened
Hi, after this revision (04f177d998ae448d67ba0cdac27772ac292ea3c7, by @patrickvonplaten ) which changes filenames etc, a text-to-image diffuser example doesn't work.
Traceback (most recent call last):
File "/home/user/.local/lib/python3.8/site-packages/huggingface_hub/utils/_errors.py", line 239, in hf_raise_for_status
response.raise_for_status()
File "/home/user/anaconda3/envs/diffusion/lib/python3.8/site-packages/requests/models.py", line 1021, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://huggingface.co/CompVis/stable-diffusion-v1-4/resolve/main/vae/diffusion_pytorch_model.bin
The above exception was the direct cause of the following exception:
The error itself is straightforward. It cannot find diffusion_pytorch_model.bin
because the revision deletes the file. How can I use the revised model?
Thanks!
Temporary fix, use revision ebb811dd71cdc38a204ecbdd6ac5d580f529fd8c
Like
tokenizer = AutoTokenizer.from_pretrained(
args.pretrained_model_name_or_path,
subfolder="tokenizer",
revision="ebb811dd71cdc38a204ecbdd6ac5d580f529fd8c",
use_fast=False,
)
or similar
keunwoochoi
changed discussion status to
closed