Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
4b03b502
Unverified
Commit
4b03b502
authored
Dec 08, 2025
by
liangel-02
Committed by
GitHub
Dec 09, 2025
Browse files
update torchao safetensors impl (#30155)
Signed-off-by:
Angel Li
<
liangel@meta.com
>
parent
4c6fd258
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/model_executor/model_loader/weight_utils.py
vllm/model_executor/model_loader/weight_utils.py
+1
-1
No files found.
vllm/model_executor/model_loader/weight_utils.py
View file @
4b03b502
...
...
@@ -641,7 +641,6 @@ def safetensors_weights_iterator(
if
safetensors_load_strategy
==
"eager"
:
loading_desc
+=
" (eager)"
state_dict
=
{}
leftover_state_dict
:
dict
[
str
,
torch
.
Tensor
]
=
{}
for
st_file
in
tqdm
(
...
...
@@ -667,6 +666,7 @@ def safetensors_weights_iterator(
)
with
safe_open
(
st_file
,
framework
=
"pt"
)
as
f
:
state_dict
=
{}
for
name
in
f
.
keys
():
# noqa: SIM118
state_dict
[
name
]
=
f
.
get_tensor
(
name
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment