mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-06-02 23:51:19 +08:00
[Bugfix] Fix f-string for Python 3.9-3.11 (#16962)
Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
This commit is contained in:
parent
71ce44047f
commit
d6da9322c8
@ -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:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user