Skip to content

Conversation

xinhe-nv
Copy link
Collaborator

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

update test to skip test on blackwell and backwell ultra

Summary by CodeRabbit

  • Chores

    • Updated test suite to automatically skip TensorRT workflow tests on post Blackwell-Ultra GPU architectures (SM version ≥ 103).
    • Added and applied a new skip marker for post Blackwell-Ultra environments to relevant tests and test parameters.
    • Removed obsolete skip entries for Blackwell/B200 platforms from test skip lists, enabling more tests on those platforms.
  • Tests

    • Improved test parameterization and selective skipping for specific models and configurations on unsupported hardware.
    • Enhanced test maintainability and compatibility with new GPU architectures.

Copy link
Contributor

coderabbitai bot commented Jul 25, 2025

📝 Walkthrough

Walkthrough

This update introduces conditional skipping of tests for post Blackwell-Ultra GPU architectures (SM version ≥ 103) across numerous integration test modules. It achieves this by adding module-level pytest.skip calls and selectively applying the @skip_post_blackwell decorator or parameter marks to specific tests and parameter values. The skip logic is centralized via imports from defs.conftest.py. Additionally, legacy skip entries for Blackwell/B200 are removed from the test skip list.

Changes

Cohort / File(s) Change Summary
Centralized SM Version Skip Decorators
tests/integration/defs/conftest.py
Added skip_post_blackwell_ultra pytest marker for SM version ≥ 103.
Module-level SM Version Skips
tests/integration/defs/examples/test_bert.py, tests/integration/defs/examples/test_bindings.py, tests/integration/defs/examples/test_chatglm.py, tests/integration/defs/examples/test_commandr.py, tests/integration/defs/examples/test_draft_target_model.py, tests/integration/defs/examples/test_eagle.py, tests/integration/defs/examples/test_enc_dec.py, tests/integration/defs/examples/test_exaone.py, tests/integration/defs/examples/test_gpt.py, tests/integration/defs/examples/test_gptj.py, tests/integration/defs/examples/test_granite.py, tests/integration/defs/examples/test_internlm.py, tests/integration/defs/examples/test_llama.py, tests/integration/defs/examples/test_mamba.py, tests/integration/defs/examples/test_medusa.py, tests/integration/defs/examples/test_mistral.py, tests/integration/defs/examples/test_mixtral.py, tests/integration/defs/examples/test_multimodal.py, tests/integration/defs/examples/test_nemotron.py, tests/integration/defs/examples/test_nemotron_nas.py, tests/integration/defs/examples/test_ngram.py, tests/integration/defs/examples/test_phi.py, tests/integration/defs/examples/test_qwen.py, tests/integration/defs/examples/test_qwenvl.py, tests/integration/defs/examples/test_recurrentgemma.py, tests/integration/defs/examples/test_redrafter.py, tests/integration/defs/examples/test_whisper.py
Added module-level conditional skips: if SM version ≥ 103, all TRT workflow tests in the module are skipped with a descriptive message.
Selective Test/Parameter Skipping via Decorators
tests/integration/defs/accuracy/test_cli_flow.py, tests/integration/defs/examples/test_gpt.py, tests/integration/defs/examples/test_llama.py, tests/integration/defs/examples/test_commandr.py, tests/integration/defs/examples/test_enc_dec.py, tests/integration/defs/examples/test_exaone.py, tests/integration/defs/examples/test_medusa.py, tests/integration/defs/examples/test_multimodal.py, tests/integration/defs/examples/test_phi.py, tests/integration/defs/examples/test_recurrentgemma.py, tests/integration/defs/examples/test_redrafter.py, tests/integration/defs/examples/test_chatglm.py, tests/integration/defs/examples/test_mamba.py
Applied @skip_post_blackwell decorator and/or pytest.param(..., marks=skip_post_blackwell) to specific test functions and parameter values to skip only those on post Blackwell architectures.
Test Skip List Cleanup
tests/integration/test_lists/waives.txt
Removed skip entries for Blackwell/B200/B200_PCIe platforms, re-enabling tests on these platforms unless otherwise skipped by new logic.

Sequence Diagram(s)

sequenceDiagram
    participant Pytest
    participant TestModule
    participant defs.conftest

    Pytest->>TestModule: Import module
    TestModule->>defs.conftest: get_sm_version()
    defs.conftest-->>TestModule: Return SM version
    alt SM version >= 103
        TestModule->>Pytest: pytest.skip("TRT workflow tests are not supported on post Blackwell-Ultra architecture", allow_module_level=True)
        Pytest-->>TestModule: Skip all tests in module
    else SM version < 103
        TestModule->>Pytest: Proceed with test collection and execution
        Note over TestModule,Pytest: Individual tests/params may still be skipped via @skip_post_blackwell
    end
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Suggested reviewers

  • crazydemo
  • yiqingy0
  • LarryXFly
  • nv-guomingz

Note

⚡️ Unit Test Generation is now available in beta!

Learn more here, or try it out under "Finishing Touches" below.


📜 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 441b126 and cd904c2.

📒 Files selected for processing (30)
  • tests/integration/defs/accuracy/test_cli_flow.py (4 hunks)
  • tests/integration/defs/conftest.py (1 hunks)
  • tests/integration/defs/examples/test_bert.py (1 hunks)
  • tests/integration/defs/examples/test_bindings.py (1 hunks)
  • tests/integration/defs/examples/test_chatglm.py (1 hunks)
  • tests/integration/defs/examples/test_commandr.py (2 hunks)
  • tests/integration/defs/examples/test_draft_target_model.py (1 hunks)
  • tests/integration/defs/examples/test_eagle.py (1 hunks)
  • tests/integration/defs/examples/test_enc_dec.py (2 hunks)
  • tests/integration/defs/examples/test_exaone.py (1 hunks)
  • tests/integration/defs/examples/test_gpt.py (6 hunks)
  • tests/integration/defs/examples/test_gptj.py (1 hunks)
  • tests/integration/defs/examples/test_granite.py (1 hunks)
  • tests/integration/defs/examples/test_internlm.py (1 hunks)
  • tests/integration/defs/examples/test_llama.py (17 hunks)
  • tests/integration/defs/examples/test_mamba.py (1 hunks)
  • tests/integration/defs/examples/test_medusa.py (2 hunks)
  • tests/integration/defs/examples/test_mistral.py (1 hunks)
  • tests/integration/defs/examples/test_mixtral.py (1 hunks)
  • tests/integration/defs/examples/test_multimodal.py (3 hunks)
  • tests/integration/defs/examples/test_nemotron.py (1 hunks)
  • tests/integration/defs/examples/test_nemotron_nas.py (1 hunks)
  • tests/integration/defs/examples/test_ngram.py (1 hunks)
  • tests/integration/defs/examples/test_phi.py (2 hunks)
  • tests/integration/defs/examples/test_qwen.py (1 hunks)
  • tests/integration/defs/examples/test_qwenvl.py (1 hunks)
  • tests/integration/defs/examples/test_recurrentgemma.py (1 hunks)
  • tests/integration/defs/examples/test_redrafter.py (1 hunks)
  • tests/integration/defs/examples/test_whisper.py (1 hunks)
  • tests/integration/test_lists/waives.txt (0 hunks)
💤 Files with no reviewable changes (1)
  • tests/integration/test_lists/waives.txt
✅ Files skipped from review due to trivial changes (1)
  • tests/integration/defs/examples/test_qwen.py
🚧 Files skipped from review as they are similar to previous changes (28)
  • tests/integration/defs/examples/test_granite.py
  • tests/integration/defs/examples/test_nemotron.py
  • tests/integration/defs/examples/test_nemotron_nas.py
  • tests/integration/defs/examples/test_ngram.py
  • tests/integration/defs/examples/test_draft_target_model.py
  • tests/integration/defs/examples/test_eagle.py
  • tests/integration/defs/examples/test_enc_dec.py
  • tests/integration/defs/examples/test_qwenvl.py
  • tests/integration/defs/examples/test_whisper.py
  • tests/integration/defs/examples/test_gptj.py
  • tests/integration/defs/examples/test_mistral.py
  • tests/integration/defs/examples/test_bert.py
  • tests/integration/defs/examples/test_exaone.py
  • tests/integration/defs/examples/test_chatglm.py
  • tests/integration/defs/conftest.py
  • tests/integration/defs/examples/test_phi.py
  • tests/integration/defs/examples/test_commandr.py
  • tests/integration/defs/examples/test_internlm.py
  • tests/integration/defs/accuracy/test_cli_flow.py
  • tests/integration/defs/examples/test_recurrentgemma.py
  • tests/integration/defs/examples/test_bindings.py
  • tests/integration/defs/examples/test_mixtral.py
  • tests/integration/defs/examples/test_medusa.py
  • tests/integration/defs/examples/test_redrafter.py
  • tests/integration/defs/examples/test_multimodal.py
  • tests/integration/defs/examples/test_mamba.py
  • tests/integration/defs/examples/test_gpt.py
  • tests/integration/defs/examples/test_llama.py
⏰ 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

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 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.

@xinhe-nv xinhe-nv force-pushed the user/xinhe/b300 branch 2 times, most recently from ee4307b to b1261c2 Compare July 25, 2025 10:54
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: 2

📜 Review details

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

📥 Commits

Reviewing files that changed from the base of the PR and between ee4307b and b1261c2.

📒 Files selected for processing (31)
  • tests/integration/defs/accuracy/test_cli_flow.py (4 hunks)
  • tests/integration/defs/conftest.py (1 hunks)
  • tests/integration/defs/examples/test_bert.py (1 hunks)
  • tests/integration/defs/examples/test_bindings.py (1 hunks)
  • tests/integration/defs/examples/test_chatglm.py (1 hunks)
  • tests/integration/defs/examples/test_commandr.py (2 hunks)
  • tests/integration/defs/examples/test_draft_target_model.py (1 hunks)
  • tests/integration/defs/examples/test_eagle.py (1 hunks)
  • tests/integration/defs/examples/test_enc_dec.py (2 hunks)
  • tests/integration/defs/examples/test_exaone.py (1 hunks)
  • tests/integration/defs/examples/test_gpt.py (6 hunks)
  • tests/integration/defs/examples/test_gptj.py (1 hunks)
  • tests/integration/defs/examples/test_granite.py (1 hunks)
  • tests/integration/defs/examples/test_internlm.py (1 hunks)
  • tests/integration/defs/examples/test_llama.py (17 hunks)
  • tests/integration/defs/examples/test_llm_api_with_mpi.py (1 hunks)
  • tests/integration/defs/examples/test_mamba.py (1 hunks)
  • tests/integration/defs/examples/test_medusa.py (2 hunks)
  • tests/integration/defs/examples/test_mistral.py (1 hunks)
  • tests/integration/defs/examples/test_mixtral.py (1 hunks)
  • tests/integration/defs/examples/test_multimodal.py (3 hunks)
  • tests/integration/defs/examples/test_nemotron.py (1 hunks)
  • tests/integration/defs/examples/test_nemotron_nas.py (1 hunks)
  • tests/integration/defs/examples/test_ngram.py (1 hunks)
  • tests/integration/defs/examples/test_phi.py (2 hunks)
  • tests/integration/defs/examples/test_qwen.py (1 hunks)
  • tests/integration/defs/examples/test_qwenvl.py (1 hunks)
  • tests/integration/defs/examples/test_recurrentgemma.py (1 hunks)
  • tests/integration/defs/examples/test_redrafter.py (1 hunks)
  • tests/integration/defs/examples/test_whisper.py (1 hunks)
  • tests/integration/test_lists/waives.txt (1 hunks)
✅ Files skipped from review due to trivial changes (3)
  • tests/integration/defs/examples/test_bindings.py
  • tests/integration/defs/examples/test_qwen.py
  • tests/integration/defs/examples/test_medusa.py
🚧 Files skipped from review as they are similar to previous changes (12)
  • tests/integration/defs/examples/test_phi.py
  • tests/integration/defs/examples/test_recurrentgemma.py
  • tests/integration/defs/examples/test_mamba.py
  • tests/integration/defs/examples/test_redrafter.py
  • tests/integration/defs/conftest.py
  • tests/integration/defs/examples/test_enc_dec.py
  • tests/integration/defs/examples/test_commandr.py
  • tests/integration/defs/examples/test_multimodal.py
  • tests/integration/defs/examples/test_gpt.py
  • tests/integration/defs/examples/test_exaone.py
  • tests/integration/defs/examples/test_llama.py
  • tests/integration/defs/accuracy/test_cli_flow.py
🧰 Additional context used
📓 Path-based instructions (2)
**/*.py

📄 CodeRabbit Inference Engine (CODING_GUIDELINES.md)

**/*.py: Python code should conform to Python 3.8+.
Indent Python code with 4 spaces. Do not use tabs.
Always maintain the namespace when importing in Python, even if only one class or function from a module is used.
Python filenames should use snake_case (e.g., some_file.py).
Python classes should use PascalCase (e.g., class SomeClass).
Python functions and methods should use snake_case (e.g., def my_awesome_function():).
Python local variables should use snake_case. Prefix k for variable names that start with a number (e.g., k_99th_percentile).
Python global variables should use upper snake_case and prefix G (e.g., G_MY_GLOBAL).
Python constants should use upper snake_case (e.g., MY_CONSTANT).
Avoid shadowing variables declared in an outer scope in Python.
Initialize all externally visible members of a Python class in the constructor.
For interfaces that may be used outside a Python file, prefer docstrings over comments.
Comments in Python should be reserved for code within a function, or interfaces that are local to a file.
Use Google style docstrings for Python classes and functions, which can be parsed by Sphinx.
Attributes and variables in Python can be documented inline; attribute docstrings will be rendered under the docstring for the class.
Avoid using reflection in Python when functionality can be easily achieved without it.
When using try-except blocks in Python, limit the except to the smallest set of errors possible.
When using try-except blocks to handle multiple possible variable types in Python, keep the body of the try as small as possible, using the else block to implement the logic.

Files:

  • tests/integration/defs/examples/test_draft_target_model.py
  • tests/integration/defs/examples/test_nemotron_nas.py
  • tests/integration/defs/examples/test_eagle.py
  • tests/integration/defs/examples/test_gptj.py
  • tests/integration/defs/examples/test_bert.py
  • tests/integration/defs/examples/test_mistral.py
  • tests/integration/defs/examples/test_ngram.py
  • tests/integration/defs/examples/test_llm_api_with_mpi.py
  • tests/integration/defs/examples/test_mixtral.py
  • tests/integration/defs/examples/test_qwenvl.py
  • tests/integration/defs/examples/test_nemotron.py
  • tests/integration/defs/examples/test_whisper.py
  • tests/integration/defs/examples/test_granite.py
  • tests/integration/defs/examples/test_internlm.py
  • tests/integration/defs/examples/test_chatglm.py
**/*.{cpp,h,hpp,cc,cxx,cu,py}

📄 CodeRabbit Inference Engine (CODING_GUIDELINES.md)

All TensorRT-LLM Open Source Software code should contain an NVIDIA copyright header that includes the current year. This includes .cpp, .h, .cu, .py, and any other source files which are compiled or interpreted.

Files:

  • tests/integration/defs/examples/test_draft_target_model.py
  • tests/integration/defs/examples/test_nemotron_nas.py
  • tests/integration/defs/examples/test_eagle.py
  • tests/integration/defs/examples/test_gptj.py
  • tests/integration/defs/examples/test_bert.py
  • tests/integration/defs/examples/test_mistral.py
  • tests/integration/defs/examples/test_ngram.py
  • tests/integration/defs/examples/test_llm_api_with_mpi.py
  • tests/integration/defs/examples/test_mixtral.py
  • tests/integration/defs/examples/test_qwenvl.py
  • tests/integration/defs/examples/test_nemotron.py
  • tests/integration/defs/examples/test_whisper.py
  • tests/integration/defs/examples/test_granite.py
  • tests/integration/defs/examples/test_internlm.py
  • tests/integration/defs/examples/test_chatglm.py
🪛 Ruff (0.12.2)
tests/integration/defs/examples/test_draft_target_model.py

27-27: Undefined name get_sm_version

(F821)

tests/integration/defs/examples/test_chatglm.py

34-34: Undefined name skip_post_blackwell

(F821)

⏰ 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
🔇 Additional comments (21)
tests/integration/defs/examples/test_llm_api_with_mpi.py (1)

20-26: LGTM: Proper module-level skip implementation for post Blackwell-Ultra architectures.

The import and skip logic are correctly implemented:

  • Clean addition to existing imports from defs.conftest
  • Appropriate use of allow_module_level=True
  • Clear, descriptive skip message
  • Consistent with the PR's objective to exclude post Blackwell-Ultra platforms
tests/integration/defs/examples/test_nemotron_nas.py (1)

5-12: LGTM: Consistent implementation of module-level architecture skip.

The changes correctly extend the existing import and implement the same skip pattern:

  • Properly adds get_sm_version to existing import from defs.conftest
  • Maintains consistency with the skip condition and message format
  • Follows the established pattern for excluding post Blackwell-Ultra architectures
tests/integration/defs/examples/test_nemotron.py (1)

18-25: LGTM: Consistent module-level skip implementation.

The changes follow the established pattern correctly:

  • Appropriately extends existing imports from defs.conftest
  • Implements the same skip logic and message as other test modules
  • Proper use of module-level skip functionality
tests/integration/defs/examples/test_eagle.py (1)

21-28: LGTM: Comprehensive skip implementation with both module and function-level markers.

The changes are well-implemented:

  • Correctly imports both get_sm_version and skip_post_blackwell
  • Consistent module-level skip for post Blackwell-Ultra architectures
  • Individual test functions also use @skip_post_blackwell decorator for additional granularity

The dual approach provides flexibility for different skip conditions (post-Blackwell vs post-Blackwell-Ultra).

tests/integration/defs/examples/test_ngram.py (1)

21-28: LGTM: Consistent implementation following established pattern.

The changes properly implement the skip functionality:

  • Correctly adds required imports from defs.conftest
  • Implements consistent module-level skip for post Blackwell-Ultra architectures
  • Maintains the established pattern across test modules
  • Combines with function-level @skip_post_blackwell decorator for comprehensive coverage
tests/integration/defs/examples/test_draft_target_model.py (1)

26-30: LGTM! Module-level skip implementation is correct.

The module-level skip logic is properly implemented using pytest.skip() with allow_module_level=True to disable all TRT workflow tests on post-Blackwell-Ultra architectures (SM >= 103).

tests/integration/defs/examples/test_internlm.py (2)

17-17: LGTM! Import addition is properly implemented.

The get_sm_version function is correctly added to the existing import from defs.conftest.


20-24: LGTM! Module-level skip logic is correctly implemented.

The skip logic properly disables all TRT workflow tests on post-Blackwell-Ultra architectures using the appropriate SM version threshold.

tests/integration/defs/examples/test_granite.py (2)

21-21: LGTM! Import statement is correctly added.

The get_sm_version function is properly imported from defs.conftest.


24-28: LGTM! Module-level skip implementation is correct.

The skip logic properly disables TRT workflow tests on post-Blackwell-Ultra architectures with the correct SM version threshold and appropriate skip message.

tests/integration/defs/examples/test_bert.py (1)

21-25: LGTM! Module-level skip logic is correctly implemented.

The skip implementation properly disables all TRT workflow tests on post-Blackwell-Ultra architectures using the appropriate SM version threshold and skip message.

tests/integration/defs/examples/test_qwenvl.py (2)

23-23: LGTM! Import statement is correctly added.

The get_sm_version function is properly imported from defs.conftest.


26-30: LGTM! Module-level skip implementation is correct.

The skip logic properly disables all TRT workflow tests on post-Blackwell-Ultra architectures with the correct SM version threshold and consistent skip message.

tests/integration/defs/examples/test_mistral.py (2)

23-23: LGTM: Clean import addition

The import of get_sm_version follows the existing import pattern and maintains namespace consistency.


26-30: LGTM: Proper module-level skip implementation

The conditional skip for post-Blackwell-Ultra architectures (SM >= 103) is correctly implemented with a clear, informative message. This aligns with the PR objective to exclude these platforms from TRT workflow tests.

tests/integration/defs/examples/test_whisper.py (1)

18-18: LGTM: Consistent implementation across test modules

The import and module-level skip implementation matches the pattern established in other test files, ensuring consistent behavior for post-Blackwell-Ultra architecture handling.

Also applies to: 21-25

tests/integration/defs/examples/test_gptj.py (1)

18-18: LGTM: Consistent pattern implementation

The changes follow the established pattern for module-level skipping on post-Blackwell-Ultra architectures, maintaining consistency across the test suite.

Also applies to: 21-25

tests/integration/defs/examples/test_mixtral.py (2)

22-23: LGTM: Clean import modification

The addition of get_sm_version to the existing import maintains proper formatting and alphabetical ordering.


26-30: LGTM: Standard module-level skip implementation

Consistent with other test modules in this PR, the skip logic properly excludes post-Blackwell-Ultra architectures from TRT workflow tests.

tests/integration/defs/examples/test_chatglm.py (1)

21-21: LGTM: Consistent module-level skip implementation

The import of get_sm_version and the module-level skip logic follow the established pattern across other test files in this PR.

Also applies to: 24-28

tests/integration/test_lists/waives.txt (1)

101-101: Waives-file parser correctly ignores commented lines

Confirmed that in parse_test_list_lines each line is split at the first # (via line.partition("#")[0].strip()) and empty results are dropped, so any line beginning with #—including #full:…—is treated as a comment and skipped. No changes are needed.

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: 0

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

101-101: Prefer deleting waived-entry instead of prefixing with #full:

Commenting the entry keeps stale platform-specific noise in the list and breaks the convention that removals disappear (and—per mergeWaiveList.py learning—collect at the tail).
A clean delete is clearer and avoids accidental future re-enabling through search-replace scripts.

-#full:B200/examples/test_chatglm.py::test_llm_glm_4_9b_single_gpu_summary[glm-4-9b-chat-disable_weight_only] SKIP (https://nvbugs/5114743)
📜 Review details

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

📥 Commits

Reviewing files that changed from the base of the PR and between b1261c2 and 0bf0938.

📒 Files selected for processing (31)
  • tests/integration/defs/accuracy/test_cli_flow.py (4 hunks)
  • tests/integration/defs/conftest.py (1 hunks)
  • tests/integration/defs/examples/test_bert.py (1 hunks)
  • tests/integration/defs/examples/test_bindings.py (1 hunks)
  • tests/integration/defs/examples/test_chatglm.py (1 hunks)
  • tests/integration/defs/examples/test_commandr.py (2 hunks)
  • tests/integration/defs/examples/test_draft_target_model.py (1 hunks)
  • tests/integration/defs/examples/test_eagle.py (1 hunks)
  • tests/integration/defs/examples/test_enc_dec.py (2 hunks)
  • tests/integration/defs/examples/test_exaone.py (1 hunks)
  • tests/integration/defs/examples/test_gpt.py (6 hunks)
  • tests/integration/defs/examples/test_gptj.py (1 hunks)
  • tests/integration/defs/examples/test_granite.py (1 hunks)
  • tests/integration/defs/examples/test_internlm.py (1 hunks)
  • tests/integration/defs/examples/test_llama.py (17 hunks)
  • tests/integration/defs/examples/test_llm_api_with_mpi.py (1 hunks)
  • tests/integration/defs/examples/test_mamba.py (1 hunks)
  • tests/integration/defs/examples/test_medusa.py (2 hunks)
  • tests/integration/defs/examples/test_mistral.py (1 hunks)
  • tests/integration/defs/examples/test_mixtral.py (1 hunks)
  • tests/integration/defs/examples/test_multimodal.py (3 hunks)
  • tests/integration/defs/examples/test_nemotron.py (1 hunks)
  • tests/integration/defs/examples/test_nemotron_nas.py (1 hunks)
  • tests/integration/defs/examples/test_ngram.py (1 hunks)
  • tests/integration/defs/examples/test_phi.py (2 hunks)
  • tests/integration/defs/examples/test_qwen.py (1 hunks)
  • tests/integration/defs/examples/test_qwenvl.py (1 hunks)
  • tests/integration/defs/examples/test_recurrentgemma.py (1 hunks)
  • tests/integration/defs/examples/test_redrafter.py (1 hunks)
  • tests/integration/defs/examples/test_whisper.py (1 hunks)
  • tests/integration/test_lists/waives.txt (1 hunks)
✅ Files skipped from review due to trivial changes (5)
  • tests/integration/defs/examples/test_llm_api_with_mpi.py
  • tests/integration/defs/examples/test_bindings.py
  • tests/integration/defs/examples/test_whisper.py
  • tests/integration/defs/examples/test_draft_target_model.py
  • tests/integration/defs/examples/test_qwen.py
🚧 Files skipped from review as they are similar to previous changes (25)
  • tests/integration/defs/examples/test_ngram.py
  • tests/integration/defs/examples/test_granite.py
  • tests/integration/defs/examples/test_internlm.py
  • tests/integration/defs/examples/test_bert.py
  • tests/integration/defs/examples/test_mixtral.py
  • tests/integration/defs/examples/test_nemotron_nas.py
  • tests/integration/defs/examples/test_mistral.py
  • tests/integration/defs/conftest.py
  • tests/integration/defs/examples/test_chatglm.py
  • tests/integration/defs/examples/test_phi.py
  • tests/integration/defs/examples/test_exaone.py
  • tests/integration/defs/examples/test_recurrentgemma.py
  • tests/integration/defs/examples/test_mamba.py
  • tests/integration/defs/examples/test_eagle.py
  • tests/integration/defs/examples/test_nemotron.py
  • tests/integration/defs/examples/test_gptj.py
  • tests/integration/defs/examples/test_enc_dec.py
  • tests/integration/defs/examples/test_qwenvl.py
  • tests/integration/defs/examples/test_medusa.py
  • tests/integration/defs/examples/test_multimodal.py
  • tests/integration/defs/examples/test_redrafter.py
  • tests/integration/defs/accuracy/test_cli_flow.py
  • tests/integration/defs/examples/test_commandr.py
  • tests/integration/defs/examples/test_gpt.py
  • tests/integration/defs/examples/test_llama.py
🧰 Additional context used
🧠 Learnings (1)
tests/integration/test_lists/waives.txt (2)

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.

Learnt from: moraxu
PR: #6303
File: tests/integration/test_lists/qa/examples_test_list.txt:494-494
Timestamp: 2025-07-28T17:06:08.621Z
Learning: In TensorRT-LLM testing, it's common to have both CLI flow tests (test_cli_flow.py) and PyTorch API tests (test_llm_api_pytorch.py) for the same model. These serve different purposes: CLI flow tests validate the traditional command-line workflow, while PyTorch API tests validate the newer LLM API backend. Both are legitimate and should coexist.

@xinhe-nv xinhe-nv marked this pull request as ready for review July 30, 2025 11:02
@xinhe-nv
Copy link
Collaborator Author

/bot run

@coderabbitai coderabbitai bot requested a review from yiqingy0 July 30, 2025 11:03
@tensorrt-cicd
Copy link
Collaborator

PR_Github #13530 [ run ] triggered by Bot

@tensorrt-cicd
Copy link
Collaborator

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

@xinhe-nv xinhe-nv enabled auto-merge (squash) July 31, 2025 02:14
@xinhe-nv
Copy link
Collaborator Author

/bot run

@tensorrt-cicd
Copy link
Collaborator

PR_Github #13593 [ run ] triggered by Bot

@tensorrt-cicd
Copy link
Collaborator

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

@coderabbitai coderabbitai bot requested a review from nv-guomingz July 31, 2025 03:24
@xinhe-nv
Copy link
Collaborator Author

/bot run

@tensorrt-cicd
Copy link
Collaborator

PR_Github #13599 [ run ] triggered by Bot

@tensorrt-cicd
Copy link
Collaborator

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

@xinhe-nv xinhe-nv force-pushed the user/xinhe/b300 branch 2 times, most recently from 7f8b0b0 to 1780003 Compare July 31, 2025 04:34
@xinhe-nv
Copy link
Collaborator Author

/bot run

@coderabbitai coderabbitai bot requested a review from liji-nv July 31, 2025 04:35
@xinhe-nv
Copy link
Collaborator Author

/bot run

@tensorrt-cicd
Copy link
Collaborator

PR_Github #13627 [ run ] triggered by Bot

@tensorrt-cicd
Copy link
Collaborator

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

@xinhe-nv
Copy link
Collaborator Author

xinhe-nv commented Aug 1, 2025

/bot run

@tensorrt-cicd
Copy link
Collaborator

PR_Github #13745 [ run ] triggered by Bot

@xinhe-nv xinhe-nv changed the title test: skip post blackwell [feat]: skip post blackwell Aug 1, 2025
@tensorrt-cicd
Copy link
Collaborator

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

@xinhe-nv
Copy link
Collaborator Author

xinhe-nv commented Aug 1, 2025

/bot run

@xinhe-nv xinhe-nv changed the title [feat]: skip post blackwell [TRTLLM-6624][feat] skip post blackwell Aug 1, 2025
@tensorrt-cicd
Copy link
Collaborator

PR_Github #13766 [ run ] triggered by Bot

@xinhe-nv
Copy link
Collaborator Author

xinhe-nv commented Aug 1, 2025

/bot run

@tensorrt-cicd
Copy link
Collaborator

PR_Github #13785 [ run ] triggered by Bot

@tensorrt-cicd
Copy link
Collaborator

PR_Github #13766 [ run ] completed with state ABORTED

@tensorrt-cicd
Copy link
Collaborator

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

Signed-off-by: Xin He (SW-GPU) <[email protected]>
@xinhe-nv
Copy link
Collaborator Author

xinhe-nv commented Aug 1, 2025

/bot run

@tensorrt-cicd
Copy link
Collaborator

PR_Github #13810 [ run ] triggered by Bot

@tensorrt-cicd
Copy link
Collaborator

PR_Github #13810 [ run ] completed with state SUCCESS
/LLM/main/L0_MergeRequest_PR pipeline #10381 completed with status: 'SUCCESS'
Pipeline passed with automatic retried tests. Check the rerun report for details.

@xinhe-nv xinhe-nv merged commit 263c6c0 into NVIDIA:main Aug 1, 2025
4 checks passed
@xinhe-nv xinhe-nv deleted the user/xinhe/b300 branch August 2, 2025 01:39
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]>
jain-ria pushed a commit to jain-ria/TensorRT-LLM that referenced this pull request Aug 7, 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.

3 participants