transformerlab-app icon indicating copy to clipboard operation
transformerlab-app copied to clipboard

Can we use HF's main progress bar to more accurately track downloads?

Open dadmobile opened this issue 11 months ago • 1 comments

https://github.com/huggingface/huggingface_hub/pull/1006

dadmobile avatar Jan 02 '25 21:01 dadmobile

Okay so I spent some time on this. I made a child class from tqdm.auto and tried to set that using monkey_patching for huggingface_hub.file_download but that doesn't work as multiple processes start the download. I'm also not able to use this by substituting hf_hub_download with snapshot_download and giving the same class for tqdm_class as described here: https://huggingface.co/docs/huggingface_hub/v0.31.0.rc0/en/package_reference/file_download#huggingface_hub.snapshot_download

deep1401 avatar May 06 '25 22:05 deep1401