Skip to content

huggingface_hub.errors.LocalEntryNotFoundError: #321

@outbackdingo

Description

@outbackdingo

using the docker compose up -d on nvidia orin i get the following in the logs when i click generate, and nothing is generated

huggingface_hub.errors.LocalEntryNotFoundError: An error happened while trying to locate the files on the Hub and we cannot find the appropriate snapshot folder for the specified revision on the local disk. Please check your internet connection and try again.

    raise _format(HfHubHTTPError, message, response) from e
huggingface_hub.errors.HfHubHTTPError: 403 Forbidden: None.
Cannot access content at: https://huggingface.co/api/models/ACE-Step/ACE-Step-v1-3.5B/revision/main.
Make sure your token has the correct permissions.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/opt/venv/lib/python3.10/site-packages/gradio/queueing.py", line 667, in process_events
    response = await route_utils.call_process_api(
  File "/opt/venv/lib/python3.10/site-packages/gradio/route_utils.py", line 349, in call_process_api
    output = await app.get_blocks().process_api(
  File "/opt/venv/lib/python3.10/site-packages/gradio/blocks.py", line 2274, in process_api
    result = await self.call_function(
  File "/opt/venv/lib/python3.10/site-packages/gradio/blocks.py", line 1781, in call_function
    prediction = await anyio.to_thread.run_sync(  # type: ignore
  File "/opt/venv/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync
    return await get_async_backend().run_sync_in_worker_thread(
  File "/opt/venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2476, in run_sync_in_worker_thread
    return await future
  File "/opt/venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 967, in run
    result = context.run(func, *args)
  File "/opt/venv/lib/python3.10/site-packages/gradio/utils.py", line 915, in wrapper
    response = f(*args, **kwargs)
  File "/opt/venv/lib/python3.10/site-packages/acestep/pipeline_ace_step.py", line 1484, in __call__
    self.load_checkpoint(self.checkpoint_dir)
  File "/opt/venv/lib/python3.10/site-packages/acestep/pipeline_ace_step.py", line 183, in load_checkpoint
    checkpoint_dir = self.get_checkpoint_path(checkpoint_dir, REPO_ID)
  File "/opt/venv/lib/python3.10/site-packages/acestep/pipeline_ace_step.py", line 179, in get_checkpoint_path
    checkpoint_dir_models = snapshot_download(repo, cache_dir=checkpoint_dir)
  File "/opt/venv/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
    return fn(*args, **kwargs)
  File "/opt/venv/lib/python3.10/site-packages/huggingface_hub/_snapshot_download.py", line 248, in snapshot_download
    raise LocalEntryNotFoundError(
huggingface_hub.errors.LocalEntryNotFoundError: An error happened while trying to locate the files on the Hub and we cannot find the appropriate snapshot folder for the specified revision on the local disk. Please check your internet connection and try again.```

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