Closed XiaofuHuang closed 1 month ago
Hi @XiaofuHuang, thanks for reporting this issue. It looks like this can happen in some rare cases because of a concurrency issue. I opened https://github.com/huggingface/huggingface_hub/pull/2288 to fix this. Since .gitignore file creation is not too important, I think it's best not to raise an error at this stage if we can't create it.
Describe the bug
Failed to download microsoft/Phi-3-mini-4k-instruct repo into local dir using huggingface cli
Reproduction
Run command:
huggingface-cli download microsoft/Phi-3-mini-4k-instruct --revision main --local-dir ./model-cache/microsoft/Phi-3-mini-4k-instruct
Logs
System info