Upload xgen-universe_Capybara_0.txt with huggingface_hub
Browse files1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980```CODE: import torchfrom diffusers import DiffusionPipeline
# switch to "mps" for apple devicespipe = DiffusionPipeline.from_pretrained("xgen-universe/Capybara", dtype=torch.bfloat16, device_map="cuda")
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"image = pipe(prompt).images[0]```
ERROR: Traceback (most recent call last): File "/tmp/.cache/uv/environments-v2/2bc4cbdb08521287/lib/python3.13/site-packages/huggingface_hub/utils/_http.py", line 720, in hf_raise_for_status response.raise_for_status() ~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/tmp/.cache/uv/environments-v2/2bc4cbdb08521287/lib/python3.13/site-packages/httpx/_models.py", line 829, in raise_for_status raise HTTPStatusError(message, request=request, response=self)httpx.HTTPStatusError: Client error '404 Not Found' for url 'https://huggingface.co/xgen-universe/Capybara/resolve/main/model_index.json'For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/tmp/xgen-universe_Capybara_0VW7dgn.py", line 27, in <module> pipe = DiffusionPipeline.from_pretrained("xgen-universe/Capybara", dtype=torch.bfloat16, device_map="cuda") File "/tmp/.cache/uv/environments-v2/2bc4cbdb08521287/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 89, in _inner_fn return fn(*args, **kwargs) File "/tmp/.cache/uv/environments-v2/2bc4cbdb08521287/lib/python3.13/site-packages/diffusers/pipelines/pipeline_utils.py", line 829, in from_pretrained cached_folder = cls.download( pretrained_model_name_or_path, ...<14 lines>... **kwargs, ) File "/tmp/.cache/uv/environments-v2/2bc4cbdb08521287/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 89, in _inner_fn return fn(*args, **kwargs) File "/tmp/.cache/uv/environments-v2/2bc4cbdb08521287/lib/python3.13/site-packages/diffusers/pipelines/pipeline_utils.py", line 1605, in download config_file = hf_hub_download( pretrained_model_name, ...<5 lines>... token=token, ) File "/tmp/.cache/uv/environments-v2/2bc4cbdb08521287/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 89, in _inner_fn return fn(*args, **kwargs) File "/tmp/.cache/uv/environments-v2/2bc4cbdb08521287/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 982, in hf_hub_download return _hf_hub_download_to_cache_dir( # Destination ...<15 lines>... dry_run=dry_run, ) 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 (url_to_download, etag, commit_hash, expected_size, xet_file_data, head_call_error) = _get_metadata_or_catch_error( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ repo_id=repo_id, ^^^^^^^^^^^^^^^^ ...<9 lines>... relative_filename=relative_filename, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ 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 metadata = get_hf_file_metadata( url=url, ...<4 lines>... retry_on_errors=retry_on_errors, ) File "/tmp/.cache/uv/environments-v2/2bc4cbdb08521287/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 89, in _inner_fn return fn(*args, **kwargs) File "/tmp/.cache/uv/environments-v2/2bc4cbdb08521287/lib/python3.13/site-packages/huggingface_hub/file_download.py", line 1572, in get_hf_file_metadata response = _httpx_follow_relative_redirects_with_backoff( method="HEAD", url=url, headers=hf_headers, timeout=timeout, retry_on_errors=retry_on_errors ) 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 hf_raise_for_status(response) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ File "/tmp/.cache/uv/environments-v2/2bc4cbdb08521287/lib/python3.13/site-packages/huggingface_hub/utils/_http.py", line 734, in hf_raise_for_status raise _format(RemoteEntryNotFoundError, message, response) from ehuggingface_hub.errors.RemoteEntryNotFoundError: 404 Client Error. (Request ID: Root=1-69a93028-4b2d11843dc25f66581bb407;a65aacb4-43c1-446b-9b2d-9047d993894e)
Entry Not Found for url: https://huggingface.co/xgen-universe/Capybara/resolve/main/model_index.json.xgen-universe_Capybara_0.txtAdded+80