Skill / SKILL.md

Build Triton Ascend Fused Attention

Krusty84/triton-ascend-agent-dev-kit

Build and adapt a FlashAttention-v2-style fused forward attention kernel for Triton-Ascend using tiled Q/K/V block pointers, online softmax, causal staging, and float32 accumulation. Use when an agent needs forward scaled dot-product attention in BNSD layout on Ascend NPU, must support causal or non-causal masking, or must handle large head dimensions without overflowing on-chip memory.
2 views 172 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Build and adapt a FlashAttention-v2-style fused forward attention kernel for Triton-Ascend using tiled Q/K/V block pointers, online softmax, causal staging, and float32 accumulation. Use when an agent needs forward scaled dot-product attention in BNSD layout on Ascend NPU, must support causal or non-causal masking, or must handle large head dimensions without overflowing on-chip memory.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/Krusty84/triton-ascend-agent-dev-kit' skill-source

Use the complete skill-source/skills/build-triton-ascend-fused-attention directory with your client’s skill installer.

  • skills/build-triton-ascend-fused-attention

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/build-triton-ascend-fused-attention

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
44974a5fe5a6d13be7317dec5875c6f1afeaae11a84beb6ebd667710ec3125ee
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills