fp16-trt-network

fp16-trt-network is a skill for Codex from NVIDIA/TensorRT-Model-Connect. It costs 30 tokens per session (392 once invoked), scanned A, original, Apache-2.0.

A guide to using FP16 or BF16, lower-precision number formats, in strongly typed TensorRT neural-network graphs.

In plain words
What is it for?
Use it when adding, reviewing, or debugging low-precision TensorRT networks, including explicit FP32 boundaries and compact attention state.
Why use it?
It helps keep tensor data types, constants, casts, backend selection, and shape or layout ownership consistent when reducing precision.

Skill for Codex ✓ vendor

Written for Codex: agents/openai.yaml present.

Good fit Use it when adding, reviewing, or debugging low-precision TensorRT networks, including explicit FP32 boundaries and compact attention state.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nvidia/tensorrt-model-connect/fp16-trt-network
About the project

NVIDIA/TensorRT-Model-Connect is a collection of C++ reference implementations for deploying supported Hugging Face models with NVIDIA TensorRT, a system that runs trained models to produce inference results. It is for developers who want to build and run supported models or evaluate model integrations through TensorRT. The catalogue entries provide skills and instructions for using this model deployment workflow.

NVIDIA/TensorRT-Model-Connect · 289 stars · on GitHub · nvidia.github.io

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add NVIDIA/TensorRT-Model-Connect --skill fp16-trt-network
Clone the repo
git clone --depth 1 https://github.com/NVIDIA/TensorRT-Model-Connect

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for fp16-trt-network

README.md
[![agentmods](https://agentmods.dev/badge/skills/nvidia/tensorrt-model-connect/fp16-trt-network/github.svg)](https://agentmods.dev/skills/nvidia/tensorrt-model-connect/fp16-trt-network)
Your own site
<a href="https://agentmods.dev/skills/nvidia/tensorrt-model-connect/fp16-trt-network"><img src="https://agentmods.dev/badge/skills/nvidia/tensorrt-model-connect/fp16-trt-network/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for fp16-trt-network

Your own site · 80×15
<a href="https://agentmods.dev/skills/nvidia/tensorrt-model-connect/fp16-trt-network"><img src="https://agentmods.dev/badge/skills/nvidia/tensorrt-model-connect/fp16-trt-network.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 392 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00030 $0.00392
Opus 5.5 $0.00012 $0.00157
Sonnet 5.5 $0.00006 $0.00078
Haiku 4.5 $0.00003 $0.00039

Measured 2mo ago against content hash 4c9476df68b1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

fp16-trt-network scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/trtmc-agent-skills/skills/fp16-trt-network/SKILL.md · 45 lines

What it actually says

FP16 and BF16 TensorRT Networks

Work in the owning families/<family>/ implementation. Read its model.py, local graph helpers, manifests, and tests before changing dtype behavior.

Preserve the typed graph

  • Create the network with trt.NetworkDefinitionCreationFlag.STRONGLY_TYPED.
  • Resolve request.precision explicitly and reject unsupported values.
  • Track checkpoint storage dtype, TensorRT tensor dtype, shape, and layout at every cast-sensitive boundary.
  • Create constants in an intentional storage dtype and use network.add_cast(...) when the runtime dtype differs.
  • Keep all inputs to an elementwise operation dtype-compatible, including epsilon, masks, scales, and affine parameters.
  • Preserve compact K/V projection and cache shapes for grouped or multi-query attention.

Use FP32 only where the family implementation or measured reference evidence requires it, commonly reductions, normalization, probability arithmetic, or comparison-sensitive outputs. Cast back explicitly. Do not apply a blanket FP32 layer list or remove an established family boundary without evidence.

Precision and quantization are separate request values. Change one at a time, and do not add a shared model helper merely because another family has similar code. Copy a small proven pattern into the owner when needed.

Prove the change

Build through the public Python build command with the exact checkpoint and precision. Inspect the resulting bundle, run focused family Python/C++ tests, then run the declared family E2E testcase against its existing oracle.

Bundle size is only a signal. Qualification requires the requested graph path to execute and the unchanged family correctness contract to pass. Report any hardware or precision variant not run.

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed · -122 lines · -29 tokens per session 4c9476df68b1
  2. 2mo ago First seen · 167 lines · 59 tokens per session scan A 5840237bd66c

Subscribe to this mod's changes

fp16-trt-network is a skill published in the GitHub repository NVIDIA/TensorRT-Model-Connect (289 stars, last pushed yesterday), licensed Apache-2.0. It adds 30 tokens to every session and 392 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

fp16-trt-network compared with skills from other repositories

fp16-trt-network next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
fp16-trt-networkNVIDIA/TensorRT-Model-ConnectSkill289yesterdayApache-2.0A30Codex
graphsignal-profilergraphsignal/graphsignal-profilerSkill2453mo agoApache-2.0A74Claude Code, Codex
sglang-diffusion-benchmark-profilesgl-project/sglangSkill39kyesterdayApache-2.0A26Claude Code, Codex
cpp-proJeffallan/claude-skillsSkill12k7d agoMITA79Claude Code
rocketride-debugging-pipelinesrocketride-org/rocketride-serverSkill20kyesterdayMITA67Claude Code, Codex
cppericrisco/rsc-harnessSkill5032d agoMITA81Claude Code, Codex
statusfabriqaai/specs.mdSkill2253d agoMITA19Claude Code, Codex