ariG23498 HF Staff commited on
Commit
2c50684
·
verified ·
1 Parent(s): e56c437

Upload xgen-universe_Capybara_0.txt with huggingface_hub

Browse files
Files changed (1) hide show
  1. xgen-universe_Capybara_0.txt +80 -0
xgen-universe_Capybara_0.txt ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ```CODE:
2
+ import torch
3
+ from diffusers import DiffusionPipeline
4
+
5
+ # switch to "mps" for apple devices
6
+ pipe = DiffusionPipeline.from_pretrained("xgen-universe/Capybara", 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/2bc4cbdb08521287/lib/python3.13/site-packages/huggingface_hub/utils/_http.py", line 720, in hf_raise_for_status
15
+ response.raise_for_status()
16
+ ~~~~~~~~~~~~~~~~~~~~~~~~~^^
17
+ File "/tmp/.cache/uv/environments-v2/2bc4cbdb08521287/lib/python3.13/site-packages/httpx/_models.py", line 829, in raise_for_status
18
+ raise HTTPStatusError(message, request=request, response=self)
19
+ httpx.HTTPStatusError: Client error '404 Not Found' for url 'https://huggingface.co/xgen-universe/Capybara/resolve/main/model_index.json'
20
+ For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404
21
+
22
+ The above exception was the direct cause of the following exception:
23
+
24
+ Traceback (most recent call last):
25
+ File "/tmp/xgen-universe_Capybara_0VW7dgn.py", line 27, in <module>
26
+ pipe = DiffusionPipeline.from_pretrained("xgen-universe/Capybara", dtype=torch.bfloat16, device_map="cuda")
27
+ File "/tmp/.cache/uv/environments-v2/2bc4cbdb08521287/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 89, in _inner_fn
28
+ return fn(*args, **kwargs)
29
+ File "/tmp/.cache/uv/environments-v2/2bc4cbdb08521287/lib/python3.13/site-packages/diffusers/pipelines/pipeline_utils.py", line 829, in from_pretrained
30
+ cached_folder = cls.download(
31
+ pretrained_model_name_or_path,
32
+ ...<14 lines>...
33
+ **kwargs,
34
+ )
35
+ File "/tmp/.cache/uv/environments-v2/2bc4cbdb08521287/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 89, in _inner_fn
36
+ return fn(*args, **kwargs)
37
+ File "/tmp/.cache/uv/environments-v2/2bc4cbdb08521287/lib/python3.13/site-packages/diffusers/pipelines/pipeline_utils.py", line 1605, in download
38
+ config_file = hf_hub_download(
39
+ pretrained_model_name,
40
+ ...<5 lines>...
41
+ token=token,
42
+ )
43
+ File "/tmp/.cache/uv/environments-v2/2bc4cbdb08521287/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 89, in _inner_fn
44
+ return fn(*args, **kwargs)
45
+ File "/tmp/.cache/uv/environments-v2/2bc4cbdb08521287/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 982, in hf_hub_download
46
+ return _hf_hub_download_to_cache_dir(
47
+ # Destination
48
+ ...<15 lines>...
49
+ dry_run=dry_run,
50
+ )
51
+ File "/tmp/.cache/uv/environments-v2/2bc4cbdb08521287/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1057, in _hf_hub_download_to_cache_dir
52
+ (url_to_download, etag, commit_hash, expected_size, xet_file_data, head_call_error) = _get_metadata_or_catch_error(
53
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
54
+ repo_id=repo_id,
55
+ ^^^^^^^^^^^^^^^^
56
+ ...<9 lines>...
57
+ relative_filename=relative_filename,
58
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
59
+ )
60
+ ^
61
+ File "/tmp/.cache/uv/environments-v2/2bc4cbdb08521287/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1649, in _get_metadata_or_catch_error
62
+ metadata = get_hf_file_metadata(
63
+ url=url,
64
+ ...<4 lines>...
65
+ retry_on_errors=retry_on_errors,
66
+ )
67
+ File "/tmp/.cache/uv/environments-v2/2bc4cbdb08521287/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 89, in _inner_fn
68
+ return fn(*args, **kwargs)
69
+ File "/tmp/.cache/uv/environments-v2/2bc4cbdb08521287/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1572, in get_hf_file_metadata
70
+ response = _httpx_follow_relative_redirects_with_backoff(
71
+ method="HEAD", url=url, headers=hf_headers, timeout=timeout, retry_on_errors=retry_on_errors
72
+ )
73
+ File "/tmp/.cache/uv/environments-v2/2bc4cbdb08521287/lib/python3.13/site-packages/huggingface_hub/utils/_http.py", line 651, in _httpx_follow_relative_redirects_with_backoff
74
+ hf_raise_for_status(response)
75
+ ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
76
+ File "/tmp/.cache/uv/environments-v2/2bc4cbdb08521287/lib/python3.13/site-packages/huggingface_hub/utils/_http.py", line 734, in hf_raise_for_status
77
+ raise _format(RemoteEntryNotFoundError, message, response) from e
78
+ huggingface_hub.errors.RemoteEntryNotFoundError: 404 Client Error. (Request ID: Root=1-69a93028-4b2d11843dc25f66581bb407;a65aacb4-43c1-446b-9b2d-9047d993894e)
79
+
80
+ Entry Not Found for url: https://huggingface.co/xgen-universe/Capybara/resolve/main/model_index.json.