wenyi-li

60 mods across 1 repository, 9 stars between them.

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.

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.

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.

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.

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.

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.

9 3mo ago A 42 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.

9 3mo ago A 73 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: