Skip to content

Commit 4dbdf4a

Browse files
[BUG] Fix file parsing for load_format runai_streamer_sharded (#26324)
Signed-off-by: ahao-anyscale <[email protected]>
1 parent c6873c4 commit 4dbdf4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vllm/model_executor/model_loader/sharded_state_loader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def load_weights(self, model: nn.Module, model_config: ModelConfig) -> None:
121121

122122
filepaths = []
123123
if is_s3(local_model_path):
124-
file_pattern = f"*{self.pattern.format(rank=rank, part=' * ')}"
124+
file_pattern = f"*{self.pattern.format(rank=rank, part='*')}"
125125
filepaths = s3_glob(path=local_model_path, allow_pattern=[file_pattern])
126126
else:
127127
filepaths = glob.glob(pattern)

0 commit comments

Comments
 (0)