Skip to content

Commit 52b4373

Browse files
authored
Make hf-xet more silent (#3124)
1 parent bc8c13f commit 52b4373

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/huggingface_hub/file_download.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1706,7 +1706,7 @@ def _download_to_tmp_and_move(
17061706
_check_disk_space(expected_size, destination_path.parent)
17071707

17081708
if xet_file_data is not None and is_xet_available():
1709-
logger.info("Xet Storage is enabled for this repo. Downloading file from Xet Storage..")
1709+
logger.debug("Xet Storage is enabled for this repo. Downloading file from Xet Storage..")
17101710
xet_get(
17111711
incomplete_path=incomplete_path,
17121712
xet_file_data=xet_file_data,

src/huggingface_hub/hf_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4482,7 +4482,7 @@ def preupload_lfs_files(
44824482
isinstance(addition.path_or_fileobj, io.BufferedIOBase) for addition in new_lfs_additions_to_upload
44834483
)
44844484
if xet_enabled and not has_buffered_io_data and is_xet_available():
4485-
logger.info("Uploading files using Xet Storage..")
4485+
logger.debug("Uploading files using Xet Storage..")
44864486
_upload_xet_files(**upload_kwargs, create_pr=create_pr) # type: ignore [arg-type]
44874487
else:
44884488
if xet_enabled and is_xet_available():

0 commit comments

Comments
 (0)