You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Invalid repo_id: Studio rejects valid HF repo with 100-char namespace/repo_name (96-char limit applied to full string instead of name segment) #6946
Unsloth Studio v2026.7.1 rejects a valid HuggingFace repo_id because is_valid_repo_id() in studio/backend/hub/utils/paths.py applies the 96-character length limit to the full namespace/repo_name string instead of to the repo name segment individually.
where _MAX_REPO_ID_LENGTH = 96. This applies the 96-char limit to the entire namespace/repo_name string.
However, HuggingFace Hub's own validate_repo_id() in huggingface_hub applies the 96-char limit to the repo name segment only (the part after /), not to the combined string. The repo name is 92 chars, which is within the 96-char limit.
The Fix
The length check should be applied per-segment, not to the full string:
Any HuggingFace repo where namespace/ + repo_name exceeds 96 characters total will be rejected by Unsloth Studio, even though the repo name itself is within HuggingFace's 96-char limit and the repo loads fine via huggingface_hub directly.
This affects many DavidAU GGUF repos (which tend to have long descriptive names) and potentially other community model repos.
Workaround
I patched paths.py on my server and the model loads correctly. The fix is a one-line change (move the length check inside the segment loop).
Environment
OS: Arch Linux ARM (aarch64)
Install method: curl-based Unsloth Studio installer
Python: 3.13.11 (uv-managed venv at ~/.unsloth/studio/unsloth_studio/)
Activity
fix(studio/hub): apply repo_id length limit per segment, not whole st…