fla-correctness-coverage

Automate kernel correctness testing and coverage analysis in FLA/ops/.

5.5k|643|Updated Dec 20, 2023
One-click install
npx skills add https://github.com/fla-org/flash-linear-attention --skill fla-correctness-coverage
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fla-correctness-coverage
Source: https://github.com/fla-org/flash-linear-attention/tree/main/.agents/skills/fla-correctness-coverage
Command: npx skills add https://github.com/fla-org/flash-linear-attention --skill fla-correctness-coverage

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the process of testing and ensuring coverage of kernel correctness in FLA/ops/**, helping to verify the accuracy of implemented functions.

Core Features & Use Cases

  • Automated Testing: Automates the process of listing, comparing, and adding tests for kernel correctness.
  • Coverage Analysis: Assesses the coverage of different dimensions like sequence layout, direction, gate mode, and more.
  • Use Case: When adding or modifying a kernel in FLA/ops/, use this Skill to ensure that all necessary tests are in place and that the kernel functions correctly.

Quick Start

Run the fla-correctness-coverage skill to automatically check coverage for a kernel in FLA/ops/**.

Frequently Asked Questions about fla-correctness-coverage

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate kernel correctness testing in FLA/ops?

Automate kernel correctness testing in FLA/ops by running a dedicated Skill that automatically lists, compares, and adds tests to verify the accuracy of implemented functions.

What dimensions does coverage analysis assess for FLA/ops kernels?

Coverage analysis for FLA/ops kernels assesses multiple dimensions including sequence layout, direction, and gate mode to ensure comprehensive correctness verification.

How do I check test coverage when adding a new kernel in FLA/ops?

Check test coverage when adding a new kernel in FLA/ops by running the automated coverage Skill, which verifies that all necessary tests are in place and the kernel functions correctly.

Do I need pytest to verify kernel correctness in FLA/ops?

Yes, you need pytest to verify kernel correctness in FLA/ops, as the automated testing workflow requires a Python testing framework and knowledge of the FLA/ops module structure.