Skip to content

Maybe the downloader should fallback to python's huggingface_hub #57

Description

@HenkPoley

..and/or just store the initial download in ~/.cache/huggingface/hub/.


I got errors from basert: "No such file or directory (is error 2)". Recovered the failed download, when my computer went into standby, with:

mkdir download_qwen3.8-27B_for_basert
cd download_qwen3.8-27B_for_basert
uv add huggingface_hub

Create a download_qwen3.8-27B_for_basert.py file there with:

from huggingface_hub import snapshot_download

path = snapshot_download(
    repo_id="Qwen/Qwen3.8-27B",
    revision="main",
    cache_dir="~/Library/Caches/baseRT/models/.src/hf",
    max_workers=8,
)

print(f"\nDownloaded snapshot:\n{path}")
uv run download_qwen3.8-27B_for_basert.py
basert pull Qwen/Qwen3.8-27B

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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