Xet holds downloaded data in memory and writes the file in large, late chunks, so on-disk sizes showed little or no progress. For Xet runs, force hf's progress bars on (TQDM_POSITION=-1), read its running byte count and keep the bars out of the job log. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
4f05ee165c
commit
1d2f908b75
8 files changed
+131
-8
No files matched your search
@@ -107,7 +107,8 @@ Notes on the `hf` CLI (huggingface_hub 2.1.1, pinned in the image):
|
||||
Kaname cleans up the leftover partial files.
|
||||
- With Xet transfers the partial file only grows in large bursts, so Kaname disables Xet by default
|
||||
to show accurate progress. Files over 50 GB can only be downloaded with Xet, so a download that
|
||||
includes one uses Xet anyway.
|
||||
includes one uses Xet anyway; its progress then comes from `hf`'s own byte counter (the file on
|
||||
disk can sit still for minutes while Xet holds the data in memory).
|
||||
- `hf` exits successfully even if nothing matched, so Kaname checks every file's size and hash
|
||||
metadata after each download.
|
||||
- Files that already exist in the target folder without hf's metadata (copied in by hand) are
|
||||
|
||||
Reference in new issue
Block a user