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
If possible, I would love to work on this issue, as this will be my first contribution to Hugging Face (Thus, might require some guidance in implementing test cases 😄).
Hi there! Thanks both for proposing yourself 🤗 To avoid having duplicated work, let's say that @devesh-2002 you can start working on it and ping us once you have a working PR. @mohitmarvania if your first contribution is not on this one, feel free to pick another one to get started 😀
Hey @Wauplin, this sounds like a great improvement! I’d love to work on it.
My plan is to update the CLI so that if local_path contains a , it automatically sets local_path="." and include=".safetensors" before calling upload_folder. That way, huggingface-cli upload my-cool-model *.safetensors will work just like the existing --include method
It would be a nice QoL improvement to be able to do
to upload all local safetensors files to the Hub at once.
At the moment this is possible by doing
To do so, one would need to:
local_path
contains a wildcard*
local_path="."
andinclude="*.safetensors"
before callingupload_folder
cc @julien-c who begged for it on slack (internal link) 😂
The text was updated successfully, but these errors were encountered: