Skip to content

Commit 9195d4e

Browse files
committed
update torchao safetensors impl
Signed-off-by: Angel Li <liangel@meta.com>
1 parent 1109f98 commit 9195d4e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

vllm/model_executor/model_loader/weight_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -667,6 +667,7 @@ def safetensors_weights_iterator(
667667
)
668668

669669
with safe_open(st_file, framework="pt") as f:
670+
state_dict = {}
670671
for name in f.keys(): # noqa: SIM118
671672
state_dict[name] = f.get_tensor(name)
672673

0 commit comments

Comments
 (0)