wenyi-li/awesome-agent-kernel-skills

9Stars on the repository
200Mods indexed here, across every type
3mo agoLast push, which is what freshness is scored on
noneNo LICENSE: all rights reserved, so bodies are not copied

wenyi-li/awesome-agent-kernel-skills

Skill Claude CodeCodex

A PyPTO example for applying the GELU activation function element by element to a one-dimensional array. It demonstrates flattening, a hand-written formula without tanh, and operator use.

not rated 9 3mo ago A 40 tokens

wenyi-li/awesome-agent-kernel-skills

Skill Claude CodeCodex

An example of implementing cross-entropy loss, a calculation commonly used to measure classification errors. It covers multiple inputs, tiled processing, softmax, selecting target values, summing, and producing one scalar result.

not rated 9 3mo ago A 37 tokens

wenyi-li/awesome-agent-kernel-skills

Skill Claude CodeCodex

A documented example of 2D matrix multiplication using loop blocking over the M dimension and handling leftover elements. Matrix multiplication combines rows and columns of number grids to produce a new grid.

not rated 9 3mo ago A 34 tokens

pypto-case-matvec

52

wenyi-li/awesome-agent-kernel-skills

Skill Claude CodeCodex

A matrix–vector multiplication workaround for cases where K is greater than 65,535. It replaces matrix multiplication with element-by-element multiplication followed by summing.

not rated 9 3mo ago A 32 tokens

wenyi-li/awesome-agent-kernel-skills

Skill Claude CodeCodex

A worked example of BatchNorm, a machine-learning step that normalizes values in groups, for three-dimensional data. It demonstrates reducing dimensions, summing across several axes, and copying values across expanded dimensions.

not rated 9 3mo ago A 41 tokens

wenyi-li/awesome-agent-kernel-skills

Skill Claude CodeCodex

A PyPTO example showing how LayerNorm normalises values across a two-dimensional input using a loop. LayerNorm is a machine-learning operation that rescales values to help a model process them consistently.

not rated 9 3mo ago A 42 tokens

wenyi-li/awesome-agent-kernel-skills

Skill Claude CodeCodex

An optimization example for applying a calculation across a three-dimensional array when values must be broadcast across axes. Broadcasting means reusing smaller input values across a larger shape without copying them manually.

not rated 9 3mo ago A 78 tokens

wenyi-li/awesome-agent-kernel-skills

Skill Claude CodeCodex

A performance-tuning skill for converting large arrays from one data type to another, such as int8 to fp16. It uses two levels of splitting to improve use of shared on-chip memory on Ascend hardware.

not rated 9 3mo ago A 68 tokens

wenyi-li/awesome-agent-kernel-skills

Skill Claude CodeCodex

A guide to combining slicing and concatenation operations in Triton Ascend kernels, which are GPU programs. It describes loading only needed data and calculating joined indexes without a separate concatenation step.

not rated 9 3mo ago A 73 tokens

wenyi-li/awesome-agent-kernel-skills

Skill Claude CodeCodex

A case study for optimizing matrix multiplication when the shared K dimension is much larger than the output dimensions. It uses Split-K to divide that dimension across cores, then combines the partial results.

not rated 9 3mo ago A 101 tokens

At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: