ariG23498 HF Staff commited on
Commit
49ddf3d
·
verified ·
1 Parent(s): 29e7438

Upload huaichang_PersonaLive_0.txt with huggingface_hub

Browse files
Files changed (1) hide show
  1. huaichang_PersonaLive_0.txt +92 -0
huaichang_PersonaLive_0.txt ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ```CODE:
2
+ import torch
3
+ from diffusers import DiffusionPipeline
4
+ from diffusers.utils import load_image, export_to_video
5
+
6
+ # switch to "mps" for apple devices
7
+ pipe = DiffusionPipeline.from_pretrained("huaichang/PersonaLive", dtype=torch.bfloat16, device_map="cuda")
8
+ pipe.to("cuda")
9
+
10
+ prompt = "A man with short gray hair plays a red electric guitar."
11
+ image = load_image(
12
+ "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png"
13
+ )
14
+
15
+ output = pipe(image=image, prompt=prompt).frames[0]
16
+ export_to_video(output, "output.mp4")
17
+ ```
18
+
19
+ ERROR:
20
+ Traceback (most recent call last):
21
+ File "/tmp/.cache/uv/environments-v2/143d0e293c454e37/lib/python3.13/site-packages/huggingface_hub/utils/_http.py", line 402, in hf_raise_for_status
22
+ response.raise_for_status()
23
+ ~~~~~~~~~~~~~~~~~~~~~~~~~^^
24
+ File "/tmp/.cache/uv/environments-v2/143d0e293c454e37/lib/python3.13/site-packages/requests/models.py", line 1026, in raise_for_status
25
+ raise HTTPError(http_error_msg, response=self)
26
+ requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://huggingface.co/huaichang/PersonaLive/resolve/main/model_index.json
27
+
28
+ The above exception was the direct cause of the following exception:
29
+
30
+ Traceback (most recent call last):
31
+ File "/tmp/huaichang_PersonaLive_0vQKl7D.py", line 28, in <module>
32
+ pipe = DiffusionPipeline.from_pretrained("huaichang/PersonaLive", dtype=torch.bfloat16, device_map="cuda")
33
+ File "/tmp/.cache/uv/environments-v2/143d0e293c454e37/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
34
+ return fn(*args, **kwargs)
35
+ File "/tmp/.cache/uv/environments-v2/143d0e293c454e37/lib/python3.13/site-packages/diffusers/pipelines/pipeline_utils.py", line 829, in from_pretrained
36
+ cached_folder = cls.download(
37
+ pretrained_model_name_or_path,
38
+ ...<14 lines>...
39
+ **kwargs,
40
+ )
41
+ File "/tmp/.cache/uv/environments-v2/143d0e293c454e37/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
42
+ return fn(*args, **kwargs)
43
+ File "/tmp/.cache/uv/environments-v2/143d0e293c454e37/lib/python3.13/site-packages/diffusers/pipelines/pipeline_utils.py", line 1605, in download
44
+ config_file = hf_hub_download(
45
+ pretrained_model_name,
46
+ ...<5 lines>...
47
+ token=token,
48
+ )
49
+ File "/tmp/.cache/uv/environments-v2/143d0e293c454e37/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
50
+ return fn(*args, **kwargs)
51
+ File "/tmp/.cache/uv/environments-v2/143d0e293c454e37/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1007, in hf_hub_download
52
+ return _hf_hub_download_to_cache_dir(
53
+ # Destination
54
+ ...<14 lines>...
55
+ force_download=force_download,
56
+ )
57
+ File "/tmp/.cache/uv/environments-v2/143d0e293c454e37/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1070, in _hf_hub_download_to_cache_dir
58
+ (url_to_download, etag, commit_hash, expected_size, xet_file_data, head_call_error) = _get_metadata_or_catch_error(
59
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
60
+ repo_id=repo_id,
61
+ ^^^^^^^^^^^^^^^^
62
+ ...<10 lines>...
63
+ relative_filename=relative_filename,
64
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
65
+ )
66
+ ^
67
+ File "/tmp/.cache/uv/environments-v2/143d0e293c454e37/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1543, in _get_metadata_or_catch_error
68
+ metadata = get_hf_file_metadata(
69
+ url=url, proxies=proxies, timeout=etag_timeout, headers=headers, token=token, endpoint=endpoint
70
+ )
71
+ File "/tmp/.cache/uv/environments-v2/143d0e293c454e37/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
72
+ return fn(*args, **kwargs)
73
+ File "/tmp/.cache/uv/environments-v2/143d0e293c454e37/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1460, in get_hf_file_metadata
74
+ r = _request_wrapper(
75
+ method="HEAD",
76
+ ...<5 lines>...
77
+ timeout=timeout,
78
+ )
79
+ File "/tmp/.cache/uv/environments-v2/143d0e293c454e37/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 283, in _request_wrapper
80
+ response = _request_wrapper(
81
+ method=method,
82
+ ...<2 lines>...
83
+ **params,
84
+ )
85
+ File "/tmp/.cache/uv/environments-v2/143d0e293c454e37/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 307, in _request_wrapper
86
+ hf_raise_for_status(response)
87
+ ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
88
+ File "/tmp/.cache/uv/environments-v2/143d0e293c454e37/lib/python3.13/site-packages/huggingface_hub/utils/_http.py", line 413, in hf_raise_for_status
89
+ raise _format(EntryNotFoundError, message, response) from e
90
+ huggingface_hub.errors.EntryNotFoundError: 404 Client Error. (Request ID: Root=1-6948f073-061c52e969d8385c32159ec4;250491aa-521e-40b1-9461-842dad3e0d86)
91
+
92
+ Entry Not Found for url: https://huggingface.co/huaichang/PersonaLive/resolve/main/model_index.json.