Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions vllm/config/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,10 @@
structured outputs, speculative decoding, and pipeline parallelism.
"""

split_prefill_from_chunk: bool = False
"""Whether to split the prefill request into pure prefill and chunked prefill in a single

Check failure on line 163 in vllm/config/scheduler.py

View workflow job for this annotation

GitHub Actions / pre-commit

Ruff (E501)

vllm/config/scheduler.py:163:81: E501 Line too long (93 > 80)
batch."""

def compute_hash(self) -> str:
"""
WARNING: Whenever a new field is added to this config,
Expand Down
4 changes: 4 additions & 0 deletions vllm/platforms/rocm.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,10 @@
else:
parallel_config.worker_cls = "vllm.worker.worker.Worker"

if envs.VLLM_ROCM_USE_AITER and envs.VLLM_ROCM_USE_AITER_MHA:
# enable the request reorder if we are using AITER MHA for calculation

Check failure on line 344 in vllm/platforms/rocm.py

View workflow job for this annotation

GitHub Actions / pre-commit

Ruff (E501)

vllm/platforms/rocm.py:344:81: E501 Line too long (82 > 80)
vllm_config.scheduler_config.split_prefill_from_chunk = True

@classmethod
def verify_model_arch(cls, model_arch: str) -> None:
if model_arch in _ROCM_UNSUPPORTED_MODELS:
Expand Down
Loading