mirror of
https://github.com/NVIDIA/TensorRT-LLM.git
synced 2026-01-14 06:27:45 +08:00
[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:
parent
e8c9bae37e
commit
795a051765
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user