Skip to main content

debug-trt-mismatch

Diagnose a TensorRT-Model-Connect family whose native output disagrees with its declared reference or family-owned correctness contract.

소스 정보

저장소
NVIDIA/TensorRT-Model-Connect
최근 소스 활동
2026년 9월 7일 07:41
감지된 SKILL.md 언어
영어
스타
273
포크
71

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
2 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
debug-trt-mismatch
description
Diagnose a TensorRT-Model-Connect family whose native output disagrees with its declared reference or family-owned correctness contract.
# Debug a TensorRT Mismatch Find the first family-owned boundary that diverges without changing the workload or acceptance rule. ## Start from the owning case Record the repository revision, checkpoint revision, family testcase, build inputs, runtime root, hardware, seed, and request. Read these files before changing code: - `families/<family>/tests/manifests/<case>.json` - `families/<family>/tests/thresholds/<case>.json` - `families/<family>/tests/test_e2e.py` Reproduce the exact direct E2E path: ```bash PYTHONPATH=core/builder:apps/benchmark:. python3 -m pytest \ families/<family>/tests/test_e2e.py \ --e2e-testcase <case> -vv ``` Provide the testcase's required `TRTMC_BINARY`, `TRTMC_RUNTIME_ROOT`, local checkpoint, and GPU environment. Do not replace its reference, seed, or threshold with a smaller smoke test. ## Localize inside the family Separate build, native execution, reference execution, and comparison. Then narrow the first failing boundary in the owning family: inputs and preprocessing, weight mapping, graph output, runtime bindings or state, postprocessing, or the family contract. Reuse an existing family-local probe or test when one exists. Add a focused family-local diagnostic only when the current evidence cannot identify the boundary. Do not move model policy into core or import another family to share debug code. Never weaken a correctness gate to make the mismatch disappear. If the gate is suspected to be wrong, demonstrate that independently and request review. Report the exact reproducer, first divergent boundary, evidence that ruled out earlier stages, smallest owner-local fix, and checks still not run.
GitHub에서 보기