Skip to content

snapshot_download should offer a way to get progress #1331

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

Open
jeffmaury opened this issue Apr 2, 2025 · 1 comment
Open

snapshot_download should offer a way to get progress #1331

jeffmaury opened this issue Apr 2, 2025 · 1 comment

Comments

@jeffmaury
Copy link
Contributor

When processing a model download, it should be fine to get progress about the download.

Proposal: offer a callback that returns the percentage, maybe after each file is downloaded ?

WDYT @axel7083

@coyotte508
Copy link
Member

For reference, there are two function to upload files, uploadFiles which returns a Promise, and uploadFilesWithProgress which returns an async generator.

The same can be done here

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

No branches or pull requests

2 participants