Skip to content

Commit

Permalink
model config
Browse files Browse the repository at this point in the history
  • Loading branch information
jikunshang authored and xuechendi committed Nov 26, 2024
1 parent 83594f9 commit d0646ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vllm/engine/multiprocessing/mm_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,9 @@ def __init__(self,
models_load = [model_config.model for model_config in vllm_config.model_configs ]
self.engines = []

for model in models_load:
for i, model in enumerate(models_load):
print(f"create engine for model: {model}")
vllm_config.model_config = vllm_config.model_configs[i]
self.engines.append(LLMEngine(model=model, *args, **kwargs))
self.log_requests = log_requests

Expand Down

0 comments on commit d0646ac

Please sign in to comment.