ascend-npu-run-eval
Execute and evaluate generated operator artifacts. Use when you need to run generated test cases, run generated benchmark cases, fast-screen a candidate operator against a baseline, profile benchmark harnesses, summarize profiling data, or compare performance artifacts, including during optimization workflows.
- License 许可
- Apache-2.0
- 所属仓库
- Piagari/helix
- 最近更新
- 2026-07-16
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- ascend-npu-run-eval
- description
- Execute and evaluate generated operator artifacts. Use when you need to run generated test cases, run generated benchmark cases, fast-screen a candidate operator against a baseline, profile benchmark harnesses, summarize profiling data, or compare performance artifacts, including during optimization workflows.
02 资源文件 28
- 参考文档references/compare-perf.md2.3 KB
- 参考文档references/probe-bench.md2.1 KB
- 参考文档references/profile-bench.md1.6 KB
- 参考文档references/profile-report.md3.5 KB
- 参考文档references/run-bench.md4.9 KB
- 参考文档references/run-test.md4.7 KB
- 脚本scripts/bench_contract.py3.9 KB
- 脚本scripts/bench_runner.py79.7 KB
- 脚本scripts/bench_runtime.py28.7 KB
- 脚本scripts/cli.py48.1 KB
- 脚本scripts/compare_result.py8.9 KB
- 脚本scripts/debug_device.py710 B
- 脚本scripts/dtype_close_compare.py4.3 KB
- 脚本scripts/env_registry.py1.1 KB
- 脚本scripts/npu_affinity.py1.9 KB
- 脚本scripts/npu_compare_common.py12.7 KB
- 脚本scripts/npu_compare.py18.9 KB
- 脚本scripts/npu_contract_compare.py17.5 KB
- 脚本scripts/perf_artifacts.py34.5 KB
- 脚本scripts/probe_runner.py21.7 KB
- 脚本scripts/profile_csv_parser.py11.9 KB
- 脚本scripts/profile_runner.py9.9 KB
- 脚本scripts/remote_execution_env.py2.0 KB
- 脚本scripts/result_payload.py530 B
- 脚本scripts/run_runtime.py22.2 KB
- 脚本scripts/simulator_runner.py3.5 KB
- 脚本scripts/test_runner.py48.4 KB
- 脚本scripts/torch_npu_warnings.py482 B
03 SKILL.md 正文
Run-Eval Router
Use the bundled helper script in this skill. Treat
<ascend-npu-run-eval-skill-path> as the staged path to the
ascend-npu-run-eval skill for the active backend:
python3 <ascend-npu-run-eval-skill-path>/scripts/cli.py <subcommand> ...
For probe-bench, use the surface that actually exposes that subcommand in the current workspace. If the staged cli.py in this skill has not been updated yet, use the workspace's public helix probe-bench command instead of guessing helper internals.
Read only the focused guide for the subcommand you are about to run:
run-test-baseline/run-test-convert/run-test-optimize: references/run-test.mdrun-bench: references/run-bench.mdprobe-bench: references/probe-bench.mdprofile-bench: references/profile-bench.mdprofile-report: references/profile-report.mdcompare-perf: references/compare-perf.md
During normal use:
- call
python3 <ascend-npu-run-eval-skill-path>/scripts/cli.py <subcommand> ...directly - do not read unrelated command guides
- do not reread Python files under
<ascend-npu-run-eval-skill-path>/scripts/unless you need to debug, patch, or verify helper behavior
04 同仓库更多 Skills
triton-npu-repair-guide
Heuristic fixes for Ascend Triton compile/JIT/kernel errors and numerical precision mismatches when editing or converting the operator. Does not replace ascend-npu-gen-test, ascend-npu-gen-bench, or harness specs.
triton-npu-optimize
Iteratively optimize a Triton Ascend NPU operator with correctness and performance gates. Use for operator optimization tasks that need repeated correctness validation, benchmark validation, multi-round experiment tracking, reusable optimization notes, and profiler-backed performance analysis when benchmark results need deeper explanation.
triton-npu-optimize-knowledge
Generic reference-only optimize knowledge for pattern triage and evidence-backed symptom routing. This skill does not define optimize workflow or own round artifacts.
triton-npu-optimize-knowledge-v3
Generic reference-only optimize knowledge (v3 working copy) for pattern triage and evidence-backed symptom routing. This skill does not define optimize workflow or own round artifacts; prefer this tree for ongoing knowledge updates.
triton-npu-optimize-knowledge
Generic reference-only optimize knowledge for pattern triage and evidence-backed symptom routing. This skill does not define optimize workflow or own round artifacts.
triton-npu-convert-pytorch-operator
Convert one PyTorch operator into a Triton NPU-backed PyTorch operator, preserve the trailing input-helper block, and validate the converted output through standalone or differential testing.