triton-ascend-case-index-histogram

Community

Accelerate histograms with Triton Vec Core.

Authorxchang1121
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Large-scale histogram counting often suffers from O(n×m) complexity when counting occurrences across many categories. This skill proposes a design that pre-sorts the input and uses binary search to reduce to O(n log n + m log n), enabling substantial speedups on big datasets.

Core Features & Use Cases

  • Pre-sort input indices and perform per-expert binary searches to count occurrences efficiently.
  • Leverage Triton kernels and Vec Core acceleration by operating on float32 data for sorting and parallel counting.
  • Use cases include counting occurrences in datasets with tens of thousands to hundreds of thousands of elements and many categories.

Quick Start

Run the Triton-accelerated histogram workflow on your dataset to compute per-expert counts efficiently.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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-ascend-case-index-histogram
Download link: https://github.com/xchang1121/AutoResearch-CC-hook/archive/main.zip#triton-ascend-case-index-histogram

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.