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

Add new LFS prune API #14294

Merged
merged 1 commit into from
Nov 5, 2021
Merged

Add new LFS prune API #14294

merged 1 commit into from
Nov 5, 2021

Conversation

sgugger
Copy link
Collaborator

@sgugger sgugger commented Nov 5, 2021

What does this PR do?

To avoid having local folders be too big, this PR enable auto_lfs_prune=True each time we use the huggingface_hub API.

Fixes #14157

Copy link
Member

@LysandreJik LysandreJik left a comment

Choose a reason for hiding this comment

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

LGTM

@sgugger sgugger merged commit 08a5f57 into master Nov 5, 2021
@sgugger sgugger deleted the auto_lfs_prune branch November 5, 2021 22:58
Albertobegue pushed a commit to Albertobegue/transformers that referenced this pull request Jan 27, 2022
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.

[Trainer] Push to hub takes too much space for local .git folder
2 participants