Skip to content

Model not downloading: Entry Not Found error #285

@Serewasfera

Description

@Serewasfera

Problem

The model file simply won't download. Does it even exist?

Details

Running on WSL (Ubuntu), Windows 11. (tried on both systems, native and WSL);
CUDA-compatible NVIDIA graphics card.

(.venv) serewasfera@ABOBA-PC:~/JAWP/dia$ python app.py
Using device: cuda
Loading Nari model...
Using device: cuda, attempting to load model with float16
pytorch_model.bin:   0%|                                                                    | 0.00/6.44G [00:00<?, ?B/s]^CCancellation requested; stopping current tasks.
Traceback (most recent call last):
  File "/home/serewasfera/JAWP/dia/.venv/lib/python3.12/site-packages/huggingface_hub/utils/_http.py", line 553, in hf_raise_for_status
    response.raise_for_status()
  File "/home/serewasfera/JAWP/dia/.venv/lib/python3.12/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/nari-labs/Dia-1.6B-0626/resolve/main/model.safetensors'
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 "/home/serewasfera/JAWP/dia/.venv/lib/python3.12/site-packages/huggingface_hub/hub_mixin.py", line 780, in _from_pretrained
    model_file = hf_hub_download(
                 ^^^^^^^^^^^^^^^^
  File "/home/serewasfera/JAWP/dia/.venv/lib/python3.12/site-packages/huggingface_hub/utils/_validators.py", line 89, in _inner_fn
    return fn(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^
  File "/home/serewasfera/JAWP/dia/.venv/lib/python3.12/site-packages/huggingface_hub/file_download.py", line 1007, in hf_hub_download
    return _hf_hub_download_to_cache_dir(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/serewasfera/JAWP/dia/.venv/lib/python3.12/site-packages/huggingface_hub/file_download.py", line 1082, 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/serewasfera/JAWP/dia/.venv/lib/python3.12/site-packages/huggingface_hub/file_download.py", line 1623, in _get_metadata_or_catch_error
    metadata = get_hf_file_metadata(
               ^^^^^^^^^^^^^^^^^^^^^
  File "/home/serewasfera/JAWP/dia/.venv/lib/python3.12/site-packages/huggingface_hub/utils/_validators.py", line 89, in _inner_fn
    return fn(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^
  File "/home/serewasfera/JAWP/dia/.venv/lib/python3.12/site-packages/huggingface_hub/file_download.py", line 1549, in get_hf_file_metadata
    response = _httpx_follow_relative_redirects(method="HEAD", url=url, headers=hf_headers, timeout=timeout)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/serewasfera/JAWP/dia/.venv/lib/python3.12/site-packages/huggingface_hub/file_download.py", line 292, in _httpx_follow_relative_redirects
    hf_raise_for_status(response)
  File "/home/serewasfera/JAWP/dia/.venv/lib/python3.12/site-packages/huggingface_hub/utils/_http.py", line 567, in hf_raise_for_status
    raise _format(RemoteEntryNotFoundError, message, response) from e
huggingface_hub.errors.RemoteEntryNotFoundError: 404 Client Error. (Request ID: Root=1-6928614d-4bb2f0db6d9dbcb246126b41;29e0e0e9-61f0-4a61-b5b7-5de8c3a3a10a)

Entry Not Found for url: https://huggingface.co/nari-labs/Dia-1.6B-0626/resolve/main/model.safetensors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions