triton-operator-precision-eval

Official

Automates Triton operator precision verification.

AuthorAscend
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Triton 算子精度评估。通过与 PyTorch 参考实现对比,自动计算误差指标并生成标准化精度报告,确保在进行性能优化前算子数值正确性。

Core Features & Use Cases

  • 基于 Torch 参考实现(标杆)与多种 shape × dtype 组合的对比,生成一致的精度报告。
  • 自动化输出:包括 MERE、MARE、最大相对误差等指标,以及可复现的精度报告。
  • 使用场景:验证新 Triton 内核在生产管线中的数值一致性,保障与 PyTorch 参考实现的一致性。

Quick Start

Run the precision evaluation to compare Triton operator outputs against PyTorch references and generate the precision report.

Dependency Matrix

Required Modules

tritontorchtorch_npupytestnumpy

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: triton-operator-precision-eval
Download link: https://github.com/Ascend/agent-skills/archive/main.zip#triton-operator-precision-eval

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.