mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-03-23 20:21:21 +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 = []
|
||||
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,
|
||||
allow_pattern=[file_pattern])
|
||||
else:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user