agentleFS
NVIDIAKnown publisherNVIDIA/TensorRT-Model-Connect/plugins/trtmc-agent-skills/skills/profile-model/SKILL.md

profile-model

Skill290 starsChanged 45 days agoApache-2.0View on GitHub

Measure one TensorRT-Model-Connect model through its public Task API or run a checked-in performance-matrix entry with comparable evidence.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run the owning family correctness testcase on the exact bundle.

    line 22
  2. Distinctive:

    Use the same bundle kind, hardware, input, seed, warmups, iterations, and runtime policy for before/after comparisons.

    line 35

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Profile a Model

Choose the evidence level before running:

  • For one model or testcase, use trtmc-bench.
  • For a release comparison against the native model, use trtmc-aiperf-qual (apps/aiperf_qual).

The public benchmark boundary is public_task_call_wall. It excludes bundle building, process startup, warmup, report generation, and bundle loading. Current public tooling does not provide layer attribution; do not infer a kernel or layer bottleneck from Task API wall time alone.

Before timing

Run the owning family correctness testcase on the exact bundle. Record the repository and checkpoint revisions, GPU and driver, runtime root, family DSO, operation, input, seed, warmups, iterations, and synchronization boundary.

For a focused run:

trtmc-bench run --model <model> --case <case> \
  --bundle <bundle> --no-build \
  --warmup 3 --iterations 10 --runtime-root <runtime-root> \
  --output <result-dir>

Use the same bundle kind, hardware, input, seed, warmups, iterations, and runtime policy for before/after comparisons. If any differ, report the confounder instead of one causal speedup percentage.

For release evidence, run the exact profile with trtmc-aiperf-qual run --profile <profile> --environment <environment> --out <result-dir> (see apps/aiperf_qual/README.md).

Lead the report with correctness and evidence level. Include exact commands, p50 and other suite-owned statistics, measurement scope, limitations, and any target not run.

HTTP text load evidence

For text serving measurements, reuse the persistent trtmc-server through python3 -m trtmc_aiperf_qual text-profile --environment <environment> --config <text-config> --out <result-dir> with PYTHONPATH=apps/aiperf_qual. Consult website/docs/user-guides/profile-text-with-aiperf.md and the checked-in apps/aiperf_qual/config/text/ examples. Keep the owning family's exact-bundle correctness checks before timing; HTTP success does not replace them.

Require incremental capability before interpreting TTFT or inter-token latency. Nonstreaming native records use public_task_call_wall; streaming records include relay/backpressure and have a different scope. Preserve warmup and failures when joining AIPerf exports to server records with X-Request-ID. Native prompt counts are unavailable; client tokenizer counts are estimates. AIPerf request latency ends at the last content response. Inspect the client request lifecycle and server handler timing as well: terminal delivery or cleanup can delay the next request without appearing in content latency. The optional sequential reference comparison requires matching payloads, outputs, token counts, precision and Task boundaries. It does not change the qualification criteria or establish speedup from HTTP latency alone.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.