Skip to content

Conversation

@wili-65535
Copy link
Collaborator

@wili-65535 wili-65535 commented Jul 11, 2025

Description

Previous PR5639.

Here we replace the class methods with stand-alone tool functions, including: update_from_model_config, get_draft_model_prompt, and get_num_extra_kv_tokens.

Test Coverage

GitHub Bot Help

/bot [-h] ['run', 'kill', 'skip', 'reuse-pipeline'] ...

Provide a user friendly way for developers to interact with a Jenkins server.

Run /bot [-h|--help] to print this help message.

See details below for each supported subcommand.

Details

run [--disable-fail-fast --skip-test --stage-list "A10-1, xxx" --gpu-type "A30, H100_PCIe" --add-multi-gpu-test --only-multi-gpu-test --disable-multi-gpu-test --post-merge --extra-stage "H100_PCIe-[Post-Merge]-1, xxx"]

Launch build/test pipelines. All previously running jobs will be killed.

--disable-fail-fast (OPTIONAL) : Disable fail fast on build/tests/infra failures.

--skip-test (OPTIONAL) : Skip all test stages, but still run build stages, package stages and sanity check stages. Note: Does NOT update GitHub check status.

--stage-list "A10-1, xxx" (OPTIONAL) : Only run the specified test stages. Examples: "A10-1, xxx". Note: Does NOT update GitHub check status.

--gpu-type "A30, H100_PCIe" (OPTIONAL) : Only run the test stages on the specified GPU types. Examples: "A30, H100_PCIe". Note: Does NOT update GitHub check status.

--only-multi-gpu-test (OPTIONAL) : Only run the multi-GPU tests. Note: Does NOT update GitHub check status.

--disable-multi-gpu-test (OPTIONAL) : Disable the multi-GPU tests. Note: Does NOT update GitHub check status.

--add-multi-gpu-test (OPTIONAL) : Force run the multi-GPU tests. Will also run L0 pre-merge pipeline.

--post-merge (OPTIONAL) : Run the L0 post-merge pipeline instead of the ordinary L0 pre-merge pipeline.

--extra-stage "H100_PCIe-[Post-Merge]-1, xxx" (OPTIONAL) : Run the ordinary L0 pre-merge pipeline and specified test stages. Examples: --extra-stage "H100_PCIe-[Post-Merge]-1, xxx".

For guidance on mapping tests to stage names, see docs/source/reference/ci-overview.md.

kill

kill

Kill all running builds associated with pull request.

skip

skip --comment COMMENT

Skip testing for latest commit on pull request. --comment "Reason for skipping build/test" is required. IMPORTANT NOTE: This is dangerous since lack of user care and validation can cause top of tree to break.

reuse-pipeline

reuse-pipeline

Reuse a previous pipeline to validate current commit. This action will also kill all currently running builds associated with the pull request. IMPORTANT NOTE: This is dangerous since lack of user care and validation can cause top of tree to break.

Summary by CodeRabbit

  • New Features

    • Improved handling of speculative decoding configurations for advanced model modes.
    • Enhanced validation to ensure draft model paths are specified for certain configurations.
  • Refactor

    • Replaced direct attribute access and methods in configuration classes with utility functions for managing speculative decoding logic.
    • Streamlined how draft prompts and extra key-value tokens are determined for speculative decoding.
  • Bug Fixes

    • Restored a previously disabled test prompt in draft target testing, improving test coverage.
  • Tests

    • Updated unit tests to re-enable a prompt for draft target validation.

@wili-65535 wili-65535 requested review from a team as code owners July 11, 2025 00:20
@wili-65535 wili-65535 requested review from dongxuy04 and yuxianq July 11, 2025 00:20
@NVIDIA NVIDIA deleted a comment from tensorrt-cicd Jul 11, 2025
@NVIDIA NVIDIA deleted a comment from tensorrt-cicd Jul 11, 2025
@wili-65535 wili-65535 force-pushed the user/wili/spec-configs branch from b773dd3 to 5f205d9 Compare July 11, 2025 07:57
@NVIDIA NVIDIA deleted a comment from tensorrt-cicd Jul 11, 2025
@NVIDIA NVIDIA deleted a comment from tensorrt-cicd Jul 11, 2025
@NVIDIA NVIDIA deleted a comment from tensorrt-cicd Jul 11, 2025
@NVIDIA NVIDIA deleted a comment from tensorrt-cicd Jul 11, 2025
@NVIDIA NVIDIA deleted a comment from tensorrt-cicd Jul 11, 2025
@NVIDIA NVIDIA deleted a comment from tensorrt-cicd Jul 11, 2025
@NVIDIA NVIDIA deleted a comment from tensorrt-cicd Jul 11, 2025
@NVIDIA NVIDIA deleted a comment from tensorrt-cicd Jul 11, 2025
@wili-65535
Copy link
Collaborator Author

/bot run --disable-fail-fast

@NVIDIA NVIDIA deleted a comment from tensorrt-cicd Jul 11, 2025
@NVIDIA NVIDIA deleted a comment from tensorrt-cicd Jul 11, 2025
@tensorrt-cicd
Copy link
Collaborator

PR_Github #11653 [ run ] triggered by Bot

@tensorrt-cicd
Copy link
Collaborator

PR_Github #11653 [ run ] completed with state SUCCESS
/LLM/main/L0_MergeRequest_PR pipeline #8629 completed with status: 'SUCCESS'

@wili-65535 wili-65535 force-pushed the user/wili/spec-configs branch from 57ec521 to fb30ad5 Compare July 21, 2025 06:21
@wili-65535 wili-65535 requested a review from a team as a code owner July 21, 2025 06:21
@wili-65535 wili-65535 requested a review from juney-nvidia July 21, 2025 06:21
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jul 21, 2025

## Walkthrough

This update refactors speculative decoding utility access across several modules, replacing direct attribute and method calls on configuration objects with new standalone utility functions. It also removes related methods and fields from configuration classes, updates public exports, and modifies a test prompt. These changes centralize speculative decoding logic and validation.

## Changes

| File(s)                                                                                      | Change Summary                                                                                         |
|---------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------|
| tensorrt_llm/_torch/pyexecutor/_util.py<br>tensorrt_llm/_torch/pyexecutor/model_engine.py<br>tensorrt_llm/_torch/pyexecutor/py_executor_creator.py<br>tensorrt_llm/_torch/pyexecutor/resource_manager.py | Refactored to use new utility functions (`get_num_extra_kv_tokens`, `update_spec_config_from_model_config`) instead of direct config attribute/method access. |
| tensorrt_llm/_torch/speculative/__init__.py                                                  | Added new utility functions to public exports (`__all__`).                                             |
| tensorrt_llm/_torch/speculative/model_drafter.py                                             | Replaced method call for draft prompt with new utility function.                                       |
| tensorrt_llm/_torch/speculative/utils.py                                                     | Introduced new utility functions for speculative decoding modes and config updates.                    |
| tensorrt_llm/llmapi/llm_args.py                                                              | Removed obsolete fields and methods from decoding config classes; added stricter validation for draft model presence. |
| tests/unittest/_torch/speculative/test_draft_target.py                                       | Switched test prompt from Germany to France by uncommenting and removing lines.                        |

## Sequence Diagram(s)

```mermaid
sequenceDiagram
    participant User
    participant PyExecutor
    participant SpecConfig
    participant Utils

    User->>PyExecutor: create_py_executor()
    PyExecutor->>Utils: get_num_extra_kv_tokens(spec_config)
    Utils-->>PyExecutor: num_extra_kv_tokens
    PyExecutor->>SpecConfig: update_spec_config_from_model_config()
    SpecConfig-->>PyExecutor: updated spec_config
    PyExecutor-->>User: Executor ready

Estimated code review effort

3 (90–240 minutes)

Suggested reviewers

  • nv-guomingz
  • mikeiovine
  • HuiGao-NV

Poem

A rabbit hopped through code today,
Refactoring the speculative way—
Utilities now lead the show,
Old config methods had to go.
With prompts and tokens neat and tight,
This bunny thinks the code feels right!
🐇✨


<!-- walkthrough_end -->


---

<details>
<summary>📜 Recent review details</summary>

**Configuration used: .coderabbit.yaml**
**Review profile: CHILL**
**Plan: Pro**


<details>
<summary>📥 Commits</summary>

Reviewing files that changed from the base of the PR and between d1df81a7aac7d7e123d980ec465db6657587d8ba and ae34c8977d32e2e1273759d05bd75bd9c76d9591.

</details>

<details>
<summary>📒 Files selected for processing (9)</summary>

* `tensorrt_llm/_torch/pyexecutor/_util.py` (2 hunks)
* `tensorrt_llm/_torch/pyexecutor/model_engine.py` (3 hunks)
* `tensorrt_llm/_torch/pyexecutor/py_executor_creator.py` (2 hunks)
* `tensorrt_llm/_torch/pyexecutor/resource_manager.py` (1 hunks)
* `tensorrt_llm/_torch/speculative/__init__.py` (2 hunks)
* `tensorrt_llm/_torch/speculative/model_drafter.py` (3 hunks)
* `tensorrt_llm/_torch/speculative/utils.py` (1 hunks)
* `tensorrt_llm/llmapi/llm_args.py` (1 hunks)
* `tests/unittest/_torch/speculative/test_draft_target.py` (1 hunks)

</details>

<details>
<summary>🚧 Files skipped from review as they are similar to previous changes (9)</summary>

* tests/unittest/_torch/speculative/test_draft_target.py
* tensorrt_llm/_torch/pyexecutor/py_executor_creator.py
* tensorrt_llm/_torch/speculative/__init__.py
* tensorrt_llm/_torch/pyexecutor/_util.py
* tensorrt_llm/_torch/pyexecutor/resource_manager.py
* tensorrt_llm/_torch/speculative/model_drafter.py
* tensorrt_llm/_torch/pyexecutor/model_engine.py
* tensorrt_llm/_torch/speculative/utils.py
* tensorrt_llm/llmapi/llm_args.py

</details>

<details>
<summary>⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)</summary>

* GitHub Check: Pre-commit Check

</details>

</details>
<!-- internal state start -->


<!-- DwQgtGAEAqAWCWBnSTIEMB26CuAXA9mAOYCmGJATmriQCaQDG+Ats2bgFyQAOFk+AIwBWJBrngA3EsgEBPRvlqU0AgfFwA6NPEgQAfACgjoCEYDEZyAAUASpETZWaCrKNxU3bABsvkCiQBHbGlcABpIcVwvOkgAIgBtfwAzNDF8CgBdSABleGZuL3gk+AZqeHwsfCSc7lFvMqlIJSZaeAwiBQxiomQoK2dcSAAmWPQMegcBZnUaejlIbERKSAB3eEKwADYAVm2AZm3wpgxxDGDkXFgSVfSAa0gkihZ0Hn8JcsXrOwAKM23NvYATgAlBoYFdIMxtFgGLBMKQUFhLqhsNxaNRrqhLtd/AVUiQ2Cd+NUGJRcNDGF40IhkGxLopkGtLvZyeMwGgvBVrnh1up5ElsBgxOUMIgwdlagwiiUOV5ZOFsZCSPTaMgAAao9E0AD6jxY2uYihIXm1x26avCatIuG1tCoSRthqUJt4LG4uAtY3oVuV2rOzG1JAAHrgqNrbhJtQRbmREGr0P4/CQUml/PQ2gREUpauN2BF8PhfAKheIKmLwdclIgGBR4O6RU18NJIBh8INEJKivI0LRWqWMBzGHD2s30i2SCsHiRqNh/DISLIKvRkchkqkCLX2mC4JRMchW5BgwUSuolScG1UIiEFFIqAilOT1sgx+RJzRELhkD2lOmkQhkLY24QrY6BeIg+CIgwXjYFWiIfhQ2DCmWDxjhmyjCu0qzqLAEQQgAUmQtxtDI2DrPQmDLte3B1sabTNu8aAvAIbYKE44yIjQFApiQ4SyvgayYUoUicrUFAXBBCEYOERE+OEiBEdw4Rjv4izXNRtSFOQjLYZAEjOB8z71mWGjmJYADCLCEp+9iOFCLhuMBdj+KSkgxEst6DmhVBIaKrx5PpcoPE8zC4dcaB4LA6ThGsGw7PshyrJFKA0sE9DMN44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O9QCd/d/KO99+LS9AA=== -->

<!-- internal state end -->
<!-- finishing_touch_checkbox_start -->

<details>
<summary>✨ Finishing Touches</summary>

- [ ] <!-- {"checkboxId": "7962f53c-55bc-4827-bfbf-6a18da830691"} --> 📝 Generate Docstrings

</details>

<!-- finishing_touch_checkbox_end -->
<!-- tips_start -->

---



<details>
<summary>🪧 Tips</summary>

### Chat

There are 3 ways to chat with [CodeRabbit](https://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=NVIDIA/TensorRT-LLM&utm_content=5936):

- Review comments: Directly reply to a review comment made by CodeRabbit. Example:
  - `I pushed a fix in commit <commit_id>, please review it.`
  - `Explain this complex logic.`
  - `Open a follow-up GitHub issue for this discussion.`
- Files and specific lines of code (under the "Files changed" tab): Tag `@coderabbitai` in a new review comment at the desired location with your query. Examples:
  - `@coderabbitai explain this code block.`
  -	`@coderabbitai modularize this function.`
- PR comments: Tag `@coderabbitai` in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
  - `@coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.`
  - `@coderabbitai read src/utils.ts and explain its main purpose.`
  - `@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.`
  - `@coderabbitai help me debug CodeRabbit configuration file.`

### Support

Need help? Create a ticket on our [support page](https://www.coderabbit.ai/contact-us/support) for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

### CodeRabbit Commands (Invoked using PR comments)

- `@coderabbitai pause` to pause the reviews on a PR.
- `@coderabbitai resume` to resume the paused reviews.
- `@coderabbitai review` to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
- `@coderabbitai full review` to do a full review from scratch and review all the files again.
- `@coderabbitai summary` to regenerate the summary of the PR.
- `@coderabbitai generate docstrings` to [generate docstrings](https://docs.coderabbit.ai/finishing-touches/docstrings) for this PR.
- `@coderabbitai generate sequence diagram` to generate a sequence diagram of the changes in this PR.
- `@coderabbitai resolve` resolve all the CodeRabbit review comments.
- `@coderabbitai configuration` to show the current CodeRabbit configuration for the repository.
- `@coderabbitai help` to get help.

### Other keywords and placeholders

- Add `@coderabbitai ignore` anywhere in the PR description to prevent this PR from being reviewed.
- Add `@coderabbitai summary` to generate the high-level summary at a specific location in the PR description.
- Add `@coderabbitai` anywhere in the PR title to generate the title automatically.

### Documentation and Community

- Visit our [Documentation](https://docs.coderabbit.ai) for detailed information on how to use CodeRabbit.
- Join our [Discord Community](http://discord.gg/coderabbit) to get help, request features, and share feedback.
- Follow us on [X/Twitter](https://twitter.com/coderabbitai) for updates and announcements.

</details>

<!-- tips_end -->

@wili-65535 wili-65535 force-pushed the user/wili/spec-configs branch from 072d36a to 01ef697 Compare July 21, 2025 09:13
@NVIDIA NVIDIA deleted a comment from tensorrt-cicd Jul 21, 2025
@NVIDIA NVIDIA deleted a comment from tensorrt-cicd Jul 21, 2025
@wili-65535
Copy link
Collaborator Author

/bot run --disable-fail-fast

@NVIDIA NVIDIA deleted a comment from tensorrt-cicd Jul 21, 2025
@tensorrt-cicd
Copy link
Collaborator

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

Signed-off-by: wili-65535 <[email protected]>
Signed-off-by: wili-65535 <[email protected]>
Signed-off-by: wili-65535 <[email protected]>
Signed-off-by: wili-65535 <[email protected]>
Signed-off-by: wili-65535 <[email protected]>
@wili-65535 wili-65535 force-pushed the user/wili/spec-configs branch from d1df81a to ae34c89 Compare July 22, 2025 00:51
@NVIDIA NVIDIA deleted a comment from tensorrt-cicd Jul 22, 2025
@NVIDIA NVIDIA deleted a comment from tensorrt-cicd Jul 22, 2025
@NVIDIA NVIDIA deleted a comment from tensorrt-cicd Jul 22, 2025
@NVIDIA NVIDIA deleted a comment from tensorrt-cicd Jul 22, 2025
@wili-65535
Copy link
Collaborator Author

/bot run --disable-fail-fast

@NVIDIA NVIDIA deleted a comment from tensorrt-cicd Jul 22, 2025
@NVIDIA NVIDIA deleted a comment from tensorrt-cicd Jul 22, 2025
@NVIDIA NVIDIA deleted a comment from tensorrt-cicd Jul 22, 2025
@NVIDIA NVIDIA deleted a comment from tensorrt-cicd Jul 22, 2025
@tensorrt-cicd
Copy link
Collaborator

PR_Github #12527 [ run ] triggered by Bot

@tensorrt-cicd
Copy link
Collaborator

PR_Github #12527 [ run ] completed with state SUCCESS
/LLM/main/L0_MergeRequest_PR pipeline #9312 completed with status: 'SUCCESS'

@syuoni syuoni merged commit 8ecdeee into NVIDIA:main Jul 23, 2025
3 checks passed
@wili-65535 wili-65535 deleted the user/wili/spec-configs branch July 24, 2025 02:58
NVShreyas pushed a commit to NVShreyas/TensorRT-LLM that referenced this pull request Jul 28, 2025
Ransiki pushed a commit to Ransiki/TensorRT-LLM that referenced this pull request Jul 29, 2025
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.

4 participants