pva-build-test
БесплатноБез исполняемых скриптовНе проверенBuild and verify an NVIDIA PVA operator with the public PVA SDK. Use alone or from OpGen. Run optional EMU correctness, a fresh L4T build with the NVVPU or…
от NVIDIA★ 4 269 звёзд на GitHubОб этом скилле
Build and test a PVA operator
Build the current source. Test it on a directly connected Tegra. Do not change source code, expected results, or tolerances.
Build-Test owns verification stages, evidence, and verdicts.
Resolve paths
SKILL_ROOT is the absolute directory containing this skill's SKILL.md,
after resolving symlinks. Bundled files are relative to that directory. Resolve
supplied relative paths against the invocation directory before changing
directories. PROJECT_ROOT is the active source
workspace; RESULT_DIR is the caller's result directory. All build directories,
reports, logs, and manifests below are under RESULT_DIR, not the shell's CWD.
Get the inputs
Require these inputs for all scopes:
- Caller identity:
OpGenfor an OpGen call; otherwise the direct user. - A Doctor report that is ready for
build-test, or accepted limitations. - Absolute project (
PROJECT_ROOT) and result (RESULT_DIR) paths. - Operator name and PVA generation.
- Test scope:
correctness-onlyorcorrectness-and-performance. - Report label. Use
build-testwhen none is supplied. - SDK version, safety variant, and Doctor's proved compiler backend.
- EMU policy; when EMU execution is available or required, Doctor's proved EMU build mode and configure options, plus test commands.
- L4T configure command and hardware system-test target and filter.
- Correctness cases, independent references, and tolerances.
- Complete install target or deployment manifest.
- Tegra address, user, port, and persistent known-hosts file.
For correctness-and-performance, also require:
- KPI or profiling target and case filter.
- Profiling method, metric, warm-up count, and at least 1000 samples.
- User-approved clock and clock-verification commands.
- Expected clock values and target power mode.
- Performance target and acceptance rule when the caller requests a comparison.
Do not require a KPI target, profiling artifact, clock input, sample count, or
performance filter for correctness-only.
Do not guess a command, target account, filter, expected result, clock setting, or acceptance rule.
Verify the inputs and references
Require Doctor's public-reference-corpus check to be PASS. Set
SDK_REFERENCES to the report's absolute sdk_reference_root. Require a readable
index.md and reference-lock.json, a lock SHA-256 matching the report's
sdk_reference_lock_sha256, and the reported SDK version matching this task.
If these fields are absent or no longer match, return BLOCKED and request a
fresh Doctor report. Do not fall back to an installed package or CWD path. Read the
pva-build-test route in $SDK_REFERENCES/index.md.
Before reading Markdown, check its SHA-256 against the lock
outputs entry; return BLOCKED on a mismatch. Resolve links relative to each
generated file. Use rg to
select relevant build, compiler, deployment, signing, EMU, and
profiling Markdown.
Read the direct-SSH procedure before target access. Fill the JSON result template using the result rules, then write the Markdown report from the same values.
Validate:
- Absolute and readable project paths and a writable result path.
- At least one correctness case with an independent expected result.
- Unambiguous build, test, deployment, and target commands.
- At least one matching hardware system test.
- Performance inputs only when performance is in scope.
- PVA generation, SDK runtime, and safety-variant consistency.
Return BLOCKED for a missing or ambiguous required input.
For each product fact, record the SDK documentation root, local Markdown path, packaged source path, source SHA-256, version, and section or PDF page.
Protect evidence
Before the build:
- Create new build directories under the result directory.
- Write
source-manifest-before.sha256with paths relative to the project root. Exclude new build and result directories. - Record Git identity and dirty state when Git metadata exists.
- Record each command, exit code, log, and principal artifact hash.
Do not reuse a build, log, target result, or profile from an earlier source state.
Run the stages
Run these stages in order:
| Stage | Required action |
|---|---|
| Input | Validate inputs, source identity, references, and scope. |
| EMU build | If EMU is available or required, create a fresh build using Doctor's proved EMU mode and configure options. Otherwise record SKIPPED_OPTIONAL. |
| EMU test | Run the approved EMU cases. Stop with FAILED on a demonstrated source or result defect. |
| L4T build | Create a fresh release build with PVA_BUILD_MODE=L4T, the requested generation, PVA_DISASSEMBLE=ON, and Doctor's proved NVVPU or ASIP/Chess backend. |
| Listing | Record and inspect the generated compiler li |
Установить pva-build-test в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл pva-build-test?
Build and verify an NVIDIA PVA operator with the public PVA SDK. Use alone or from OpGen. Run optional EMU correctness, a fresh L4T build with the NVVPU or ASIP/Chess backend that Doctor proved, direct-SSH Tegra hardware correctness, and optional hardware performance. Return PASSED, FAILED, or BLOCKED with exact evidence.
Как установить скилл pva-build-test?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл pva-build-test запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic