Skip to content

feat: Recognize model_connect as a TensorRT platform - #541

Open
yinggeh wants to merge 2 commits into
mainfrom
yinggeh/tri-2052-implement-text-api-tensor-input-without-batching
Open

yinggeh wants to merge 2 commits into
mainfrom
yinggeh/tri-2052-implement-text-api-tensor-input-without-batching

Conversation

@yinggeh

@yinggeh yinggeh commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

What does the PR do?

Recognizes model_connect and model.bundle as a TensorRT backend model. Plan files still autofill as tensorrt_plan.

Checklist

  • PR title reflects the change and is of format <commit_type>: <Title>
  • Changes are described in the pull request.
  • Related issues are referenced.
  • Populated github labels field
  • Added test plan and verified test passes.
  • Verified that the PR passes existing CI.
  • Verified copyright is correct on all changed files.
  • Added succinct git squash message before merging ref.
  • All template sections are filled out.
  • Optional: Additional screenshots for behavior/output changes with before/after.

Commit Type:

Check the conventional commit type
box here and add the label to the github PR.

  • build
  • ci
  • docs
  • feat
  • fix
  • perf
  • refactor
  • revert
  • style
  • test

Related PRs:

triton-inference-server/tensorrt_backend#133

Where should the reviewer start?

src/model_config_utils.cc autofill, then src/test/repo_agent_test.cc.

Test plan:

TensorRTBundleAutofill covers an explicit bundle, filename autofill, sniffing model.bundle, and the plan path when a plan file is present.

  • CI Pipeline ID:

Caveats:

Autofill only. Execution is in the backend PR.

Background

A model_connect config with an empty backend or platform should resolve to the TensorRT backend without changing plan models.

Related Issues: (use one of the action keywords Closes / Fixes / Resolves / Relates to)

  • closes GitHub issue: #xxx

Autofill model.bundle models onto the TensorRT backend and keep plan
files on tensorrt_plan.

Signed-off-by: Yingge He <yinggeh@nvidia.com>
@greptile-apps

greptile-apps Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge, with the previous coverage gap addressed and no new blocking issues found.

Summary

Recognizes model_connect and model.bundle as TensorRT models while keeping plan-file defaults unchanged.

  • TensorRT bundle models now use model_connect and model.bundle defaults.

Reviews (2) · Last reviewed commit: "test: Cover model_connect platform autof..." · Reviewed by Greptile

Comment thread src/test/repo_agent_test.cc Resolved
@yinggeh
yinggeh marked this pull request as draft October 29, 2026 16:55
whoisj
whoisj previously approved these changes Oct 29, 2026

@whoisj whoisj left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

Signed-off-by: Yingge He <yinggeh@nvidia.com>
@yinggeh
yinggeh requested a review from whoisj October 30, 2026 23:05
@yinggeh
yinggeh marked this pull request as ready for review October 30, 2026 23:10
@whoisj

whoisj commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Obviously, do not merge before the backend changes are in place.

This branch has not been deployed

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants