Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

triton-pytorch-model-repository

Latest version: vgit:e03cc69791948597c2978c6c6b85d9aa78a5c7bf

Overview

Last scanned
25 Nov 2026
Agent skill Publisher: NVIDIA
4,134 Stars
554 Forks
1 Versions
Python Repo language

Scan summary

triton-pytorch-model-repository was last scanned on 25 Nov 2026 at commit e03cc697. Risk score 1 of 100 (low). No malicious behavior was detected.

  • Releases: Single version.
  • Findings: 1 rule fired in commit e03cc697 (1 low). The score describes this commit only.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
e03cc697 1 rule fired

Rules fired in e03cc697: 1

Findings

1 Low

Findings for commit e03cc697. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

Encoded content in a skill

The skill's text or bundled scripts contain encoded content, such as a long base64 or hex string, a dense run of hex escapes, or invisible Unicode tag characters that can carry hidden instructions. Skills rarely need these. On its own this is not evidence of malicious behavior.

LOW
Checking access…

🔒 Create a free account to see all 1 finding with descriptions and instance counts

The score describes e03cc697; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

Triton PyTorch Model Repository

When to Use

Trigger on .pt, .pt2, config.pbtxt for a PyTorch model, or a Triton load or inference failure on a PyTorch model. Hand off .onnx to triton-onnx-model-repository and .plan to triton-tensorrt-model-repository. Not for training.

Hard Constraints

  1. No auto-complete. Every input, output, datatype, and shape must be declared in config.pbtxt. Source: pt/model_state.cc, pt2/model_state.cc.
  2. No BF16, no FP8, no UINT16+. Cast to FP16 or FP32, or use the ONNX or TensorRT backend. Source: libtorch_utils.cc. See references/datatypes.md.
  3. PT2 archives are device-baked. CPU export cannot serve on KIND_GPU and vice versa. Re-export to change device. See references/torch-aoti.md.
  4. Misnamed inputs load but produce wrong results. If names match neither forward() nor <name>__<index>, the backend falls back to strict config order. See references/naming.md.
  5. Cache-cleaning parameter is named differently per platform. ENABLE_CACHE_CLEANING on TorchScript, CACHE_CLEANING_ENABLED on PT2. See references/parameters.md.

Platform Form

Form config.pbtxt Model file
TorchScript, C++ runtime platform: "pytorch_libtorch" model.pt
TorchScript, Python runtime backend: "pytorch" + runtime: "model.py" model.pt (the runtime: "model.py" value names the backend's shipped Python runtime, not a user file; if a user authors their own model.py in the version directory it takes priority over model.pt)
AOT Inductor (PT2) backend: "pytorch" + platform: "torch_aoti" model.pt2

Default filenames overridable with default_model_filename.

Deploy TorchScript

Layout:

model_repository/
  <name>/
    config.pbtxt
    1/model.pt

Minimal config.pbtxt:

name: "my_model"
platform: "pytorch_libtorch"
max_batch_size: 8
input  [ { name: "INPUT__0"  data_type: TYPE_FP32 dims: [ 3, 224, 224 ] } ]
output [ { name: "OUTPUT__0" data_type: TYPE_FP32 dims: [ 1000 ] } ]
instance_group [ { kind: KIND_GPU } ]

Launch:

tritonserver --model-repository=/models

--disable-auto-complete-config is optional and only silences the PyTorch backend's "auto-complete not supported" warning at startup. Do not add it when the same model repository also holds ONNX, TensorFlow, or TensorRT models that rely on auto-complete: the flag is server-wide and those models will fail to load.

Deploy PT2

Build the archive with a dynamic batch dim; sample input must have batch > 1 so torch.export does not specialize:

import torch

m = Model().eval()                # add .cuda() for KIND_GPU
sample = (torch.randn(2, 4),)     # one entry per forward() argument; .cuda() each for KIND_GPU
batch = torch.export.Dim("batch", min=1, max=8)
exported = torch.export.export(
    m, sample, dynamic_shapes=({0: batch},)
)
torch._inductor.aoti_compile_and_package(exported, package_path="model.pt2")

Minimal config.pbtxt:

name: "my_model"
backend: "pytorch"
platform: "torch_aoti"
max_batch_size: 8
input  [ { name: "INPUT__0" data_type: TYPE_FP32 dims: [ 4 ] } ]
output [ { name: "OUTPUT__0" data_type: TYPE_FP32 dims: [ 4 ] } ]
instance_group [ { kind: KIND_CPU } ]

Dim("batch", max=N) must be >= max_batch_size. instance_group kind must match the export device.

Build vs Serve Containers

nvcr.io/nvidia/tritonserver:26.10-py3 ships libtorch but no Python torch. Build artifacts in nvcr.io/nvidia/pytorch:26.10-py3 or install torch before building. Match build and serve to 26.10 to avoid opset drift.

Inference (HTTP KFServing v2)

curl -s -X POST -H "Content-Type: application/json" \
  -d '{"inputs":[{"name":"INPUT__0","shape":[1,4],"datatype":"FP32","data":[1,1,1,1]}]}' \
  http://localhost:8000/v2/models/my_model/infer

Large tensors: use the binary tensor extension. See references/config-pbtxt.md.

Debug a Failed Load

Validation order: file exists → input count matches → datatype supported → naming resolves. Fix in order; each later check only runs if earlier ones pass.

Error (server log) Fix
unable to find '/models/<name>/1/model.pt' Place model.pt at 1/ or set default_model_filename.
PyTorch inductor model file "..." is unreachable or inaccessible. Place model.pt2 at 1/.
unsupported datatype TYPE_<X> (TorchScript) See references/datatypes.md. Cast or switch backend.
Unsupported datatype TYPE_<X> ... model instance "<name>_0_0". (PT2) Same recovery; note PT2 wording differs.
configuration expects N inputs, but model expects M inputs. Match input count in config.pbtxt to the exported call spec.
Incorrect device passed to aoti_runner_cpu Re-export PT2 on the target device.
PyTorch execute failure: output must be of type Tensor, List[str] or Tuple ... (inference-time) Return Tensor, 1-D List[str], or a Tuple. Wrap scalars with torch.tensor(...).
PyTorch execute failure: output ... received List[Tensor] (inference-time) Return a Tuple of Tensors, not a List.
failed to split the output tensor '<name>' in responses: expected batch size of at least N ... (PT2 inference-time) PT2 archive lacks dynamic batch Dim. Re-export with torch.export.Dim.
sequence batching with state but not all ... <name>__<index> Rename every input, output, and initial_state.name to <name>__<index>.

Full catalog: references/errors.md.

Performance

  • Backend is BLOCKING (libtorch.cc). Add instance-group entries, not threads.
  • INTRA_OP_THREAD_COUNT and INTER_OP_THREAD_COUNT are process-global; first model wins (pt/model_state.cc).
  • INFERENCE_MODE default true is stronger than NoGrad; leave on.
  • TorchScript JIT compiles on first invocation; use model_warmup to amortize.
  • KIND_MODEL lets the model's own .to(device) win; inputs land on CPU, output path forces cudaStreamSynchronize (pt/model_instance_state.cc).

See references/parameters.md.

Metrics

Standard Triton metrics at GET /metrics on port 8002. No PyTorch-specific metrics. See docs/user_guide/metrics.md.

Hand Off

  • User needs BF16, FP8, UINT16+: ONNX or TensorRT backend.
  • User wants Dynamo (vLLM, TRT-LLM router): Dynamo skills.
  • User wants TorchServe features: different product.
  • CUDA OOM or device-side assertion: model issue, not Triton config.

References

  • references/config-pbtxt.md: field reference and examples.
  • references/datatypes.md: supported crosswalk, unsupported list.
  • references/errors.md: error catalog with recovery.
  • references/parameters.md: TorchScript and PT2 parameters.
  • references/naming.md: naming resolver rules.
  • references/torch-aoti.md: PT2 export, device-baked, MODEL_INIT_LIBRARY.
  • references/sequence-batching.md: sequence batching on pytorch_libtorch and torch_aoti.
  • Canonical docs: docs/user_guide/model_configuration.md, docs/user_guide/model_repository.md.
  • Backend source: triton-inference-server/pytorch_backend on branch r26.10.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • GitHub NVIDIA/skills/triton-pytorch-model-repository

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Frame 2085668439 (1)
Group 1261154229