Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
norm
vllm
Commits
75beba29
Unverified
Commit
75beba29
authored
Jul 08, 2023
by
Fazlul Shahriar
Committed by
GitHub
Jul 08, 2023
Browse files
Don't try to load training_args.bin (#373)
parent
ddfdf470
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
vllm/model_executor/weight_utils.py
vllm/model_executor/weight_utils.py
+4
-1
No files found.
vllm/model_executor/weight_utils.py
View file @
75beba29
...
@@ -39,7 +39,10 @@ def hf_model_weights_iterator(
...
@@ -39,7 +39,10 @@ def hf_model_weights_iterator(
else
:
else
:
hf_folder
=
model_name_or_path
hf_folder
=
model_name_or_path
hf_bin_files
=
glob
.
glob
(
os
.
path
.
join
(
hf_folder
,
"*.bin"
))
hf_bin_files
=
[
x
for
x
in
glob
.
glob
(
os
.
path
.
join
(
hf_folder
,
"*.bin"
))
if
not
x
.
endswith
(
"training_args.bin"
)
]
if
use_np_cache
:
if
use_np_cache
:
# Convert the model weights from torch tensors to numpy arrays for
# Convert the model weights from torch tensors to numpy arrays for
...
...
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