Skill / SKILL.md

Optimize Triton Ascend Grouped Attention Access

Krusty84/triton-ascend-agent-dev-kit

Optimize irregular KV-cache access in Triton-Ascend grouped decode attention by vector-loading contiguous inner dimensions, assembling discrete outer rows with CANN slice extensions, and transposing UB tiles for tl.dot. Use when an agent ports grouped-query decode attention whose K or V cache addresses are indirect and naive low-axis-discrete loads degrade to scalar memory access.
3 views 172 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Optimize irregular KV-cache access in Triton-Ascend grouped decode attention by vector-loading contiguous inner dimensions, assembling discrete outer rows with CANN slice extensions, and transposing UB tiles for tl.dot. Use when an agent ports grouped-query decode attention whose K or V cache addresses are indirect and naive low-axis-discrete loads degrade to scalar memory access.

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/optimize-triton-ascend-grouped-attention-access directory with your client’s skill installer.

  • skills/optimize-triton-ascend-grouped-attention-access

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/optimize-triton-ascend-grouped-attention-access

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

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

Please log in to comment

    No comments yet

Related skills