Skip to content

Commit a72e737

Browse files
DarkLight1337adobrzyn
authored andcommitted
[Bugfix] Fix f-string for Python 3.9-3.11 (vllm-project#16962)
Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk> Signed-off-by: Agata Dobrzyniewicz <adobrzyniewicz@habana.ai>
1 parent f3aff39 commit a72e737

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vllm/model_executor/model_loader/loader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -703,7 +703,7 @@ def load_model(self, vllm_config: VllmConfig) -> nn.Module:
703703

704704
filepaths = []
705705
if is_s3(local_model_path):
706-
file_pattern = f"*{self.pattern.format(rank=rank, part=" * ")}"
706+
file_pattern = f"*{self.pattern.format(rank=rank, part=' * ')}"
707707
filepaths = s3_glob(path=local_model_path,
708708
allow_pattern=[file_pattern])
709709
else:

0 commit comments

Comments
 (0)