Skip to content

Cleanup and add new test cases #1

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

Conversation

ardaatahan
Copy link

This PR:

  • Improves the incomplete download logic by downloading first to the cache directory then moves complete downloads to their final locations. This decreases swift-transformers' download logic parity with the huggingface_hub library as laid out here.
  • Adds two test cases to verify functionality.

@DePasqualeOrg DePasqualeOrg merged commit 94032f4 into DePasqualeOrg:improve-resumable-downloads Apr 16, 2025
DePasqualeOrg added a commit that referenced this pull request Apr 16, 2025
…oads"

This reverts commit 94032f4, reversing
changes made to ba49d2f.
DePasqualeOrg added a commit that referenced this pull request Apr 16, 2025
…oads"

This reverts commit 94032f4, reversing
changes made to ba49d2f.
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.

3 participants