huggingface_hub
ec8418fe - Expand file lock scope to resolve concurrency issues during downloads (#3063)

Commit
212 days ago
Expand file lock scope to resolve concurrency issues during downloads (#3063) * Fix race conditions on symlink-less filesystems by extending lock coverage * Update src/huggingface_hub/file_download.py Co-authored-by: célina <hanouticelina@gmail.com> * move normalization of lock_path before mkdir * Apply style fixes --------- Co-authored-by: célina <hanouticelina@gmail.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Author
Parents
Loading