Skip to content
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

Add "size" parameter for lfsFiles for commit API #1047

Closed
coyotte508 opened this issue Sep 13, 2022 · 0 comments · Fixed by #1048
Closed

Add "size" parameter for lfsFiles for commit API #1047

coyotte508 opened this issue Sep 13, 2022 · 0 comments · Fixed by #1048
Assignees
Labels

Comments

@coyotte508
Copy link
Member

huggingface.co's API was updated to add a new optional "size" parameters for the /commit endpoint for the lfsFiles property, which helps make the commit faster.

Along side oid, path and algo, size should be a number containing the fullsize of the uploaded LFS file

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant