mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-09-09 02:37:01 +08:00
Fix broken example: examples/offline_inference/profiling at scheduler_config (#18117)
This commit is contained in:
parent
4f8b373225
commit
33011318c2
@ -193,7 +193,7 @@ def run_profile(context: ProfileContext, csv_output: Optional[str],
|
|||||||
batch_size = context.batch_size
|
batch_size = context.batch_size
|
||||||
prompt_len = context.prompt_len
|
prompt_len = context.prompt_len
|
||||||
|
|
||||||
scheduler_config = llm.llm_engine.scheduler_config
|
scheduler_config = llm.llm_engine.vllm_config.scheduler_config
|
||||||
max_model_len = llm.llm_engine.model_config.max_model_len
|
max_model_len = llm.llm_engine.model_config.max_model_len
|
||||||
max_num_batched_tokens = scheduler_config.max_num_batched_tokens
|
max_num_batched_tokens = scheduler_config.max_num_batched_tokens
|
||||||
max_num_seqs = scheduler_config.max_num_seqs
|
max_num_seqs = scheduler_config.max_num_seqs
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user