Skip to content

Progress Callback for Downloading Models #9437

Answered by bmaxdk
fakerybakery asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, you can use your own custom calllback. in that case, you can use hf_hub_download.

hf_hub_download(repo_id=repo_id, filename=filename, progress_callback=progress_callback)

hf_hub_download suposrt hf_hub_download function does support a your own progress_callback parameter to track download progress

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@fakerybakery
Comment options

@bmaxdk
Comment options

Answer selected by fakerybakery
@fakerybakery
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants