Skip to content

Commit a03ea87

Browse files
authored
Update weight_utils.py
1 parent 5ceb884 commit a03ea87

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

vllm/model_executor/model_loader/weight_utils.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -494,8 +494,7 @@ def runai_safetensors_weights_iterator(
494494
disable=not use_tqdm_on_load,
495495
)
496496

497-
for name, tensor in tensor_iter:
498-
yield name, tensor
497+
yield from tensor_iter
499498

500499
def fastsafetensors_weights_iterator(
501500
hf_weights_files: list[str],

0 commit comments

Comments
 (0)