Skip to content

Conversation

byshiue
Copy link
Collaborator

@byshiue byshiue commented Aug 18, 2025

Summary by CodeRabbit

  • Tests
    • Re-enabled several previously skipped Qwen and Nemo test scenarios, increasing CI coverage.
    • Added new skip entries for a MistralSmall test and a TinyLlama MPI example to reduce flakes.
    • NVFP4 test expanded to include MMLU evaluation alongside GSM8K and increased batch coverage.
    • Reduced TIMEOUTs (180→90s) for three multi-node latency tests.
    • No production code or public APIs changed.

Copy link
Contributor

coderabbitai bot commented Aug 18, 2025

📝 Walkthrough

Walkthrough

Updated test waivers (SKIP entries) and reduced timeouts for specific latency tests; test_nvfp4 now constructs LLM with max_batch_size=32 and runs an MMLU evaluation inside the existing LLM context before GSM8K. No public APIs or data-structure signatures changed.

Changes

Cohort / File(s) Summary
Waivers (SKIP) edits
tests/integration/test_lists/waives.txt
Removed several Qwen nvfp4 SKIP entries and one Nemo SKIP removal; added SKIP entries for accuracy/test_llm_api_pytorch.py::TestMistralSmall24B::test_auto_dtype and examples/test_llm_api_with_mpi.py::test_llm_api_single_gpu_with_mpirun[TinyLlama-1.1B-Chat-v1.0].
Test logic change
tests/integration/defs/accuracy/test_llm_api_pytorch.py
In test_nvfp4, LLM is created with max_batch_size=32 and an MMLU evaluation is invoked (mmlu.evaluate(llm)) inside the with LLM(...) as llm block prior to GSM8K evaluation.
Timeout adjustments
tests/integration/test_lists/test-db/l0_gb200_multi_nodes.yml
Reduced TIMEOUT from 180s to 90s for three nvfp4 latency tests for TestQwen3_235B_A22B (cutlass/trtllm variants).

Sequence Diagram(s)

sequenceDiagram
    participant Runner as TestRunner
    participant LLM as LLM(context)
    participant MMLU as MMLU_Task
    participant GSM8K as GSM8K_Task

    Runner->>LLM: with LLM(..., max_batch_size=32) as llm
    LLM-->>Runner: llm ready
    Runner->>MMLU: create MMLU task
    Runner->>MMLU: mmlu.evaluate(llm)
    MMLU-->>Runner: MMLU results
    Runner->>GSM8K: create GSM8K task
    Runner->>GSM8K: gsm8k.evaluate(llm)
    GSM8K-->>Runner: GSM8K results
    Runner->>LLM: exit context
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Suggested reviewers

  • LarryXFly
  • chzblych
  • litaotju

Tip

🔌 Remote MCP (Model Context Protocol) integration is now available!

Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats.

✨ 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.
    • 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.
  • 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 the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

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.

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • 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.

@byshiue
Copy link
Collaborator Author

byshiue commented Aug 18, 2025

/bot run

@byshiue
Copy link
Collaborator Author

byshiue commented Aug 18, 2025

/bot run --disable-fail-fast

@byshiue byshiue changed the title [nvbug 5457489][fix] unwaive some tests [https://nvbugs/5457489][fix] unwaive some tests Aug 18, 2025
@byshiue
Copy link
Collaborator Author

byshiue commented Aug 18, 2025

/bot run --stage-list "B200_PCIe-PyTorch-1, B200_PCIe-PyTorch-2, B200_PCIe-PyTorch-3"

@byshiue
Copy link
Collaborator Author

byshiue commented Aug 18, 2025

/bot run --stage-list "B200_PCIe-PyTorch-1, B200_PCIe-PyTorch-2, B200_PCIe-PyTorch-3"

@tensorrt-cicd
Copy link
Collaborator

PR_Github #15665 [ run ] triggered by Bot

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)

293-297: Deduplicate SKIP entry for TestDeepSeekR1::test_nvfp4_multi_gpus[throughput_tp8]

The same test selector appears twice in tests/integration/test_lists/waives.txt (lines 293 and 296), which can confuse maintainers and any tooling that parses these waives. Please consolidate into a single entry with both bug references. For example, remove the second occurrence (line 296) and update the first to include both NVBug URLs:

-accuracy/test_llm_api_pytorch.py::TestDeepSeekR1::test_nvfp4_multi_gpus[throughput_tp8] SKIP (https://nvbugs/5445466)
+accuracy/test_llm_api_pytorch.py::TestDeepSeekR1::test_nvfp4_multi_gpus[throughput_tp8] SKIP (https://nvbugs/5442827,https://nvbugs/5445466)

This keeps a single, authoritative waive for that test.

📜 Review details

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

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between c15d632 and 8bc3917.

📒 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 (1)
  • tests/integration/defs/accuracy/test_llm_api_pytorch.py

@tensorrt-cicd
Copy link
Collaborator

PR_Github #15665 [ run ] completed with state SUCCESS
/LLM/main/L0_MergeRequest_PR pipeline #11789 (Partly Tested) completed with status: 'SUCCESS'
Pipeline passed with automatic retried tests. Check the rerun report for details.

@byshiue
Copy link
Collaborator Author

byshiue commented Aug 19, 2025

/bot run --stage-list "B200_PCIe-PyTorch-1, B200_PCIe-PyTorch-2, B200_PCIe-PyTorch-3"

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> [!CAUTION]

Some comments are outside the diff and can’t be posted inline due to platform limits.

🔭 Outside diff range comments (1)
tests/integration/test_lists/waives.txt (1)

295-313: Ensure waived tests exist in the tree

The current verification script hard-codes file paths that don’t match our repo layout, so none of the waived entries can be found. To catch typos early, update it to search across all Python files:

File: tests/integration/test_lists/waives.txt (lines 295–313)

Suggested replacement verification script:

#!/usr/bin/env bash
set -euo pipefail

fail=0

check_class_method() {
  local class="$1" method="$2"
  if ! rg -nPzo "(?s)class\s+${class}\b.*?def\s+${method}\s*\(" --glob '*.py' > /dev/null; then
    echo "MISS: ${class}::${method}"
    fail=1
  else
    echo "OK:   ${class}::${method}"
  fi
}

check_function() {
  local func="$1"
  if ! rg -nP "def\s+${func}\s*\(" --glob '*.py' > /dev/null; then
    echo "MISS: ${func}"
    fail=1
  else
    echo "OK:   ${func}"
  fi
}

# Class-based tests
check_class_method TestMistralSmall24B       test_auto_dtype
check_class_method TestMistral_Nemo_12B_Base test_fp8
check_class_method TestLlama3_1_8BInstruct   test_ctx_pp_gen_tp_asymmetric
check_class_method TestQwen3_8B              test_nixl_backend
check_class_method TestDeepSeekV3Lite        test_nixl_backend
check_class_method TestDeepSeekR1            test_nvfp4_multi_gpus

# Function-based tests
check_function test_llm_api_single_gpu_with_mpirun
check_function test_gpt_ib
check_function test_gpt_ib_streaming
check_function test_gpt_ib_ptuning
check_function test_mistral_ib_mm
check_function test_t5_ib
check_function test_gpt_speculative_decoding_bls
check_function test_ptp_quickstart_multimodal
check_function test_llmapi_speculative_decoding_mtp
check_function test_disaggregated_genbs1

if (( fail > 0 )); then
  echo
  echo "ERROR: One or more waived tests could not be found. Please verify node IDs."
  exit 1
fi

echo
echo "✅ All waived tests resolved."

• Replace your existing script with the above (or equivalent) to avoid hard-coded paths
• This will scan all *.py files for each class or function, catching typos without assumptions about directory structure

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

295-313: Nit: Standardize NVBug links for consistency and tooling.

This file mixes https://nvbugs/, https://nvbugspro.nvidia.com/bug/, and others. For consistency and to ease linkification in tools, prefer one canonical form (commonly nvbugspro.nvidia.com/bug/) for new entries.

Apply this diff to normalize the newly added entries in this hunk:

-accuracy/test_llm_api_pytorch.py::TestMistralSmall24B::test_auto_dtype SKIP (https://nvbugs/5454875)
+accuracy/test_llm_api_pytorch.py::TestMistralSmall24B::test_auto_dtype SKIP (https://nvbugspro.nvidia.com/bug/5454875)
-examples/test_llm_api_with_mpi.py::test_llm_api_single_gpu_with_mpirun[TinyLlama-1.1B-Chat-v1.0] SKIP (https://nvbugs/5434372)
+examples/test_llm_api_with_mpi.py::test_llm_api_single_gpu_with_mpirun[TinyLlama-1.1B-Chat-v1.0] SKIP (https://nvbugspro.nvidia.com/bug/5434372)
-triton_server/test_triton.py::test_gpt_ib[gpt-ib] SKIP (https://nvbugs/5431116)
+triton_server/test_triton.py::test_gpt_ib[gpt-ib] SKIP (https://nvbugspro.nvidia.com/bug/5431116)
-disaggregated/test_workers.py::test_workers_kv_cache_events[TinyLlama-1.1B-Chat-v1.0] SKIP (https://nvbugs/5457504)
+disaggregated/test_workers.py::test_workers_kv_cache_events[TinyLlama-1.1B-Chat-v1.0] SKIP (https://nvbugspro.nvidia.com/bug/5457504)
-accuracy/test_llm_api.py::TestMistral_Nemo_12B_Base::test_fp8 SKIP (https://nvbugs/5413197)
+accuracy/test_llm_api.py::TestMistral_Nemo_12B_Base::test_fp8 SKIP (https://nvbugspro.nvidia.com/bug/5413197)
-triton_server/test_triton.py::test_gpt_ib_streaming[gpt-ib-streaming] SKIP (https://nvbugs/5371349)
+triton_server/test_triton.py::test_gpt_ib_streaming[gpt-ib-streaming] SKIP (https://nvbugspro.nvidia.com/bug/5371349)
-triton_server/test_triton.py::test_gpt_ib_ptuning[gpt-ib-ptuning] SKIP (https://nvbugs/5445624)
+triton_server/test_triton.py::test_gpt_ib_ptuning[gpt-ib-ptuning] SKIP (https://nvbugspro.nvidia.com/bug/5445624)
-triton_server/test_triton.py::test_mistral_ib_mm[mistral-ib-mm] SKIP (https://nvbugs/5371343)
+triton_server/test_triton.py::test_mistral_ib_mm[mistral-ib-mm] SKIP (https://nvbugspro.nvidia.com/bug/5371343)
-triton_server/test_triton.py::test_t5_ib[t5-ib] SKIP (https://nvbugs/5456482)
+triton_server/test_triton.py::test_t5_ib[t5-ib] SKIP (https://nvbugspro.nvidia.com/bug/5456482)
-triton_server/test_triton_llm.py::test_gpt_speculative_decoding_bls[False-False-1---False-True-True-0-128-disableDecoupleMode-inflight_fused_batching-disableTrtOverlap-0.2-guaranteed_no_evict---1-1-1-False-ensemble] SKIP (https://nvbugs/5456485)
+triton_server/test_triton_llm.py::test_gpt_speculative_decoding_bls[False-False-1---False-True-True-0-128-disableDecoupleMode-inflight_fused_batching-disableTrtOverlap-0.2-guaranteed_no_evict---1-1-1-False-ensemble] SKIP (https://nvbugspro.nvidia.com/bug/5456485)
-accuracy/test_disaggregated_serving.py::TestLlama3_1_8BInstruct::test_ctx_pp_gen_tp_asymmetric[GSM8K-gen_tp=1-ctx_pp=4] SKIP (https://nvbugs/5434320)
+accuracy/test_disaggregated_serving.py::TestLlama3_1_8BInstruct::test_ctx_pp_gen_tp_asymmetric[GSM8K-gen_tp=1-ctx_pp=4] SKIP (https://nvbugspro.nvidia.com/bug/5434320)
-accuracy/test_disaggregated_serving.py::TestQwen3_8B::test_nixl_backend SKIP (https://nvbugs/5448437)
+accuracy/test_disaggregated_serving.py::TestQwen3_8B::test_nixl_backend SKIP (https://nvbugspro.nvidia.com/bug/5448437)
-accuracy/test_disaggregated_serving.py::TestDeepSeekV3Lite::test_nixl_backend SKIP (https://nvbugs/5448437)
+accuracy/test_disaggregated_serving.py::TestDeepSeekV3Lite::test_nixl_backend SKIP (https://nvbugspro.nvidia.com/bug/5448437)
-accuracy/test_llm_api_pytorch.py::TestDeepSeekR1::test_nvfp4_multi_gpus[latency_trtllmgen] SKIP (https://nvbugs/5445466)
+accuracy/test_llm_api_pytorch.py::TestDeepSeekR1::test_nvfp4_multi_gpus[latency_trtllmgen] SKIP (https://nvbugspro.nvidia.com/bug/5445466)
-accuracy/test_llm_api_pytorch.py::TestDeepSeekR1::test_nvfp4_multi_gpus[latency] SKIP (https://nvbugs/5445466)
+accuracy/test_llm_api_pytorch.py::TestDeepSeekR1::test_nvfp4_multi_gpus[latency] SKIP (https://nvbugspro.nvidia.com/bug/5445466)
-test_e2e.py::test_ptp_quickstart_multimodal[mistral-small-3.1-24b-instruct-Mistral-Small-3.1-24B-Instruct-2503-image-True] SKIP (https://nvbugs/5459817)
+test_e2e.py::test_ptp_quickstart_multimodal[mistral-small-3.1-24b-instruct-Mistral-Small-3.1-24B-Instruct-2503-image-True] SKIP (https://nvbugspro.nvidia.com/bug/5459817)
-llmapi/test_llm_examples.py::test_llmapi_speculative_decoding_mtp SKIP (https://nvbugs/5461796)
+llmapi/test_llm_examples.py::test_llmapi_speculative_decoding_mtp SKIP (https://nvbugspro.nvidia.com/bug/5461796)
-disaggregated/test_disaggregated.py::test_disaggregated_genbs1[TinyLlama-1.1B-Chat-v1.0] SKIP (https://nvbugs/5459811)
+disaggregated/test_disaggregated.py::test_disaggregated_genbs1[TinyLlama-1.1B-Chat-v1.0] SKIP (https://nvbugspro.nvidia.com/bug/5459811)
📜 Review details

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

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 8bc3917 and f494bb6.

📒 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 (1)
  • tests/integration/defs/accuracy/test_llm_api_pytorch.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
🔇 Additional comments (1)
tests/integration/test_lists/waives.txt (1)

295-313: LGTM on newly added waives; reasons are documented with NVBug IDs.

The new SKIPs are scoped and justified, aligning with the PR’s goal to unwaive some Qwen tests while quarantining unrelated instabilities. No functional code impact here.

@tensorrt-cicd
Copy link
Collaborator

PR_Github #15712 [ run ] triggered by Bot

@tensorrt-cicd
Copy link
Collaborator

PR_Github #15712 [ run ] completed with state SUCCESS
/LLM/main/L0_MergeRequest_PR pipeline #11814 (Partly Tested) completed with status: 'SUCCESS'
Pipeline passed with automatic retried tests. Check the rerun report for details.

@byshiue
Copy link
Collaborator Author

byshiue commented Aug 19, 2025

/bot run --stage-list "B200_PCIe-PyTorch-1" --debug

@tensorrt-cicd
Copy link
Collaborator

PR_Github #15755 [ run ] triggered by Bot

@tensorrt-cicd
Copy link
Collaborator

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

@byshiue
Copy link
Collaborator Author

byshiue commented Aug 19, 2025

/bot run --debug --stage-list "B200_PCIe-PyTorch-1"

@tensorrt-cicd
Copy link
Collaborator

PR_Github #15805 [ run ] triggered by Bot

@tensorrt-cicd
Copy link
Collaborator

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

byshiue and others added 2 commits August 19, 2025 19:56
@byshiue
Copy link
Collaborator Author

byshiue commented Aug 20, 2025

/bot run --stage-list "B200_PCIe-PyTorch-1"

@tensorrt-cicd
Copy link
Collaborator

PR_Github #15869 [ run ] triggered by Bot

@tensorrt-cicd
Copy link
Collaborator

PR_Github #15869 [ run ] completed with state SUCCESS
/LLM/main/L0_MergeRequest_PR pipeline #11928 (Partly Tested) completed with status: 'SUCCESS'
Pipeline passed with automatic retried tests. Check the rerun report for details.

@byshiue
Copy link
Collaborator Author

byshiue commented Aug 20, 2025

/bot run --stage-list "B200_PCIe-PyTorch-1"

@tensorrt-cicd
Copy link
Collaborator

PR_Github #15926 [ run ] triggered by Bot

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

📜 Review details

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

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 488a6e7 and f9108f4.

📒 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 (1)
  • tests/integration/defs/accuracy/test_llm_api_pytorch.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

@tensorrt-cicd
Copy link
Collaborator

PR_Github #15926 [ run ] completed with state SUCCESS
/LLM/main/L0_MergeRequest_PR pipeline #11970 (Partly Tested) completed with status: 'SUCCESS'
Pipeline passed with automatic retried tests. Check the rerun report for details.

@byshiue
Copy link
Collaborator Author

byshiue commented Aug 20, 2025

/bot skip --comment "unwaive CI tests are tested"

@byshiue byshiue enabled auto-merge (squash) August 20, 2025 23:39
@tensorrt-cicd
Copy link
Collaborator

PR_Github #15962 [ skip ] triggered by Bot

@tensorrt-cicd
Copy link
Collaborator

PR_Github #15962 [ skip ] completed with state SUCCESS
Skipping testing for commit f9108f4

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