Skip to content

Conversation

@jamieliNVIDIA
Copy link

@jamieliNVIDIA jamieliNVIDIA commented Aug 1, 2025

Summary by CodeRabbit

  • Documentation
    • Added a comprehensive quick start guide for deploying, testing, evaluating, and benchmarking the Llama 3.3-70B Instruct model with TensorRT-LLM using FP8 and NVFP4 quantization on NVIDIA GPUs.
    • Includes setup instructions, configuration examples, inference and benchmarking commands, troubleshooting tips, and accuracy evaluation steps.

Description

Created deployment guide for Llama 3.3 70B FP8 and NVFP4

Test Coverage

N/A

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.

run [--reuse-test (optional)pipeline-id --disable-fail-fast --skip-test --stage-list "A10-PyTorch-1, xxx" --gpu-type "A30, H100_PCIe" --test-backend "pytorch, cpp" --add-multi-gpu-test --only-multi-gpu-test --disable-multi-gpu-test --post-merge --extra-stage "H100_PCIe-TensorRT-Post-Merge-1, xxx" --detailed-log --debug(experimental)]

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

--reuse-test (optional)pipeline-id (OPTIONAL) : Allow the new pipeline to reuse build artifacts and skip successful test stages from a specified pipeline or the last pipeline if no pipeline-id is indicated. If the Git commit ID has changed, this option will be always ignored. The DEFAULT behavior of the bot is to reuse build artifacts and successful test results from the last pipeline.

--disable-reuse-test (OPTIONAL) : Explicitly prevent the pipeline from reusing build artifacts and skipping successful test stages from a previous pipeline. Ensure that all builds and tests are run regardless of previous successes.

--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-PyTorch-1, xxx" (OPTIONAL) : Only run the specified test stages. Examples: "A10-PyTorch-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.

--test-backend "pytorch, cpp" (OPTIONAL) : Skip test stages which don't match the specified backends. Only support [pytorch, cpp, tensorrt, triton]. Examples: "pytorch, cpp" (does not run test stages with tensorrt or triton backend). Note: Does NOT update GitHub pipeline 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 in addition to running 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-TensorRT-Post-Merge-1, xxx" (OPTIONAL) : Run the ordinary L0 pre-merge pipeline and specified test stages. Examples: --extra-stage "H100_PCIe-TensorRT-Post-Merge-1, xxx".

--detailed-log (OPTIONAL) : Enable flushing out all logs to the Jenkins console. This will significantly increase the log volume and may slow down the job.

--debug (OPTIONAL) : Experimental feature. Enable access to the CI container for debugging purpose. Note: Specify exactly one stage in the stage-list parameter to access the appropriate container environment. Note: Does NOT update GitHub check status.

For guidance on mapping tests to stage names, see docs/source/reference/ci-overview.md
and the scripts/test_to_stage_mapping.py helper.

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.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Aug 1, 2025

📝 Walkthrough

Walkthrough

A new documentation file has been added, providing a detailed quick start guide for deploying and benchmarking the Llama 3.3-70B Instruct model with TensorRT-LLM using FP8 and NVFP4 quantization on NVIDIA GPUs. The guide covers prerequisites, setup, configuration, inference, evaluation, benchmarking, and troubleshooting.

Changes

Cohort / File(s) Change Summary
Documentation: Llama3.3 TRT-LLM Quick Start
examples/models/core/llama3_3/Quick Start Recipe for TensorRT-LLM Llama3.3 70B FP8 and NVFP4
Added a comprehensive quick start guide for deploying, evaluating, and benchmarking Llama 3.3-70B with TensorRT-LLM using FP8 and NVFP4 quantization. Includes prerequisites, setup instructions, configuration details, inference commands, evaluation steps, benchmarking scripts, troubleshooting, and sample results.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

Suggested labels

Documentation

Suggested reviewers

  • litaotju

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 33d698e and 1c62b30.

📒 Files selected for processing (1)
  • examples/models/core/llama3_3/ Quick Start Recipe for TensorRT-LLM Llama3.3 70B FP8 and NVFP4 (1 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • examples/models/core/llama3_3/ Quick Start Recipe for TensorRT-LLM Llama3.3 70B FP8 and NVFP4
✨ Finishing Touches
🧪 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.
  • 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.

Support

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

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.

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

🧹 Nitpick comments (5)
examples/models/core/llama3_3/Deployment Guide for TRT-LLM + Llama3.3 70B.md (5)

1-1: Tighten and standardise the document title

Minor formatting tweaks improve readability and match the naming that appears later in the doc.

-# Deployment Guide for TensorRT-LLM  Llama3.3 70B FP8 and NVFP4
+# Deployment Guide for TensorRT-LLM Llama 3.3-70B (FP8 / NVFP4)

3-4: Remove the empty second-level heading

The lone ## renders as an empty heading and breaks the outline.

-##
-

183-184: Remove stray back-tick after the code font

The dangling ` renders literally at the end of the sentence.

-...extra_llm_api_options`.`
+...`extra_llm_api_options`.

238-266: Add language identifiers to fenced code blocks

Several blocks violate MD040. Prefix them with shell or text to enable syntax-highlighting:

-```
+```shell
 MODEL_PATH=nvidia/Llama-3.3-70B-Instruct-FP8
 ...

Do the same for:

  • FP8 GSM8K command
  • FP4 GSM8K command
  • Sample accuracy results (text)
  • Sample benchmark output (text)

Also applies to: 326-334


275-278: Rephrase and fix broken link reference

The sentence is awkward and the Markdown link resolves to http://bench.sh instead of a local file.

-To do this first creating a wrapper [bench.sh](http://bench.sh) script.
+First, create a small helper script (e.g. `bench.sh`) to wrap the benchmark command:
📜 Review details

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

📥 Commits

Reviewing files that changed from the base of the PR and between aee35e2 and bc25b30.

📒 Files selected for processing (1)
  • examples/models/core/llama3_3/Deployment Guide for TRT-LLM + Llama3.3 70B.md (1 hunks)
🧰 Additional context used
🧠 Learnings (2)
📓 Common learnings
Learnt from: moraxu
PR: NVIDIA/TensorRT-LLM#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.
📚 Learning: in tensorrt-llm testing, it's common to have both cli flow tests (test_cli_flow.py) and pytorch api ...
Learnt from: moraxu
PR: NVIDIA/TensorRT-LLM#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.

Applied to files:

  • examples/models/core/llama3_3/Deployment Guide for TRT-LLM + Llama3.3 70B.md
🪛 LanguageTool
examples/models/core/llama3_3/Deployment Guide for TRT-LLM + Llama3.3 70B.md

[style] ~117-~117: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...ch** backend. #### --max_batch_sizeDescription: The maximum number of ...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~121-~121: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...rocessing. #### --max_num_of_tokensDescription: The maximum total numb...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~125-~125: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...scheduled batch. #### --max_seq_lenDescription: The maximum possible s...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~129-~129: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...ut tokens. #### --trust_remote_codeDescription: Allows TensorRT-LLM to...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~144-~144: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...: Sets the data type for the KV cache.   Default: auto (uses the data ...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~148-~148: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...checkpoint). #### cuda_graph_configDescription: A section for configur...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~158-~158: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...or which a CUDA graph will be created.   Default: 0   **Rec...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~162-~162: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...-max_batch_size command-line option.   batch_sizes: A specific list of ...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~164-~164: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...batch sizes to create CUDA graphs for.   Default: None #### `moe_conf...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~174-~174: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...The backend to use for MoE operations.   Default: CUTLASS #### `atten...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~180-~180: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...end to use for attention calculations.  Default: TRTLLM See the [https://g...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~305-~305: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...l,e2el" done EOF chmod +x bench.sh ``` To benchmark the FP4 model, replace --mod...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)

🪛 markdownlint-cli2 (0.17.2)
examples/models/core/llama3_3/Deployment Guide for TRT-LLM + Llama3.3 70B.md

98-98: Heading levels should only increment by one level at a time
Expected: h3; Actual: h4

(MD001, heading-increment)


240-240: Fenced code blocks should have a language specified

(MD040, fenced-code-language)


248-248: Fenced code blocks should have a language specified

(MD040, fenced-code-language)


326-326: Fenced code blocks should have a language specified

(MD040, fenced-code-language)

🔇 Additional comments (1)
examples/models/core/llama3_3/Deployment Guide for TRT-LLM + Llama3.3 70B.md (1)

25-27: Verify naming: “NVFP4” vs model tag “FP4”

The bullet is labelled “NVFP4” but links to …-FP4 on Hugging Face.
Confirm whether the public model tag should actually be …-NVFP4 or keep the heading consistent with the link.

Comment on lines 95 to 106
## Configs and Parameters

These options are used directly on the command line when you start the `trtllm-serve` process.
#### `--tp_size`

&emsp;**Description:** Sets the **tensor-parallel size**. This should typically match the number of GPUs you intend to use for a single model instance.

#### `--ep_size`

&emsp;**Description:** Sets the **expert-parallel size** for Mixture-of-Experts (MoE) models. Like `tp_size`, this should generally match the number of GPUs you're using. This setting has no effect on non-MoE models.

#### `--kv_cache_free_gpu_memory_fraction`
Copy link
Contributor

Choose a reason for hiding this comment

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

🛠️ Refactor suggestion

Fix heading-level jump to satisfy MD001 and improve skimming

You jump from ## to #### and skip ###, triggering markdown-lint and hurting outline structure.
Apply the same level to all flag descriptions, e.g.:

-#### `--tp_size`
+### `--tp_size`
...
-#### `--ep_size`
+### `--ep_size`

Repeat for every parameter subsection.

📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
## Configs and Parameters
These options are used directly on the command line when you start the `trtllm-serve` process.
#### `--tp_size`
&emsp;**Description:** Sets the **tensor-parallel size**. This should typically match the number of GPUs you intend to use for a single model instance.
#### `--ep_size`
&emsp;**Description:** Sets the **expert-parallel size** for Mixture-of-Experts (MoE) models. Like `tp_size`, this should generally match the number of GPUs you're using. This setting has no effect on non-MoE models.
#### `--kv_cache_free_gpu_memory_fraction`
## Configs and Parameters
These options are used directly on the command line when you start the `trtllm-serve` process.
### `--tp_size`
&emsp;**Description:** Sets the **tensor-parallel size**. This should typically match the number of GPUs you intend to use for a single model instance.
### `--ep_size`
&emsp;**Description:** Sets the **expert-parallel size** for Mixture-of-Experts (MoE) models. Like `tp_size`, this should generally match the number of GPUs you're using. This setting has no effect on non-MoE models.
#### `--kv_cache_free_gpu_memory_fraction`
🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

98-98: Heading levels should only increment by one level at a time
Expected: h3; Actual: h4

(MD001, heading-increment)

🤖 Prompt for AI Agents
In examples/models/core/llama3_3/Deployment Guide for TRT-LLM + Llama3.3 70B.md
around lines 95 to 106, the markdown headings jump from level 2 (##) directly to
level 4 (####), skipping level 3 (###), which breaks the document outline and
triggers markdown-lint errors. To fix this, change all parameter description
headings from #### to ### so that the heading levels increase sequentially and
maintain a proper outline structure.

@svc-trtllm-gh-bot svc-trtllm-gh-bot added the Community want to contribute PRs initiated from Community label Aug 1, 2025
@litaotju
Copy link
Collaborator

litaotju commented Aug 1, 2025

@jamieliNVIDIA I think you need to run

git rebase HEAD~1 --signoff to sign the commit, to pass the DCO check, otherwise the CI is failing.
See https://github.com/NVIDIA/TensorRT-LLM/pull/6543/checks?check_run_id=47176561035 for details

@nv-guomingz nv-guomingz removed the Community want to contribute PRs initiated from Community label Aug 1, 2025
@@ -0,0 +1,367 @@
# Deployment Guide for TensorRT-LLM Llama3.3 70B FP8 and NVFP4
Copy link
Collaborator

Choose a reason for hiding this comment

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

Hi Could we rename this file name to deployment-guide-for-trt-llm-llama3.3-70b? The purpose of such change is to make it easy to be indexed in future.

@svc-trtllm-gh-bot svc-trtllm-gh-bot added the Community want to contribute PRs initiated from Community label Aug 1, 2025
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

🧹 Nitpick comments (6)
examples/models/core/llama3_3/deployment-guide-for-trt-llm-llama3.3-70b.md (6)

1-1: Tighten the document title
Two consecutive spaces appear between “TensorRT-LLM” and “Llama3.3”. Trim the extra space for cleaner rendering.

-# Deployment Guide for TensorRT-LLM  Llama3.3 70B FP8 and NVFP4
+# Deployment Guide for TensorRT-LLM Llama 3.3 70B FP8 and NVFP4

98-185: Heading level jumps (#### → h4) violate MD001
Inside “Configs and Parameters” (h2) the option sections start at h4 (####). Increment only one level (use ###). This also fixes markdown-lint warnings.

-#### `--tp_size`
+### `--tp_size`
...
-#### `--ep_size`
+### `--ep_size`

212-214: Add language identifier to JSON block
Markdown-lint flags missing language spec.

-```json
+```json

248-253: Specify language for fenced result blocks
Lines 248–253 are rendered as plain code; add text or none to silence MD040.

-```
+```text

326-353: Benchmark output block missing language tag
Same MD040 issue as above; use text.

-```
+```text

217-223: Spell out acronym on first use
“OOM” is used without expansion. Consider “out-of-memory (OOM)” on first mention for clarity.

📜 Review details

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

📥 Commits

Reviewing files that changed from the base of the PR and between bc25b30 and efb766e.

📒 Files selected for processing (1)
  • examples/models/core/llama3_3/deployment-guide-for-trt-llm-llama3.3-70b.md (1 hunks)
🧰 Additional context used
🧠 Learnings (3)
📓 Common learnings
Learnt from: yibinl-nvidia
PR: NVIDIA/TensorRT-LLM#6506
File: examples/models/core/mixtral/requirements.txt:3-3
Timestamp: 2025-08-01T15:14:45.630Z
Learning: In TensorRT-LLM, examples directory can have different dependency versions than the root requirements.txt file. Version conflicts between root and examples dependencies are acceptable because examples are designed to be standalone and self-contained.
Learnt from: moraxu
PR: NVIDIA/TensorRT-LLM#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.
Learnt from: CR
PR: NVIDIA/TensorRT-LLM#0
File: CODING_GUIDELINES.md:0-0
Timestamp: 2025-08-01T07:34:42.734Z
Learning: Applies to **/*.py : The code developed for TensorRT-LLM should conform to Python 3.8+.
📚 Learning: in tensorrt-llm, examples directory can have different dependency versions than the root requirement...
Learnt from: yibinl-nvidia
PR: NVIDIA/TensorRT-LLM#6506
File: examples/models/core/mixtral/requirements.txt:3-3
Timestamp: 2025-08-01T15:14:45.630Z
Learning: In TensorRT-LLM, examples directory can have different dependency versions than the root requirements.txt file. Version conflicts between root and examples dependencies are acceptable because examples are designed to be standalone and self-contained.

Applied to files:

  • examples/models/core/llama3_3/deployment-guide-for-trt-llm-llama3.3-70b.md
📚 Learning: in tensorrt-llm testing, it's common to have both cli flow tests (test_cli_flow.py) and pytorch api ...
Learnt from: moraxu
PR: NVIDIA/TensorRT-LLM#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.

Applied to files:

  • examples/models/core/llama3_3/deployment-guide-for-trt-llm-llama3.3-70b.md
🪛 LanguageTool
examples/models/core/llama3_3/deployment-guide-for-trt-llm-llama3.3-70b.md

[style] ~117-~117: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...ch** backend. #### --max_batch_sizeDescription: The maximum number of ...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~121-~121: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...r processing. #### --max_num_tokensDescription: The maximum total numb...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~125-~125: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...scheduled batch. #### --max_seq_lenDescription: The maximum possible s...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~129-~129: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...ut tokens. #### --trust_remote_codeDescription: Allows TensorRT-LLM to...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~144-~144: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...: Sets the data type for the KV cache.   Default: auto (uses the data ...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~148-~148: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...checkpoint). #### cuda_graph_configDescription: A section for configur...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~158-~158: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...or which a CUDA graph will be created.   Default: 0   **Rec...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~162-~162: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...-max_batch_size command-line option.   batch_sizes: A specific list of ...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~164-~164: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...batch sizes to create CUDA graphs for.   Default: None #### `moe_conf...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~174-~174: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...The backend to use for MoE operations.   Default: CUTLASS #### `atten...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~180-~180: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...end to use for attention calculations.  Default: TRTLLM See the [https://g...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~305-~305: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...l,e2el" done EOF chmod +x bench.sh ``` To benchmark the FP4 model, replace --mod...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)

🪛 markdownlint-cli2 (0.17.2)
examples/models/core/llama3_3/deployment-guide-for-trt-llm-llama3.3-70b.md

98-98: Heading levels should only increment by one level at a time
Expected: h3; Actual: h4

(MD001, heading-increment)


240-240: Fenced code blocks should have a language specified

(MD040, fenced-code-language)


248-248: Fenced code blocks should have a language specified

(MD040, fenced-code-language)


326-326: Fenced code blocks should have a language specified

(MD040, fenced-code-language)

🔇 Additional comments (1)
examples/models/core/llama3_3/deployment-guide-for-trt-llm-llama3.3-70b.md (1)

25-30: Inconsistent precision naming: “FP4” vs “NVFP4”
The doc introduces “NVFP4” in the title and notes (Line 29) but lists the model link as …-FP4 (Line 26). Pick one term and use it consistently (TensorRT-LLM docs usually say NVFP4).

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

♻️ Duplicate comments (1)
examples/models/core/llama3_3/deployment-guide-for-trt-llm-llama3.3-70b.md (1)

67-69: Hard-coding KV cache dtype causes mismatch for NVFP4 users

dtype: fp8 forces the server to treat every checkpoint as FP8. This breaks NVFP4 flows and contradicts the later documentation that says the default should be auto.

🧹 Nitpick comments (2)
examples/models/core/llama3_3/deployment-guide-for-trt-llm-llama3.3-70b.md (2)

93-100: Heading level jumps from H2 to H4 – use H3 instead

The subsections #### --tp_size, #### --ep_size, etc. are direct children of “## Configs and Parameters”.
Jumping two levels violates MD001 and collapses the section hierarchy in rendered HTML.
Change #### to ### (or add an intermediate H3).


238-246: Add language identifier to fenced code blocks for lint compliance

Several fenced blocks are missing a language tag (``` instead of ```shell / ```text), triggering MD040 and reducing syntax-highlighting:

  • GSM8K FP8 sample (238–246)
  • GSM8K FP4 sample (246–253)
  • Benchmark sample output (324–332)

Add an appropriate identifier (text, none, etc.) to silence markdownlint and improve readability.

Also applies to: 324-332

📜 Review details

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

📥 Commits

Reviewing files that changed from the base of the PR and between efb766e and 0972f7d.

📒 Files selected for processing (1)
  • examples/models/core/llama3_3/deployment-guide-for-trt-llm-llama3.3-70b.md (1 hunks)
🧰 Additional context used
🧠 Learnings (3)
📓 Common learnings
Learnt from: yibinl-nvidia
PR: NVIDIA/TensorRT-LLM#6506
File: examples/models/core/mixtral/requirements.txt:3-3
Timestamp: 2025-08-01T15:14:45.673Z
Learning: In TensorRT-LLM, examples directory can have different dependency versions than the root requirements.txt file. Version conflicts between root and examples dependencies are acceptable because examples are designed to be standalone and self-contained.
Learnt from: moraxu
PR: NVIDIA/TensorRT-LLM#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.
Learnt from: CR
PR: NVIDIA/TensorRT-LLM#0
File: CODING_GUIDELINES.md:0-0
Timestamp: 2025-08-01T07:34:42.734Z
Learning: Applies to **/*.py : The code developed for TensorRT-LLM should conform to Python 3.8+.
📚 Learning: in tensorrt-llm, examples directory can have different dependency versions than the root requirement...
Learnt from: yibinl-nvidia
PR: NVIDIA/TensorRT-LLM#6506
File: examples/models/core/mixtral/requirements.txt:3-3
Timestamp: 2025-08-01T15:14:45.673Z
Learning: In TensorRT-LLM, examples directory can have different dependency versions than the root requirements.txt file. Version conflicts between root and examples dependencies are acceptable because examples are designed to be standalone and self-contained.

Applied to files:

  • examples/models/core/llama3_3/deployment-guide-for-trt-llm-llama3.3-70b.md
📚 Learning: in tensorrt-llm testing, it's common to have both cli flow tests (test_cli_flow.py) and pytorch api ...
Learnt from: moraxu
PR: NVIDIA/TensorRT-LLM#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.

Applied to files:

  • examples/models/core/llama3_3/deployment-guide-for-trt-llm-llama3.3-70b.md
🪛 LanguageTool
examples/models/core/llama3_3/deployment-guide-for-trt-llm-llama3.3-70b.md

[style] ~115-~115: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...ch** backend. #### --max_batch_sizeDescription: The maximum number of ...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~119-~119: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...r processing. #### --max_num_tokensDescription: The maximum total numb...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~123-~123: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...scheduled batch. #### --max_seq_lenDescription: The maximum possible s...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~127-~127: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...ut tokens. #### --trust_remote_codeDescription: Allows TensorRT-LLM to...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~142-~142: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...: Sets the data type for the KV cache.   Default: auto (uses the data ...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~146-~146: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...checkpoint). #### cuda_graph_configDescription: A section for configur...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~156-~156: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...or which a CUDA graph will be created.   Default: 0   **Rec...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~160-~160: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...-max_batch_size command-line option.   batch_sizes: A specific list of ...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~162-~162: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...batch sizes to create CUDA graphs for.   Default: None #### `moe_conf...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~172-~172: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...The backend to use for MoE operations.   Default: CUTLASS #### `atten...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~178-~178: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...end to use for attention calculations.  Default: TRTLLM See the [https://g...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~303-~303: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...l,e2el" done EOF chmod +x bench.sh ``` To benchmark the FP4 model, replace --mod...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)

🪛 markdownlint-cli2 (0.17.2)
examples/models/core/llama3_3/deployment-guide-for-trt-llm-llama3.3-70b.md

96-96: Heading levels should only increment by one level at a time
Expected: h3; Actual: h4

(MD001, heading-increment)


238-238: Fenced code blocks should have a language specified

(MD040, fenced-code-language)


246-246: Fenced code blocks should have a language specified

(MD040, fenced-code-language)


324-324: Fenced code blocks should have a language specified

(MD040, fenced-code-language)

🔇 Additional comments (1)
examples/models/core/llama3_3/deployment-guide-for-trt-llm-llama3.3-70b.md (1)

15-18: Prerequisites claim Hopper support but NVFP4 is Blackwell-only – please clarify

Line 15 lists “NVIDIA Blackwell or Hopper Architecture”, yet line 27 states “NVFP4 is only supported on NVIDIA Blackwell”.
Either:

  1. Split the prerequisite bullet into two (FP8 → Hopper/Blackwell, NVFP4 → Blackwell-only), or
  2. Add a clarifying note to avoid confusing users who have Hopper hardware and intend to try NVFP4.

Also applies to: 27-28

@nv-guomingz nv-guomingz force-pushed the feat/llama-3.3-deployment-guide branch from 33d698e to 1c62b30 Compare August 7, 2025 05:55
@nv-guomingz
Copy link
Collaborator

/bot skip --comment "docs only change"

@nv-guomingz nv-guomingz enabled auto-merge (squash) August 7, 2025 05:55
@tensorrt-cicd
Copy link
Collaborator

PR_Github #14395 [ skip ] triggered by Bot

@tensorrt-cicd
Copy link
Collaborator

PR_Github #14395 [ skip ] completed with state SUCCESS
Release Check Pipeline #1651 failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Community want to contribute PRs initiated from Community

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants