Skip to content

Conversation

Maurits-de-Groot
Copy link
Contributor

@Maurits-de-Groot Maurits-de-Groot commented Aug 26, 2025

Summary by CodeRabbit

  • Documentation
    • Updated Docker instructions to use the latest TensorRT-LLM image tag (1.1.0rc1).
    • Clarified server launch guidance, including how to point to a local model weights path; moved the note outside code blocks for readability.
    • Cleaned up examples: removed a duplicate command in the max-throughput run, eliminated a redundant inline note, and improved formatting.
    • No functional changes; content and formatting improvements only.

Description

In docs/source/blogs/tech_blog/blog9_Deploying_GPT_OSS_on_TRTLLM.md the image nvcr.io/nvidia/tensorrt-llm/release:1.1.0rc0 is used. By following the instructions one will get the error

 [TRT-LLM] [E] Error during benchmarking: None

This is already resolved in PR6800 (https://github.com/NVIDIA/TensorRT-LLM/pull/6800/files) which is merged in rc1

By changing nvcr.io/nvidia/tensorrt-llm/release:1.1.0rc0 to nvcr.io/nvidia/tensorrt-llm/release:1.1.0rc1 the example works again.

Test Coverage

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.

@Maurits-de-Groot Maurits-de-Groot requested a review from a team as a code owner August 26, 2025 11:48
Copy link
Contributor

coderabbitai bot commented Aug 26, 2025

📝 Walkthrough

Walkthrough

Documentation updates to the TensorRT-LLM deployment blog: updated Docker image tag to 1.1.0rc1, clarified local model path usage outside code blocks, removed redundant notes/commands, and cleaned code blocks. No code or API changes.

Changes

Cohort / File(s) Summary of changes
Docs: TRT-LLM deployment blog
docs/source/blogs/tech_blog/blog9_Deploying_GPT_OSS_on_TRTLLM.md
Updated Docker tag 1.1.0rc0 → 1.1.0rc1; moved local model path note outside code; removed redundant inline note; deduplicated trtllm-serve command; formatting cleanup.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

Suggested labels

Community want to contribute

Suggested reviewers

  • QiJune
  • kaiyux

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 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.

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 limitations.

⚠️ Outside diff range comments (2)
docs/source/blogs/tech_blog/blog9_Deploying_GPT_OSS_on_TRTLLM.md (2)

222-222: Copy-paste breakage: backslash before trailing inline comment

In bash, a line-continuation backslash must be the last non-whitespace character on the line. The current lines have a backslash followed by spaces and a comment, which breaks the command when pasted.

Fix both instances:

-  --max_batch_size ${max_batch_size} \  # E.g., 1
+  # E.g., 1
+  --max_batch_size ${max_batch_size} \
-  --max_batch_size ${max_batch_size} \  # E.g., 640 
+  # E.g., 640
+  --max_batch_size ${max_batch_size} \

Alternatively, drop the continuation on these lines and keep the inline comment, but ensure the overall command still parses.

Also applies to: 240-240


105-110: Typo in bullet list

This line starts with “s- ” instead of “- ”, causing a malformed list item in the rendered markdown.

-s- `cuda_graph_config.max_batch_size` is the maximum batch size for CUDA graph.
+- `cuda_graph_config.max_batch_size` is the maximum batch size for CUDA graph.
🧹 Nitpick comments (4)
docs/source/blogs/tech_blog/blog9_Deploying_GPT_OSS_on_TRTLLM.md (4)

209-211: Tighten phrasing and placement of the note

Minor grammar/readability: move the note to its own paragraph above the “run” sentence and simplify tone.

Apply:

-We can use `trtllm-serve` to serve the model by translating the benchmark commands above. For low-latency configuration, run:  
-**Note:** You can also point to a local path containing the model weights instead of the HF repo (e.g., `${local_model_path}`).
+Use `trtllm-serve` to translate the benchmark settings into a serving command.
+
+Note: You can point to a local path containing the model weights instead of the HF repo (for example, `${local_model_path}`).
+
+For the low-latency configuration, run:

If you prefer, I can sweep the doc for similar tone/grammar nits in one pass.


118-135: Parameter name differs between bench and serve; add a small note to avoid user confusion

The benchmarking command uses --kv_cache_free_gpu_mem_fraction while trtllm-serve uses --kv_cache_free_gpu_memory_fraction. Both are correct for their respective tools, but the subtle difference is easy to miss when toggling between sections. Consider adding a one-line note.

Suggested addition (right after the first occurrence in each section):

+Note: The benchmarking tool (`trtllm-bench`) uses `--kv_cache_free_gpu_mem_fraction`, whereas `trtllm-serve` uses `--kv_cache_free_gpu_memory_fraction`.

Citations: trtllm-serve option name, and runtime flag docs. (nvidia.github.io)

Also applies to: 213-224, 231-242


261-268: Minor punctuation in example request

“NVIDIAs” should be “NVIDIA’s” in the example JSON. Low priority, but it’s user-facing.

-            "content": "What is NVIDIAs advantage for inference?"
+            "content": "What is NVIDIA's advantage for inference?"

28-38: Optional: mirror the “use latest tag” guidance inline

You already state “change the image tag to match latest release” above the code block. If you want to reduce future churn, consider templating the tag in the snippet itself (e.g., “x.y.z” placeholder) and adding a second example with the concrete 1.1.0rc1 tag. This pattern is used elsewhere in TRT‑LLM docs and nudges readers to check NGC first.

For example:

 docker run --rm --ipc=host -it \
 ...
-  nvcr.io/nvidia/tensorrt-llm/release:1.1.0rc1 \
+  nvcr.io/nvidia/tensorrt-llm/release:x.y.z \
   /bin/bash

Then provide a second, copy-ready snippet pinning to 1.1.0rc1.

If you prefer to keep a single snippet, we can insert a short sentence linking to the NGC “Tags” tab that shows 1.1.0rc1 as of Aug 22, 2025. (catalog.ngc.nvidia.com)

📜 Review details

Configuration used: Path: .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 80043af and eb9a565.

📒 Files selected for processing (1)
  • docs/source/blogs/tech_blog/blog9_Deploying_GPT_OSS_on_TRTLLM.md (2 hunks)
🧰 Additional context used
🧠 Learnings (2)
📓 Common learnings
Learnt from: farshadghodsian
PR: NVIDIA/TensorRT-LLM#7101
File: docs/source/blogs/tech_blog/blog9_Deploying_GPT_OSS_on_TRTLLM.md:36-36
Timestamp: 2025-08-21T00:16:56.457Z
Learning: TensorRT-LLM container release tags in documentation should only reference published NGC container images. The README badge version may be ahead of the actual published container versions.
📚 Learning: 2025-08-21T00:16:56.457Z
Learnt from: farshadghodsian
PR: NVIDIA/TensorRT-LLM#7101
File: docs/source/blogs/tech_blog/blog9_Deploying_GPT_OSS_on_TRTLLM.md:36-36
Timestamp: 2025-08-21T00:16:56.457Z
Learning: TensorRT-LLM container release tags in documentation should only reference published NGC container images. The README badge version may be ahead of the actual published container versions.

Applied to files:

  • docs/source/blogs/tech_blog/blog9_Deploying_GPT_OSS_on_TRTLLM.md
🪛 LanguageTool
docs/source/blogs/tech_blog/blog9_Deploying_GPT_OSS_on_TRTLLM.md

[grammar] ~209-~209: There might be a mistake here.
Context: ...ove. For low-latency configuration, run: Note: You can also point to a local pa...

(QB_NEW_EN)

⏰ 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)
docs/source/blogs/tech_blog/blog9_Deploying_GPT_OSS_on_TRTLLM.md (1)

36-36: Good change: rc1 tag is now published on NGC

The image tag nvcr.io/nvidia/tensorrt-llm/release:1.1.0rc1 exists and is the latest as of August 22, 2025 on the NGC catalog. This aligns with our guideline to reference only published images.

Citations: NGC page shows “Latest Tag 1.1.0rc1” (modified Aug 22, 2025). (catalog.ngc.nvidia.com)

@Maurits-de-Groot Maurits-de-Groot changed the title [None][Fix] Updated docs/source/blogs/tech_blog/blog9_Deploying_GPT_OSS_on_TRTLLM.md [None][Fix] Updated docs/source/blogs/tech_blog/blog9_Deploying_GPT_OSS_on_TRTLLM Aug 26, 2025
@Maurits-de-Groot Maurits-de-Groot changed the title [None][Fix] Updated docs/source/blogs/tech_blog/blog9_Deploying_GPT_OSS_on_TRTLLM [None][Fix] Updated blog9_Deploying_GPT_OSS_on_TRTLLM Aug 26, 2025
@svc-trtllm-gh-bot svc-trtllm-gh-bot added the Community want to contribute PRs initiated from Community label Aug 26, 2025
@Maurits-de-Groot Maurits-de-Groot changed the title [None][Fix] Updated blog9_Deploying_GPT_OSS_on_TRTLLM [none][fix] Updated blog9_Deploying_GPT_OSS_on_TRTLLM Aug 26, 2025
@Maurits-de-Groot Maurits-de-Groot changed the title [none][fix] Updated blog9_Deploying_GPT_OSS_on_TRTLLM [None][fix] Updated blog9_Deploying_GPT_OSS_on_TRTLLM Aug 26, 2025
@pramodk
Copy link

pramodk commented Aug 26, 2025

thanks, @Maurits-de-Groot!

@DanBlanaru: this is related to the question we discussed on Slack related to the Nebius.

Copy link
Collaborator

@juney-nvidia juney-nvidia left a comment

Choose a reason for hiding this comment

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

Thanks for the contributions.

@juney-nvidia
Copy link
Collaborator

/bot skip --comment "No need to run full CI"

@juney-nvidia juney-nvidia enabled auto-merge (squash) August 26, 2025 15:01
@tensorrt-cicd
Copy link
Collaborator

PR_Github #16570 [ skip ] triggered by Bot

@tensorrt-cicd
Copy link
Collaborator

PR_Github #16570 [ skip ] completed with state SUCCESS
Skipping testing for commit eb9a565

@juney-nvidia juney-nvidia merged commit 2d0c9b3 into NVIDIA:main Aug 26, 2025
4 of 9 checks passed
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.

5 participants