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
2c9b6380
Unverified
Commit
2c9b6380
authored
Dec 17, 2023
by
Woosuk Kwon
Committed by
GitHub
Dec 17, 2023
Browse files
[Minor] Fix a typo in .pt weight support (#2160)
parent
a7347d9a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/model_executor/weight_utils.py
vllm/model_executor/weight_utils.py
+1
-1
No files found.
vllm/model_executor/weight_utils.py
View file @
2c9b6380
...
@@ -146,7 +146,7 @@ def prepare_hf_model_weights(
...
@@ -146,7 +146,7 @@ def prepare_hf_model_weights(
raise
ValueError
(
f
"Unknown load_format:
{
load_format
}
"
)
raise
ValueError
(
f
"Unknown load_format:
{
load_format
}
"
)
if
fall_back_to_pt
:
if
fall_back_to_pt
:
allow_patterns
+=
[
".pt"
]
allow_patterns
+=
[
"
*
.pt"
]
if
not
is_local
:
if
not
is_local
:
# Use file lock to prevent multiple processes from
# Use file lock to prevent multiple processes from
...
...
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