Skip to content

Commit

Permalink
add logging
Browse files Browse the repository at this point in the history
  • Loading branch information
hanouticelina committed Feb 18, 2025
1 parent a917bf0 commit 5168d50
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/huggingface_hub/file_download.py
Original file line number Diff line number Diff line change
Expand Up @@ -1674,6 +1674,7 @@ def _download_to_tmp_and_move(
_check_disk_space(expected_size, destination_path.parent)

if xet_metadata is not None and xet_metadata.file_hash is not None:
logger.info("Xet Storage is enabled for this repo. Downloading file from Xet Storage..")
xet_get(
incomplete_path,
xet_metadata=xet_metadata,
Expand Down

0 comments on commit 5168d50

Please sign in to comment.