Diffusers
Safetensors
flf2v

Can not download model from hugging face

#8
by lserlohn - opened

import torch
from diffusers import DiffusionPipeline

pipe = DiffusionPipeline.from_pretrained("Wan-AI/Wan2.1-FLF2V-14B-720P", dtype=torch.bfloat16, device_map="cuda")

prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]

Traceback (most recent call last):
File "/home/colligo/.venv/lib/python3.10/site-packages/huggingface_hub/utils/_http.py", line 402, in hf_raise_for_status
response.raise_for_status()
File "/home/colligo/.venv/lib/python3.10/site-packages/requests/models.py", line 1026, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://huggingface.co/Wan-AI/Wan2.1-FLF2V-14B-720P/resolve/main/model_index.json

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/home/colligo/wan_test.py", line 5, in
pipe = DiffusionPipeline.from_pretrained("Wan-AI/Wan2.1-FLF2V-14B-720P", dtype=torch.bfloat16, device_map="cuda")
File "/home/colligo/.venv/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "/home/colligo/.venv/lib/python3.10/site-packages/diffusers/pipelines/pipeline_utils.py", line 829, in from_pretrained
cached_folder = cls.download(
File "/home/colligo/.venv/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "/home/colligo/.venv/lib/python3.10/site-packages/diffusers/pipelines/pipeline_utils.py", line 1605, in download
config_file = hf_hub_download(
File "/home/colligo/.venv/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "/home/colligo/.venv/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1007, in hf_hub_download
return _hf_hub_download_to_cache_dir(
File "/home/colligo/.venv/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1070, in _hf_hub_download_to_cache_dir
(url_to_download, etag, commit_hash, expected_size, xet_file_data, head_call_error) = _get_metadata_or_catch_error(
File "/home/colligo/.venv/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1543, in _get_metadata_or_catch_error
metadata = get_hf_file_metadata(
File "/home/colligo/.venv/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "/home/colligo/.venv/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1460, in get_hf_file_metadata
r = _request_wrapper(
File "/home/colligo/.venv/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 283, in _request_wrapper
response = _request_wrapper(
File "/home/colligo/.venv/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 307, in _request_wrapper
hf_raise_for_status(response)
File "/home/colligo/.venv/lib/python3.10/site-packages/huggingface_hub/utils/_http.py", line 413, in hf_raise_for_status
raise _format(EntryNotFoundError, message, response) from e
huggingface_hub.errors.EntryNotFoundError: 404 Client Error. (Request ID: Root=1-69581d4a-5cef256e2fd45e9a3cb0262e;fb8c80d5-90ff-4b51-82d2-865504e7881b)

Entry Not Found for url: https://huggingface.co/Wan-AI/Wan2.1-FLF2V-14B-720P/resolve/main/model_index.json.

Sign up or log in to comment