Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request Persistent Storage #1571

Merged
merged 7 commits into from
Jul 26, 2023
Merged

Request Persistent Storage #1571

merged 7 commits into from
Jul 26, 2023

Conversation

freddyaboulton
Copy link
Contributor

Closes #1553

Will write unit tests tomorrow.

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Jul 26, 2023

The documentation is not available anymore as the PR was closed or merged.

Copy link
Contributor

@Wauplin Wauplin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really nice and clean implementation @freddyaboulton, thanks a lot!

I left a few minor comments but overall looks very clean. For the tests, I would just mock them as it is done for request_space_hardware (see here).

Also, could you add a section in the Manage your Space guide? (here). Thanks in advance!

src/huggingface_hub/hf_api.py Outdated Show resolved Hide resolved
src/huggingface_hub/hf_api.py Outdated Show resolved Hide resolved
src/huggingface_hub/hf_api.py Outdated Show resolved Hide resolved
@freddyaboulton
Copy link
Contributor Author

Thanks for the feedback @Wauplin ! I addressed your comments and added some unit tests + section to the guide.

Copy link
Contributor

@Wauplin Wauplin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thank you @freddyaboulton for the implementation :)

@Wauplin
Copy link
Contributor

Wauplin commented Jul 26, 2023

I have to fix the bugs in the CI but they are unrelated from your PR so it can be merged now :)

@Wauplin Wauplin merged commit aa4a792 into main Jul 26, 2023
13 of 16 checks passed
@Wauplin Wauplin deleted the 1553-persistent-storage branch July 26, 2023 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for Space Persistent Storage
3 participants