Skip to content

Upgrade pinned hf CLI to 1.26.0 for Xet-backed repos - #163

Open
Sullivan07043 wants to merge 2 commits into
NVIDIA:mainfrom
Sullivan07043:fix-hf-cli-xet
Open

Upgrade pinned hf CLI to 1.26.0 for Xet-backed repos#163
Sullivan07043 wants to merge 2 commits into
NVIDIA:mainfrom
Sullivan07043:fix-hf-cli-xet

Conversation

@Sullivan07043

Copy link
Copy Markdown

The locked hf 1.25.1 in cosmos_framework/utils/hf_cli fails on repositories migrated to Hugging Face Xet storage. Reproduced with the framework's own download path (checkpoint_db._hf_download) against nvidia/Cosmos-Guardrail1:

RuntimeError: Task error: Unable to parse string as hex hash value

The action-policy inference server hard-requires that download at startup, so serving is currently broken on a fresh machine.

Change. Bump the pin to hf==1.26.0 and regenerate uv.lock with the documented procedure from the file header (uv lock --upgrade-package hf). Two files, no code change.

Validation. On a fresh 8xA100 instance, cleared the model from the HF cache and re-ran the framework's exact download command with the new lock: full 3.5 GB snapshot (102 files) downloaded clean and returned the snapshot path.

Found while validating #162 on rented hardware.

Sullivan07043 and others added 2 commits August 4, 2026 18:09
The locked hf 1.25.1 fails on repositories migrated to Xet storage
(RuntimeError: Unable to parse string as hex hash value) during
nvidia/Cosmos-Guardrail1 download. hf 1.26.0 downloads the same
revision cleanly (verified with a full re-download).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants