huggingface_hub
129994a2 - feat: add `hf_transfer` upload (#1395)

Commit
3 years ago
feat: add `hf_transfer` upload (#1395) * feat: add `hf_transfer` upload * feat: update `hf_transfer.upload` function args * fix: wording `downloading` -> `uploading` * refacto: use kwargs for every function arg Co-authored-by: Lucain <lucainp@gmail.com> * fix: print warning and fallback to default upload * refacto: run `make style` & `make quality` * fix: do not use thread_map when using hf transfer * refacto: use normal assign for use_hf_transfer rather than using unnecessary compound assignment Co-authored-by: Lucain <lucainp@gmail.com> * refacto: update hf_transfer to support only multipart * docs: update doc string as lfs_upload was removed * refacto: update chunk size err msg Co-authored-by: Lucain <lucainp@gmail.com> * feat: update hf_transfer API * feat: move completion call here * refacto: run make style * feat: hf_transfer API update * refacto: extract common operations to functions * Moved LFS stuff to lfS.py * fix tests * small --------- Co-authored-by: Lucain <lucainp@gmail.com>
Author
Parents
Loading