Closed Wauplin closed 5 days ago
Hey @Wauplin, thanks for the PR, I'll check that it works before merging this!
I actually didn't run linter on the newest version, I'll make sure to do it once after merging this PR
Thanks for the review and thanks for testing @ylacombe! Feel free to merge whenever you want/it's ready :)
Many thanks for the PR @Wauplin! I've superseded the PR because we had some import issues!
Repository
is a deprecated feature inhuggingface_hub
. It is more robust to use the HTTP-based methods fromHfApi
instead. Here is a doc page explaining why it's better. Main reasons are 1. don't need to clone a repo to push files 2. faster upload speed 3. don't need git/git+lfs configured locally.transformers
switched to useHfApi
is all their training scripts in Aug 23' (see https://github.com/huggingface/transformers/pull/25095) without breaking. Let's do the same forparler-tts
!Disclaimer: I did not test those changes myself. Should be fine though.
(Sorry for the import sorting changes. Hope that's fine with you, otherwise I can revert. It is a
ruff format .
side-effect)Similar PRs: https://github.com/huggingface/peft/pull/1641 https://github.com/huggingface/accelerate/pull/2658