Skip to content

[Misc]: 使用vllm-ascend:v0.11.0rc0镜像 vLLM 在昇腾(Ascend)后端的一个调度器(scheduler)逻辑 bug 访问越界 #4207

@helloworlder8

Description

@helloworlder8

Anything you want to discuss about vllm on ascend.

(EngineCore_DP0 pid=98) ERROR 11-13 06:57:02 [core.py:710] engine_core.run_busy_loop()
(EngineCore_DP0 pid=98) ERROR 11-13 06:57:02 [core.py:710] File "/vllm-workspace/vllm/vllm/v1/engine/core.py", line 728, in run_busy_loop
(EngineCore_DP0 pid=98) ERROR 11-13 06:57:02 [core.py:710] self._process_engine_step()
(EngineCore_DP0 pid=98) ERROR 11-13 06:57:02 [core.py:710] File "/vllm-workspace/vllm/vllm/v1/engine/core.py", line 754, in _process_engine_step
(EngineCore_DP0 pid=98) ERROR 11-13 06:57:02 [core.py:710] outputs, model_executed = self.step_fn()
(EngineCore_DP0 pid=98) ERROR 11-13 06:57:02 [core.py:710] ^^^^^^^^^^^^^^
(EngineCore_DP0 pid=98) ERROR 11-13 06:57:02 [core.py:710] File "/vllm-workspace/vllm/vllm/v1/engine/core.py", line 283, in step
(EngineCore_DP0 pid=98) ERROR 11-13 06:57:02 [core.py:710] scheduler_output = self.scheduler.schedule()
(EngineCore_DP0 pid=98) ERROR 11-13 06:57:02 [core.py:710] ^^^^^^^^^^^^^^^^^^^^^^^^^
(EngineCore_DP0 pid=98) ERROR 11-13 06:57:02 [core.py:710] File "/vllm-workspace/vllm-ascend/vllm_ascend/core/scheduler.py", line 209, in schedule
(EngineCore_DP0 pid=98) ERROR 11-13 06:57:02 [core.py:710] blocks = new_computed_blocks.blocks[0]
(EngineCore_DP0 pid=98) ERROR 11-13 06:57:02 [core.py:710] ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
(EngineCore_DP0 pid=98) ERROR 11-13 06:57:02 [core.py:710] IndexError: tuple index out of range

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions