TensorRT-LLM icon indicating copy to clipboard operation
TensorRT-LLM copied to clipboard

[None][feat] add qwen3-next CI test of accuracy on BF16 and NVFP4

Open JadoTu opened this issue 1 year ago โ€ข 40 comments

Summary by CodeRabbit

  • Tests
    • Added comprehensive test coverage for the new Qwen3-Next-80B-A3B-Instruct model variant with diverse execution configurations
    • Validates both BF16 floating-point and NVFP4 quantized execution modes with established performance baselines
    • Enables benchmarking on standard evaluation tasks with complete support for distributed inference optimization through tensor, pipeline, and expert parallelism strategies

โœ๏ธ Tip: You can customize this high-level summary in your review settings.

Description

add qwen3-next CI test of accuracy on BF16 and NVFP4

JadoTu avatar Nov 20 '25 06:11 JadoTu

๐Ÿ“ Walkthrough

Walkthrough

This PR adds test coverage and reference accuracy data for a new Qwen3-Next-80B-A3B-Instruct model variant, including benchmark entries for GSM8K and MMLU evaluation tasks, new test harness configurations, and updated integration test lists.

Changes

Cohort / File(s) Summary
Reference accuracy data
tests/integration/defs/accuracy/references/gsm8k.yaml, tests/integration/defs/accuracy/references/mmlu.yaml
Added Qwen3/Qwen3-Next-80B-A3B-Instruct model entries with accuracy metrics (GSM8K: 84.42/84.32; MMLU: 85.58/85) and quantization configurations (NVFP4 with FP8 kv_cache).
Test harness
tests/integration/defs/accuracy/test_llm_api_pytorch.py
Added TestQwen3NextInstruct test class with bf16 and NVFP4 test methods, including parameterized configurations for tensor parallel, pipeline parallel, MoE expert parallel, CUDA graph, and overlap scheduler settings. Note: Duplicate class definition present in diff.
Integration test configuration
tests/integration/test_lists/test-db/l0_dgx_b200.yml
Replaced single GPTOSS test entry with six Qwen3NextInstruct test variants covering bf16 and multiple NVFP4 configurations.

Estimated code review effort

๐ŸŽฏ 3 (Moderate) | โฑ๏ธ ~25 minutes

  • Duplicate class definition in test_llm_api_pytorch.py: The TestQwen3NextInstruct class appears twice with identical signatures and methods; verify this is intentional or a merge artifact.
  • Test parameterization logic: Review the parameter combinations in test_bf16_4gpu and test_nvfp4 methods for correctness and coverage alignment.
  • Reference accuracy values: Validate that accuracy metrics in YAML files match expected benchmarks for the quantized and non-quantized variants.
  • Test list migration: Confirm that replacing GPTOSS test with Qwen3NextInstruct variants maintains desired test coverage for the integration suite.

Pre-merge checks and finishing touches

โŒ Failed checks (2 warnings)
Check name Status Explanation Resolution
Description check โš ๏ธ Warning The PR description is incomplete and does not follow the provided template. It lacks required sections such as test coverage details, PR checklist confirmation, and a thorough explanation of what and why. Add a complete description explaining the changes and rationale, list specific test coverage (e.g., test_bf16_4gpu and test_nvfp4 methods), and confirm all PR checklist items have been reviewed.
Docstring Coverage โš ๏ธ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. You can run @coderabbitai generate docstrings to improve docstring coverage.
โœ… Passed checks (1 passed)
Check name Status Explanation
Title check โœ… Passed The title clearly summarizes the main change: adding CI tests for the Qwen3-Next model with BF16 and NVFP4 accuracy testing, which aligns with all file changes in the changeset.
โœจ Finishing touches
  • [ ] ๐Ÿ“ Generate docstrings
๐Ÿงช Generate unit tests (beta)
  • [ ] Create PR with unit tests
  • [ ] Post copyable unit tests in a comment

[!TIP]

๐Ÿ“ Customizable high-level summaries are now available in beta!

You can now customize how CodeRabbit generates the high-level summary in your pull requests โ€” including its content, structure, tone, and formatting.

  • Provide your own instructions using the high_level_summary_instructions setting.
  • Format the summary however you like (bullet lists, tables, multi-section layouts, contributor stats, etc.).
  • Use high_level_summary_in_walkthrough to move the summary from the description to the walkthrough section.

Example instruction:

"Divide the high-level summary into five sections:

  1. ๐Ÿ“ Description โ€” Summarize the main change in 50โ€“60 words, explaining what was done.
  2. ๐Ÿ““ References โ€” List relevant issues, discussions, documentation, or related PRs.
  3. ๐Ÿ“ฆ Dependencies & Requirements โ€” Mention any new/updated dependencies, environment variable changes, or configuration updates.
  4. ๐Ÿ“Š Contributor Summary โ€” Include a Markdown table showing contributions: | Contributor | Lines Added | Lines Removed | Files Changed |
  5. โœ”๏ธ Additional Notes โ€” Add any extra reviewer context. Keep each section concise (under 200 words) and use bullet or numbered lists for clarity."

Note: This feature is currently in beta for Pro-tier users, and pricing will be announced later.


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

Comment @coderabbitai help to get the list of available commands and usage tips.

coderabbitai[bot] avatar Nov 20 '25 06:11 coderabbitai[bot]

/bot run

JadoTu avatar Nov 23 '25 14:11 JadoTu

PR_Github #25452 [ run ] triggered by Bot. Commit: ed8c171

tensorrt-cicd avatar Nov 23 '25 14:11 tensorrt-cicd

PR_Github #25452 [ run ] completed with state FAILURE. Commit: ed8c171 /LLM/main/L0_MergeRequest_PR pipeline #19266 completed with status: 'FAILURE'

tensorrt-cicd avatar Nov 23 '25 14:11 tensorrt-cicd

/bot run

JadoTu avatar Nov 23 '25 17:11 JadoTu

PR_Github #25459 [ run ] triggered by Bot. Commit: 06f9bb3

tensorrt-cicd avatar Nov 23 '25 17:11 tensorrt-cicd

PR_Github #25459 [ run ] completed with state SUCCESS. Commit: 06f9bb3 /LLM/main/L0_MergeRequest_PR pipeline #19273 completed with status: 'FAILURE'

tensorrt-cicd avatar Nov 23 '25 19:11 tensorrt-cicd

/bot run

nv-guomingz avatar Nov 24 '25 00:11 nv-guomingz

PR_Github #25466 [ run ] triggered by Bot. Commit: 06f9bb3

tensorrt-cicd avatar Nov 24 '25 01:11 tensorrt-cicd

PR_Github #25466 [ run ] completed with state SUCCESS. Commit: 06f9bb3 /LLM/main/L0_MergeRequest_PR pipeline #19280 completed with status: 'FAILURE'

tensorrt-cicd avatar Nov 24 '25 01:11 tensorrt-cicd

/bot run

JadoTu avatar Nov 24 '25 03:11 JadoTu

PR_Github #25480 [ run ] triggered by Bot. Commit: 8a69425

tensorrt-cicd avatar Nov 24 '25 03:11 tensorrt-cicd

PR_Github #25480 [ run ] completed with state SUCCESS. Commit: 8a69425 /LLM/main/L0_MergeRequest_PR pipeline #19294 completed with status: 'FAILURE'

tensorrt-cicd avatar Nov 24 '25 04:11 tensorrt-cicd

/bot run

JadoTu avatar Nov 24 '25 05:11 JadoTu

PR_Github #25493 [ run ] triggered by Bot. Commit: 8a69425

tensorrt-cicd avatar Nov 24 '25 05:11 tensorrt-cicd

PR_Github #25493 [ run ] completed with state SUCCESS. Commit: 8a69425 /LLM/main/L0_MergeRequest_PR pipeline #19304 completed with status: 'FAILURE'

tensorrt-cicd avatar Nov 24 '25 06:11 tensorrt-cicd

/bot run ๐Ÿ™

JadoTu avatar Nov 24 '25 07:11 JadoTu

PR_Github #25511 Bot args parsing error: usage: /bot [-h] {run,kill,skip,submit,reviewers,reuse-pipeline,reuse-review} ... /bot: error: unrecognized arguments: ๐Ÿ™

tensorrt-cicd avatar Nov 24 '25 07:11 tensorrt-cicd

/bot run

JadoTu avatar Nov 24 '25 07:11 JadoTu

PR_Github #25521 [ run ] triggered by Bot. Commit: d57c919

tensorrt-cicd avatar Nov 24 '25 08:11 tensorrt-cicd