Skip to content

Conversation

@xinhe-nv
Copy link
Collaborator

@xinhe-nv xinhe-nv commented Jul 28, 2025

waive failed cases

Summary by CodeRabbit

  • Tests
    • Updated test parameters to improve accuracy and resource management in a large language model evaluation.
    • Added seven new tests to the skip list in integration testing, linked to known issues for better tracking.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jul 28, 2025

📝 Walkthrough
## Walkthrough

This update modifies a test in the Llama3 integration suite by adjusting cache and model parameters, and expands the integration test skip list by adding seven new test cases with references to known bugs. No changes were made to public interfaces or exported entities.

## Changes

| Cohort / File(s)                                         | Change Summary                                                                                                 |
|----------------------------------------------------------|----------------------------------------------------------------------------------------------------------------|
| **Llama3 Integration Test Parameter Update**<br>`tests/integration/defs/accuracy/test_llm_api_pytorch.py` | Modified `test_fp8_tp4` in `TestLlama3_3_70BInstruct`: changed `free_gpu_memory_fraction` from 0.6 to 0.5, and added `max_seq_len=8192` and `max_batch_size=32` to the LLM constructor. |
| **Integration Test Skip List Expansion**<br>`tests/integration/test_lists/waives.txt` | Added seven new test cases to the skip list, each with a specific test identifier and NVIDIA bug tracking URL. No existing entries were changed. |

## Estimated code review effort

🎯 2 (Simple) | ⏱️ ~7 minutes

## Suggested reviewers

- crazydemo
- LarryXFly

📜 Recent review details

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

📥 Commits

Reviewing files that changed from the base of the PR and between bf582f7 and 372531a.

📒 Files selected for processing (2)
  • tests/integration/defs/accuracy/test_llm_api_pytorch.py (1 hunks)
  • tests/integration/test_lists/waives.txt (1 hunks)
🚧 Files skipped from review as they are similar to previous changes (2)
  • tests/integration/defs/accuracy/test_llm_api_pytorch.py
  • tests/integration/test_lists/waives.txt
⏰ 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)
  • GitHub Check: Pre-commit Check
✨ Finishing Touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment

🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • 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 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 for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai generate unit tests to generate unit tests for 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 or @coderabbitai title anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@coderabbitai coderabbitai bot requested review from LarryXFly and crazydemo July 28, 2025 06:40
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Nitpick comments (1)
tests/integration/test_lists/waives.txt (1)

445-450: Minor consistency nit – align bug-URL style across new waives.

Existing waives mix https://nvbugs/… and https://nvbugspro.nvidia.com/bug/….
For the seven newly-added cases (lines 445-450) please follow the repo-wide convention (most recent entries use the full nvbugspro.nvidia.com/bug/ form). Keeping a single style avoids churn when scripts normalise or sort the list.

📜 Review details

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

📥 Commits

Reviewing files that changed from the base of the PR and between b3ca159 and 8b7e177.

📒 Files selected for processing (2)
  • tests/integration/defs/accuracy/test_llm_api_pytorch.py (1 hunks)
  • tests/integration/test_lists/waives.txt (1 hunks)
🧰 Additional context used
🧠 Learnings (1)
tests/integration/test_lists/waives.txt (1)

Learnt from: yiqingy0
PR: #5198
File: jenkins/mergeWaiveList.py:0-0
Timestamp: 2025-07-22T08:33:49.109Z
Learning: In the TensorRT-LLM waive list merging system, removed lines are always located at the end of the merge waive lists, which is why the mergeWaiveList.py script uses reverse traversal - it's an optimization for this specific domain constraint.

🔇 Additional comments (3)
tests/integration/defs/accuracy/test_llm_api_pytorch.py (3)

364-364: LGTM: Memory fraction adjustment for test stabilization.

Reducing free_gpu_memory_fraction from 0.6 to 0.5 is a reasonable adjustment to avoid OOM issues with the large 70B model in CI environments.


367-368: LGTM: Explicit resource limits improve test stability.

Adding max_seq_len=8192 and max_batch_size=32 provides explicit resource bounds that help prevent memory-related test failures while still allowing meaningful accuracy evaluation.


364-369: Well-coordinated parameter adjustments for test reliability.

The combined changes (reduced memory fraction + explicit resource limits) form a cohesive approach to stabilizing this resource-intensive 70B model test while preserving its accuracy evaluation purpose. This is preferable to completely skipping the test.

@xinhe-nv
Copy link
Collaborator Author

/bot run

@xinhe-nv xinhe-nv enabled auto-merge (squash) July 28, 2025 07:55
@tensorrt-cicd
Copy link
Collaborator

PR_Github #13166 [ run ] triggered by Bot

@tensorrt-cicd
Copy link
Collaborator

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

@coderabbitai coderabbitai bot requested review from syuoni and yiqingy0 July 28, 2025 08:13
@xinhe-nv
Copy link
Collaborator Author

/bot run

@tensorrt-cicd
Copy link
Collaborator

PR_Github #13168 [ run ] triggered by Bot

@tensorrt-cicd
Copy link
Collaborator

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

xinhe-nv added 2 commits July 28, 2025 02:53
Signed-off-by: Xin He (SW-GPU) <[email protected]>
Signed-off-by: Xin He (SW-GPU) <[email protected]>
@LarryXFly LarryXFly disabled auto-merge July 28, 2025 10:31
@LarryXFly LarryXFly merged commit 971be1f into NVIDIA:main Jul 28, 2025
2 checks passed
@xinhe-nv xinhe-nv deleted the user/xinhe/fix branch July 28, 2025 12:25
NVShreyas pushed a commit to NVShreyas/TensorRT-LLM that referenced this pull request Jul 28, 2025
Signed-off-by: Xin He (SW-GPU) <[email protected]>
Signed-off-by: Shreyas Misra <[email protected]>
Ransiki pushed a commit to Ransiki/TensorRT-LLM that referenced this pull request Jul 29, 2025
Signed-off-by: Xin He (SW-GPU) <[email protected]>
Signed-off-by: Ransiki Zhang <[email protected]>
lancelly pushed a commit to lancelly/TensorRT-LLM that referenced this pull request Aug 6, 2025
Signed-off-by: Xin He (SW-GPU) <[email protected]>
Signed-off-by: Lanyu Liao <[email protected]>
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.

3 participants