-
Notifications
You must be signed in to change notification settings - Fork 632
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[Doc] Update "Download files from the Hub" doc #948
Conversation
The documentation is not available anymore as the PR was closed or merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love simplifying it to just use hf_hub_download
instead of (hf_hub_url
+ cached_download
)!
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this PR!
@@ -4,8 +4,6 @@ | |||
|
|||
[[autodoc]] huggingface_hub.snapshot_download | |||
|
|||
[[autodoc]] huggingface_hub.cached_download |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are we removing this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's deprecated so I wouldn't promote the method in the package reference anymore.
Do you feel strongly otherwise?
Co-authored-by: Omar Sanseviero <osanseviero@gmail.com>
Co-authored-by: Simon Brandeis <33657802+SBrandeis@users.noreply.github.com>
Ok, this seems to be in good shape, I'll merge it soon and we can always iterate in later PRs. Also tagging @Wauplin for review when he joins=) |
Main change is not promote the deprecated
cached_download
anymore, and instead focus primarily onhf_hub_download