[None][chore] Print log with time for starting to load safetensor weights (#8218)

Signed-off-by: Hui Gao <huig@nvidia.com>
This commit is contained in:
HuiGao-NV 2025-10-10 13:54:54 +08:00 committed by GitHub
parent e8c9bae37e
commit 795a051765
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -92,6 +92,7 @@ class HfWeightLoader(BaseWeightLoader):
@staticmethod
def _load_safetensors_file(file):
logger.info(f"Start to load safetensor file {file}")
return safetensors.torch.load_file(file)
@staticmethod