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
d6da9322
Unverified
Commit
d6da9322
authored
Apr 22, 2025
by
Cyrus Leung
Committed by
GitHub
Apr 21, 2025
Browse files
[Bugfix] Fix f-string for Python 3.9-3.11 (#16962)
Signed-off-by:
DarkLight1337
<
tlleungac@connect.ust.hk
>
parent
71ce4404
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/loader.py
vllm/model_executor/model_loader/loader.py
+1
-1
No files found.
vllm/model_executor/model_loader/loader.py
View file @
d6da9322
...
@@ -703,7 +703,7 @@ class ShardedStateLoader(BaseModelLoader):
...
@@ -703,7 +703,7 @@ class ShardedStateLoader(BaseModelLoader):
filepaths
=
[]
filepaths
=
[]
if
is_s3
(
local_model_path
):
if
is_s3
(
local_model_path
):
file_pattern
=
f
"*
{
self
.
pattern
.
format
(
rank
=
rank
,
part
=
"
*
"
)
}
"
file_pattern
=
f
"*
{
self
.
pattern
.
format
(
rank
=
rank
,
part
=
'
*
'
)
}
"
filepaths
=
s3_glob
(
path
=
local_model_path
,
filepaths
=
s3_glob
(
path
=
local_model_path
,
allow_pattern
=
[
file_pattern
])
allow_pattern
=
[
file_pattern
])
else
:
else
:
...
...
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