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
Hi @stodoran, thanks for reporting. Indeed, this looks like a bug that could be avoided. Would you mind opened a PR to add a try/except OSError: pass statement around those two lines ? (and add a comment about why). Thanks!
Describe the bug
Even if all relevant files are downloaded to the folder specified by
HF_HUB_CACHE
, thehf_hub_download
function will always fail due to these lines.Reproduction
/hf_cache
huggingface-cli download Qwen/Qwen2.5-32B-Instruct
/hf_cache
to readonly modeAutoModel.from_pretrained("Qwen/Qwen2.5-32B-Instruct")
Logs
System info
The text was updated successfully, but these errors were encountered: