trtllm serve config guide
Generate a source-backed starting `trtllm-serve --config` YAML for basic aggregate single-node PyTorch serving, aligned with checked-in TensorRT-LLM configs and deployment docs. Preserves explicit latency / balanced / throughput objectives. Excludes disaggregated, multi-node, and non-MTP speculative configs.
Documentation & Preview
Skill Benchmark: trtllm-serve-config-guide
> ✅ Overall verdict: PASS — Recommended for publication
Publication Recommendation
Recommended for publication based on the completed evaluation evidence in this report.
Evaluation Metadata
- Skill:
trtllm-serve-config-guide - Validation status:
passed - Evaluation date: 2026-11-20
- Evaluator version:
1.6.10 - Agents: Claude Code (
aws/anthropic/bedrock-claude-opus-5-5), Codex (openai/openai/gpt-6.1-sol) - Tasks: 5 evaluation tasks (4 positive, 1 negative)
- Dataset digest:
sha256:607e57130afdc7b02c203d5cbed9abecc6a98d4e3c16102630e2479a65845261(skill-evaluator-dataset-snapshot/1) - Attempts per task: 1
- Environment:
k8s-sandbox - Tier 2 evidence: required for publication
- Tier 3 evidence: required for publication
Each task attempt ran in its own isolated sandbox pod.
Tier 1 LLM Provenance
SkillSpector provider, model, analyzer revision, and determinism evidence retained for this scan.
| Skill | Provider | Adapter | Analyzer | Model | Revision | Determinism | | --- | --- | --- | --- | --- | --- | --- | | trtllm-serve-config-guide | nv_inference | openai | mcp_tool_poisoning | aws/anthropic/bedrock-claude-opus-5-5 | 2.13.5 | nondeterministic / provider_defaults | | trtllm-serve-config-guide | nv_inference | openai | semantic_developer_intent | aws/anthropic/bedrock-claude-opus-5-5 | 2.13.5 | nondeterministic / provider_defaults | | trtllm-serve-config-guide | nv_inference | openai | semantic_quality_policy | aws/anthropic/bedrock-claude-opus-5-5 | 2.13.5 | nondeterministic / provider_defaults | | trtllm-serve-config-guide | nv_inference | openai | semantic_security_discovery | aws/anthropic/bedrock-claude-opus-5-5 | 2.13.5 | nondeterministic / provider_defaults | | trtllm-serve-config-guide | nv_inference | openai | meta_analyzer | aws/anthropic/bedrock-claude-opus-5-5 | 2.13.5 | nondeterministic / provider_defaults |
- Controls for
trtllm-serve-config-guide: temperature=not set (source=provider_default, forwarded=no); seed=not set (source=unset, forwarded=no); reasoning_effort=not set (source=provider_default, forwarded=no)
What This Report Answers
The three-tier evaluation checks whether the skill:
- is safe to use;
- produces correct answers;
- is discovered and activated when needed;
- helps the agent complete the user's goal and expected workflow; and
- avoids wasted skill and tool usage.
Results at a Glance
| Measure | Claude Code (Baseline → Skill Uplift) | Codex (Baseline → Skill Uplift) | |---|---:|---:| | Overall | 92.6% — baseline ran, but no comparable score was available; uplift unavailable | 89.8% — baseline ran, but no comparable score was available; uplift unavailable | | Security | 100.0% → 100.0% (±0.0 points) | 100.0% → 90.0% (-10.0 points) | | Correctness | 92.0% → 100.0% (+8.0 points) | 88.0% → 100.0% (+12.0 points) | | Discoverability | 97.5% — baseline ran, but no comparable score was available; uplift unavailable | 83.8% — baseline ran, but no comparable score was available; uplift unavailable | | Effectiveness | 74.0% → 77.3% (+3.3 points) | 45.7% → 88.3% (+42.6 points) | | Efficiency | 88.0% — baseline ran, but no comparable score was available; uplift unavailable | 87.1% — baseline ran, but no comparable score was available; uplift unavailable |
How to read this table: baseline is the same task attempted without the target skill. Scores are rounded to one decimal; threshold-adjacent values use additional precision so their displayed band matches the verdict. Uplift is derived from those displayed scores and shown in percentage points.
Example: 47.0% → 92.0% (+45.0 points) means the skill-assisted run scored 92.0%, 45.0 percentage points above its 47.0% no-skill baseline.
A partial dimension was calculated from only the available configured signals; review the detailed report before relying on it.
Comparison details
Shared-source comparisons use the same signals and weights on both conditions. They do not replace the full dimension scores above or change the publication verdict.
| Agent | Dimension | Basis | Baseline → With skill (uplift) | Explanation | | --- | --- | --- | --- | --- | | claude-code | Discoverability | Dimension comparison | N/A | Discoverability is not applicable to the no-skill baseline; there is no installed skill to discover. | | claude-code | Efficiency | Token-only comparison | 93.4% → 93.6% (+0.2 points) | Only Token Efficiency is comparable; the full dimension scores use different evaluator sources. | | codex | Discoverability | Dimension comparison | N/A | Discoverability is not applicable to the no-skill baseline; there is no installed skill to discover. | | codex | Efficiency | Token-only comparison | 86.5% → 84.2% (-2.3 points) | Only Token Efficiency is comparable; the full dimension scores use different evaluator sources. |
Token Usage
Actual Tier 3 execution usage is reported for every observed agent/case pair and both conditions.
| Agent | Dataset case | With skill | Without skill | Delta | Change | Coverage | |---|---|---:|---:|---:|---:|---| | claude-code | All cases | 1,152,794 | 1,129,668 | +23,126 | +2.05% | skill 5/5; base 5/5 | | claude-code | tscg-curated-objective-mismatch | 202,176 | 154,656 | +47,520 | +30.73% | skill 1/1; base 1/1 | | claude-code | tscg-exact-match-throughput-profile | 193,864 | 237,136 | -43,272 | -18.25% | skill 1/1; base 1/1 | | claude-code | tscg-kv-capacity-interpolation | 308,892 | 253,503 | +55,389 | +21.85% | skill 1/1; base 1/1 | | claude-code | tscg-negative | 111,070 | 163,456 | -52,386 | -32.05% | skill 1/1; base 1/1 | | claude-code | tscg-r1-mtp-nearest-config | 336,792 | 320,917 | +15,875 | +4.95% | skill 1/1; base 1/1 | | codex | All cases | 800,990 | 656,476 | +144,514 | +22.01% | skill 5/5; base 5/5 | | codex | tscg-curated-objective-mismatch | 120,968 | 110,585 | +10,383 | +9.39% | skill 1/1; base 1/1 | | codex | tscg-exact-match-throughput-profile | 122,462 | 117,316 | +5,146 | +4.39% | skill 1/1; base 1/1 | | codex | tscg-kv-capacity-interpolation | 221,625 | 184,325 | +37,300 | +20.24% | skill 1/1; base 1/1 | | codex | tscg-negative | 212,650 | 79,010 | +133,640 | +169.14% | skill 1/1; base 1/1 | | codex | tscg-r1-mtp-nearest-config | 123,285 | 165,240 | -41,955 | -25.39% | skill 1/1; base 1/1 | | ALL AGENTS | Dataset aggregate | 1,953,784 | 1,786,144 | +167,640 | +9.39% | skill 10/10; base 10/10 |
Prompt tokens include cached reads, so total tokens are prompt + completion (cached is not added twice). The Efficiency score uses (prompt - cached) + completion. Change is 100 * (with - without) / without; negative means fewer tokens. N/A comparisons include their reason in the coverage column; coverage is never estimated.
Tier Status
| Tier | Purpose | Status | Evidence | |---|---|---|---| | Tier 1 | Static validation | PASSED WITH OBSERVATIONS | 11 validator(s); 11 finding(s) | | Tier 2 | Semantic deduplication | PASSED | 2 validator(s); 0 finding(s) | | Tier 3 | Live agent evaluation | PASS | 2 agent(s); 5 task(s) |
Findings and Observations
<details> <summary>Show detailed findings and successful checks</summary>
- MEDIUM QUALITY/quality_correctness: SKILL_SPEC recommended field missing: 'metadata.tags' (
skills/trtllm-serve-config-guide/SKILL.md) - MEDIUM SCHEMA/body_recommended_section: Missing recommended section: '## Instructions' (
skills/trtllm-serve-config-guide/SKILL.md) - MEDIUM SCHEMA/body_recommended_section: Missing recommended section: '## Examples' (
skills/trtllm-serve-config-guide/SKILL.md) - LOW QUALITY/quality_correctness: No examples provided (
skills/trtllm-serve-config-guide/SKILL.md) - LOW QUALITY/quality_discoverability: Description very long (309 chars, recommend 50-150) (
skills/trtllm-serve-config-guide/SKILL.md) - 6 additional finding(s) are available in the full evaluation artifacts.
</details>
Scoring Methodology
<details> <summary>Show dimension definitions, source signals, and thresholds</summary>
| Dimension | Question | Scored signals | |---|---|---| | Security | Is it safe to use? | security (100%) | | Correctness | Is the answer correct? | accuracy (100%) | | Discoverability | Was the right skill loaded when needed? | skill_execution (100%) | | Effectiveness | Did the skill help complete the task? | goal_accuracy (50%) + behavior_check (50%) | | Efficiency | Did it avoid wasted tool calls and token usage? | skill_efficiency (50%) + token_efficiency (50%) |
- Dimension bands: PASS at 50% or above; NEUTRAL from 40% to below 50%; FAIL below 40%.
- Overall Tier 3 lift: PASS at +5 points or more; FAIL at -10 points or less; values between those bands are NEUTRAL.
- Overall verdict: PASS only when every configured dimension passes for at least one supported agent. Lift is reported as diagnostic evidence and does not override this gate.
- The 50% attempt pass threshold is a separate per-task gate; it is not the dimension pass threshold.
- Effectiveness is the equal-weight mean of goal completion (
goal_accuracy) and expected workflow adherence (behavior_check). - Efficiency is 50% tool-call productivity (the backward-compatible
skill_efficiencywire id) and 50%token_efficiency. Positive-case skill routing is scored under Discoverability, not Efficiency; a negative case without a routing target is N/A. N/A sources are omitted, remaining weights are renormalized, and the dimension is marked partial.
Signals present in this run:
security(Security): unsafe operations, secret leakage, and unauthorized access.skill_execution(Skill Execution): whether the expected skill was selected, decoys were avoided, and the workflow executed.skill_efficiency(Tool Productivity): tool-call productivity (legacy wire id; routing is scored under Discoverability).accuracy(Accuracy): final-answer correctness against the reference answer.goal_accuracy(Goal Accuracy): whether the user's goal was achieved.behavior_check(Behavior Check): whether the expected workflow behavior was followed.token_efficiency(Token Efficiency): actual uncached prompt plus completion usage (50% of Efficiency).
</details>
Freshness
Regenerate this benchmark when the skill, evaluation dataset, target agent/model, evaluator version, environment, or scoring policy changes.