Skip to content

Breaking change: perf: Enable scheduling overlap by default - #4174

Merged
kaiyux merged 3 commits into
NVIDIA:mainfrom
kaiyux:user/kaiyu/def_schedule_overlap
May 15, 2025
Merged

Breaking change: perf: Enable scheduling overlap by default#4174
kaiyux merged 3 commits into
NVIDIA:mainfrom
kaiyux:user/kaiyu/def_schedule_overlap

Conversation

@kaiyux

@kaiyux kaiyux commented May 9, 2025

Copy link
Copy Markdown
Member

This PR:

  1. Renamed the enable_overlap_scheduler argument in PyTorchConfig to disable_overlap_scheduler.
  2. Enabling scheduling overlap by default.

@kaiyux

kaiyux commented May 9, 2025

Copy link
Copy Markdown
Member Author

/bot run --disable-fail-fast

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR reverses the overlap scheduler flag by replacing the old “enable_overlap_scheduler” parameter with “disable_overlap_scheduler” (defaulted to False) across the codebase to enable scheduling overlap by default.

  • Inverted the flag logic in all relevant modules (worker, executor, pyexecutor, model_engine, decoder, etc.).
  • Updated CLI examples, documentation, and configuration files to reflect the new “disable_overlap_scheduler” naming and semantics.

Reviewed Changes

Copilot reviewed 47 out of 47 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tensorrt_llm/scaffolding/worker.py Parameter renamed and updated in worker initialization.
tensorrt_llm/executor/worker.py Flag condition inverted for determining scheduling overlap.
tensorrt_llm/commands/* Removed legacy flag usage in serve and eval commands.
tensorrt_llm/_torch/pyexecutor/* Multiple files updated to invert flag logic consistently.
examples/* and docs/* CLI/example scripts and documentation now reference the new flag.

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #4651 [ run ] triggered by Bot

@kaiyux
kaiyux requested a review from amukkara May 9, 2025 06:13
@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #4651 [ run ] completed with state SUCCESS
/LLM/main/L0_MergeRequest_PR pipeline #3354 completed with status: 'FAILURE'

@kaiyux
kaiyux force-pushed the user/kaiyu/def_schedule_overlap branch from 8e4b83f to dfd073f Compare May 9, 2025 09:03
@kaiyux

kaiyux commented May 9, 2025

Copy link
Copy Markdown
Member Author

/bot run --disable-fail-fast

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #4692 [ run ] triggered by Bot

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #4692 [ run ] completed with state SUCCESS
/LLM/main/L0_MergeRequest_PR pipeline #3382 completed with status: 'FAILURE'

@kaiyux
kaiyux force-pushed the user/kaiyu/def_schedule_overlap branch from dfd073f to 3c8cf62 Compare May 11, 2025 07:20
@kaiyux

kaiyux commented May 11, 2025

Copy link
Copy Markdown
Member Author

/bot run --disable-fail-fast

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #4767 [ run ] triggered by Bot

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #4767 [ run ] completed with state SUCCESS
/LLM/main/L0_MergeRequest_PR pipeline #3443 completed with status: 'FAILURE'

@QiJune

QiJune commented May 12, 2025

Copy link
Copy Markdown
Collaborator

/bot run --disable-fail-fast

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #4790 [ run ] triggered by Bot

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #4790 [ run ] completed with state SUCCESS
/LLM/main/L0_MergeRequest_PR pipeline #3464 completed with status: 'FAILURE'

@kaiyux

kaiyux commented May 14, 2025

Copy link
Copy Markdown
Member Author

/bot run --disable-fail-fast --add-multi-gpu-test

@kaiyux
kaiyux enabled auto-merge (squash) May 14, 2025 01:33
@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #5075 [ run ] triggered by Bot

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #5075 [ run ] completed with state SUCCESS
/LLM/main/L0_MergeRequest_PR pipeline #3694 completed with status: 'FAILURE'

@kaiyux

kaiyux commented May 14, 2025

Copy link
Copy Markdown
Member Author

/bot run --stage-list "DGX_H100-4_GPUs-PyTorch-Others-1"

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #5127 [ run ] triggered by Bot

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #5127 [ run ] completed with state SUCCESS
/LLM/main/L0_MergeRequest_PR pipeline #3733 (Partly Tested) completed with status: 'FAILURE'

@kaiyux
kaiyux force-pushed the user/kaiyu/def_schedule_overlap branch from fdeeb26 to cc02fae Compare May 14, 2025 12:10
@kaiyux

kaiyux commented May 14, 2025

Copy link
Copy Markdown
Member Author

/bot run --disable-fail-fast --add-multi-gpu-test

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #5171 [ run ] triggered by Bot

@lucaslie lucaslie added the AutoDeploy <NV> AutoDeploy Backend label May 14, 2025
@lucaslie lucaslie removed the AutoDeploy <NV> AutoDeploy Backend label May 14, 2025
@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #5171 [ run ] completed with state FAILURE
/LLM/main/L0_MergeRequest_PR pipeline #3772 completed with status: 'FAILURE'

kaiyux added 3 commits May 15, 2025 00:53
Signed-off-by: Kaiyu Xie <26294424+kaiyux@users.noreply.github.com>

Fix

Signed-off-by: Kaiyu Xie <26294424+kaiyux@users.noreply.github.com>

Fix test_ptp_quickstart_advanced_eagle3

Signed-off-by: Kaiyu Xie <26294424+kaiyux@users.noreply.github.com>

Fix

Signed-off-by: Kaiyu Xie <26294424+kaiyux@users.noreply.github.com>

Fix

Signed-off-by: Kaiyu Xie <26294424+kaiyux@users.noreply.github.com>

Fix

Signed-off-by: Kaiyu Xie <26294424+kaiyux@users.noreply.github.com>
Signed-off-by: Kaiyu Xie <26294424+kaiyux@users.noreply.github.com>
Signed-off-by: Kaiyu Xie <26294424+kaiyux@users.noreply.github.com>
@kaiyux
kaiyux force-pushed the user/kaiyu/def_schedule_overlap branch from cc02fae to a0ac332 Compare May 15, 2025 01:06
@kaiyux

kaiyux commented May 15, 2025

Copy link
Copy Markdown
Member Author

/bot run --disable-fail-fast --add-multi-gpu-test

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #5227 [ run ] triggered by Bot

@kaiyux

kaiyux commented May 15, 2025

Copy link
Copy Markdown
Member Author

Pre-merge pipeline has passed, merging this in case there are going to be more conflicts.

@kaiyux

kaiyux commented May 15, 2025

Copy link
Copy Markdown
Member Author

/bot skip --comment "pre-merge pipeline has passed"

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #5278 [ skip ] triggered by Bot

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #5227 [ run ] completed with state ABORTED

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #5278 [ skip ] completed with state SUCCESS
Skipping testing for commit a0ac332

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.