ariG23498 HF Staff commited on
Commit
c5e9514
·
verified ·
1 Parent(s): 34aced7

Upload lightx2v_Hy1.5-Distill-Models_0.txt with huggingface_hub

Browse files
Files changed (1) hide show
  1. lightx2v_Hy1.5-Distill-Models_0.txt +85 -0
lightx2v_Hy1.5-Distill-Models_0.txt ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ```CODE:
2
+ import torch
3
+ from diffusers import DiffusionPipeline
4
+
5
+ # switch to "mps" for apple devices
6
+ pipe = DiffusionPipeline.from_pretrained("lightx2v/Hy1.5-Distill-Models", dtype=torch.bfloat16, device_map="cuda")
7
+
8
+ prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
9
+ image = pipe(prompt).images[0]
10
+ ```
11
+
12
+ ERROR:
13
+ Traceback (most recent call last):
14
+ File "/tmp/.cache/uv/environments-v2/6002cae5dbc8ac24/lib/python3.13/site-packages/huggingface_hub/utils/_http.py", line 402, in hf_raise_for_status
15
+ response.raise_for_status()
16
+ ~~~~~~~~~~~~~~~~~~~~~~~~~^^
17
+ File "/tmp/.cache/uv/environments-v2/6002cae5dbc8ac24/lib/python3.13/site-packages/requests/models.py", line 1026, in raise_for_status
18
+ raise HTTPError(http_error_msg, response=self)
19
+ requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://huggingface.co/lightx2v/Hy1.5-Distill-Models/resolve/main/model_index.json
20
+
21
+ The above exception was the direct cause of the following exception:
22
+
23
+ Traceback (most recent call last):
24
+ File "/tmp/lightx2v_Hy1.5-Distill-Models_0EFrJpn.py", line 27, in <module>
25
+ pipe = DiffusionPipeline.from_pretrained("lightx2v/Hy1.5-Distill-Models", dtype=torch.bfloat16, device_map="cuda")
26
+ File "/tmp/.cache/uv/environments-v2/6002cae5dbc8ac24/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
27
+ return fn(*args, **kwargs)
28
+ File "/tmp/.cache/uv/environments-v2/6002cae5dbc8ac24/lib/python3.13/site-packages/diffusers/pipelines/pipeline_utils.py", line 833, in from_pretrained
29
+ cached_folder = cls.download(
30
+ pretrained_model_name_or_path,
31
+ ...<14 lines>...
32
+ **kwargs,
33
+ )
34
+ File "/tmp/.cache/uv/environments-v2/6002cae5dbc8ac24/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
35
+ return fn(*args, **kwargs)
36
+ File "/tmp/.cache/uv/environments-v2/6002cae5dbc8ac24/lib/python3.13/site-packages/diffusers/pipelines/pipeline_utils.py", line 1490, in download
37
+ config_file = hf_hub_download(
38
+ pretrained_model_name,
39
+ ...<5 lines>...
40
+ token=token,
41
+ )
42
+ File "/tmp/.cache/uv/environments-v2/6002cae5dbc8ac24/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
43
+ return fn(*args, **kwargs)
44
+ File "/tmp/.cache/uv/environments-v2/6002cae5dbc8ac24/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1007, in hf_hub_download
45
+ return _hf_hub_download_to_cache_dir(
46
+ # Destination
47
+ ...<14 lines>...
48
+ force_download=force_download,
49
+ )
50
+ File "/tmp/.cache/uv/environments-v2/6002cae5dbc8ac24/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1070, in _hf_hub_download_to_cache_dir
51
+ (url_to_download, etag, commit_hash, expected_size, xet_file_data, head_call_error) = _get_metadata_or_catch_error(
52
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
53
+ repo_id=repo_id,
54
+ ^^^^^^^^^^^^^^^^
55
+ ...<10 lines>...
56
+ relative_filename=relative_filename,
57
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
58
+ )
59
+ ^
60
+ File "/tmp/.cache/uv/environments-v2/6002cae5dbc8ac24/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1543, in _get_metadata_or_catch_error
61
+ metadata = get_hf_file_metadata(
62
+ url=url, proxies=proxies, timeout=etag_timeout, headers=headers, token=token, endpoint=endpoint
63
+ )
64
+ File "/tmp/.cache/uv/environments-v2/6002cae5dbc8ac24/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
65
+ return fn(*args, **kwargs)
66
+ File "/tmp/.cache/uv/environments-v2/6002cae5dbc8ac24/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1460, in get_hf_file_metadata
67
+ r = _request_wrapper(
68
+ method="HEAD",
69
+ ...<5 lines>...
70
+ timeout=timeout,
71
+ )
72
+ File "/tmp/.cache/uv/environments-v2/6002cae5dbc8ac24/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 283, in _request_wrapper
73
+ response = _request_wrapper(
74
+ method=method,
75
+ ...<2 lines>...
76
+ **params,
77
+ )
78
+ File "/tmp/.cache/uv/environments-v2/6002cae5dbc8ac24/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 307, in _request_wrapper
79
+ hf_raise_for_status(response)
80
+ ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
81
+ File "/tmp/.cache/uv/environments-v2/6002cae5dbc8ac24/lib/python3.13/site-packages/huggingface_hub/utils/_http.py", line 413, in hf_raise_for_status
82
+ raise _format(EntryNotFoundError, message, response) from e
83
+ huggingface_hub.errors.EntryNotFoundError: 404 Client Error. (Request ID: Root=1-6926a8ae-7a98bb0435b6dcff2f17b6e3;911a6c48-4942-4022-b438-bbde28f4a729)
84
+
85
+ Entry Not Found for url: https://huggingface.co/lightx2v/Hy1.5-Distill-Models/resolve/main/model_index.json.