Skip to content

[None][fix] revert git pin in 8f04d3a - #21128

Closed
tburt-nv wants to merge 2 commits into
NVIDIA:mainfrom
tburt-nv:user/tburt/revert_pin
Closed

tburt-nv wants to merge 2 commits into
NVIDIA:mainfrom
tburt-nv:user/tburt/revert_pin

Conversation

@tburt-nv

@tburt-nv tburt-nv commented Oct 27, 2026 •

Copy link
Copy Markdown
Collaborator

Description

As part of mass-merge PR #20232, commit 8f04d3a introduced a direct URL reference to the TRT-LLM wheel's dependencies, which makes it unreleaseable. This PR reverts that change so that we can release the wheel again.

Test Coverage

PR Checklist

Please review the following before submitting your PR:

  • PR description clearly explains what and why. If using CodeRabbit's summary, please make sure it makes sense.

  • PR Follows TRT-LLM CODING GUIDELINES to the best of your knowledge.

  • Test cases are provided for new code paths (see test instructions)

  • If PR introduces API changes, an appropriate PR label is added - either api-compatible or api-breaking. For api-breaking, include BREAKING in the PR title.

  • Any new dependencies have been scanned for license and vulnerabilities

  • CODEOWNERS updated if ownership changes

  • Documentation updated as needed

  • Update tava architecture diagram if there is a significant design change in PR.

  • The reviewers assigned automatically/manually are appropriate for the PR.

  • Please check this after reviewing the above items as appropriate for this PR.

GitHub Bot Help

To see a list of available CI bot commands, please comment /bot help.

Dev Engineer Review

  • requirements-dev.txt no longer pins LMBenchmark through a Git URL. The integration-test fixture installs the pinned revision before resolving its script.
  • The missing-package error now reflects failure after fixture setup. The full QPS-sweep test docstring identifies it as a post-merge/nightly test and notes its approximate runtime.
  • CI reports mixed results: PR_Github #80957 succeeded, while /LLM/main/L0_MergeRequest_PR #66679 failed. The supplied context does not include failure details or a resolution.

QA Engineer Review

  • The prefix-aware scheduling integration test changed. Its smoke test is listed in CI for B200 and H100, and in the manual-QA list. H100 also lists the parameterized cases. The B300 smoke case has a recorded waiver.
  • Coverage verdict: needs follow-up. The CI failure has no supplied details, and no completion result is provided for the later run triggered for commit 1959aee.

Per-File QA Perspective

  • requirements-dev.txt: Removing the Git dependency changes the development dependency set. Verify that release workflows do not require this dependency outside the integration-test fixture.
  • tests/integration/defs/kv_cache/test_prefix_aware_scheduling.py: The fixture installs the pinned LMBenchmark revision before resolving its script. The smoke test is listed in test-db/l0_b200.yml, test-db/l0_h100.yml, and qa/llm_function_core.txt; the H100 list also includes parameterized cases. The B300 smoke case is waived in waives.txt.

Signed-off-by: Tyler Burt <195370667+tburt-nv@users.noreply.github.com>
@tburt-nv

Copy link
Copy Markdown
Collaborator Author

/bot run --disable-fail-fast

@coderabbitai

coderabbitai Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
Commits

Reviewing files that changed from the base of the PR and between c55d5b1 and 1959aee.

Files selected for processing: 1
  • tests/integration/defs/kv_cache/test_prefix_aware_scheduling.py

Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 10 remain after this review.

Walkthrough

The pinned LMBenchmark Git dependency was removed from requirements-dev.txt and added to the prefix-aware scheduling test fixture. The test’s missing-package message and QPS-sweep docstring were also updated.

Changes

Benchmark provisioning

Layer / File(s) Summary
Install LMBenchmark in the test fixture
requirements-dev.txt, tests/integration/defs/kv_cache/test_prefix_aware_scheduling.py
The shared development requirements no longer include LMBenchmark. The test fixture installs the pinned package before resolving its script. The missing-package message and QPS-sweep docstring were updated.

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Bug fix

Suggested reviewers: xinhe-nv

Merge Risk: Low · up to 1959a

Transient network failures can still prevent the affected CI tests from starting. This is a low merge risk but merits follow-up.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title clearly identifies the fix: reverting the git pin introduced by commit 8f04d3a.
Description check Passed The description explains the release issue and the intended revert. It includes the required sections and checklist. The Test Coverage section is empty, but this is a minor omission for this dependenc…
Docstring Coverage Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Description check

Explanation

The description explains the release issue and the intended revert. It includes the required sections and checklist. The Test Coverage section is empty, but this is a minor omission for this dependency-only change.

Full details: Docstring Coverage

Explanation

Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 2 functions across 1 files.

Finishing Touches
Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #80957 [ run ] triggered by Bot. Commit: c55d5b1 Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #80957 [ run ] completed with state SUCCESS. Commit: c55d5b1
/LLM/main/L0_MergeRequest_PR pipeline #66679 completed with status: 'FAILURE'

CI Report

⚠️ Action Required:

  • Please check the failed tests and fix your PR
  • If you cannot view the failures, ask the CI triggerer to share details
  • Once fixed, request an NVIDIA team member to trigger CI again

CI Agent Failure Analysis

Link to invocation

chzblych pushed a commit that referenced this pull request Oct 28, 2026
Signed-off-by: Tyler Burt <195370667+tburt-nv@users.noreply.github.com>

(cherry picked from commit c55d5b1)
Signed-off-by: Yanchao Lu <yanchaol@nvidia.com>
chzblych pushed a commit that referenced this pull request Oct 28, 2026
Signed-off-by: Tyler Burt <195370667+tburt-nv@users.noreply.github.com>

(cherry picked from commit c55d5b1)
Signed-off-by: Yanchao Lu <yanchaol@nvidia.com>
global LMBENCHMARK_SCRIPT

llm_venv.run_cmd(["-m", "pip", "install", _LMBENCHMARK_INSTALL_SPEC], timeout=600)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@tburt-nv Could we add retries around this install to tolerate transient network failures during Git checkout or dependency installation? The existing timeout already handles stalled installs; a small retry would help with temporary failures that exit early.

@github-actions

Copy link
Copy Markdown

Automatically added "ci: full pre-merge approved" because this PR has satisfied the required GitHub review approvals. Unresolved review conversations and other required checks remain independent merge requirements.

@brnguyen2 brnguyen2 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Approving — the comments below are optional touch-ups, not blockers.

This restores the pre-#20232 LMBenchmark handling exactly, and leaves the unrelated grace_s change from that merge in place. The reason checks out: setup.py:160 reads requirements-dev.txt into the devel extra, so the benchmark @ git+... line ended up as a direct-URL dependency in the wheel metadata.

The git install now runs at fixture time, so these l0 tests depend on GitHub being reachable from CI again, same as before #20232. That is fine for now. If the owners want the pin back in a requirements file later, it needs to go in one that setup.py doesn't read.


This is a correctness stress test; request latency is reported but is
not a pass/fail threshold.
NOTE: This test is intended for post-merge / nightly CI due to its

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This revert brings back the "intended for post-merge / nightly CI" note, but test_multi_round_qa_shared_prefix[*] is listed in pre-merge l0_h100.yml (lines 235-242). Consider keeping the newer "correctness stress test; latency is not a pass/fail threshold" wording so the docstring doesn't contradict the test lists.

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #81943 [ run ] triggered by Bot. Commit: 1959aee Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #81943 [ run ] completed with state SUCCESS. Commit: 1959aee
/LLM/main/L0_MergeRequest_PR pipeline #67591 completed with status: 'FAILURE'

CI Report

⚠️ Action Required:

  • Please check the failed tests and fix your PR
  • If you cannot view the failures, ask the CI triggerer to share details
  • Once fixed, request an NVIDIA team member to trigger CI again

CI Agent Failure Analysis

Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #82028 [ run ] triggered by Bot. Commit: 1959aee Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #82028 [ run ] completed with state SUCCESS. Commit: 1959aee
/LLM/main/L0_MergeRequest_PR pipeline #67668 completed with status: 'SUCCESS'

CI Report

Link to invocation

@niukuo niukuo mentioned this pull request Nov 3, 2026
1 task done
@chzblych

chzblych commented Nov 3, 2026

Copy link
Copy Markdown
Collaborator

Resolved two open comments, and merged #21502 instead.

@chzblych chzblych closed this Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants