Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Integrates TileGym cuTile kernels into Hugging Face transformers models via non-intrusive monkey-patching, then auto-generates new kernels.
Use this skill ↓27% 73%+45 ptsof test cases passed
Passed 16 of 22 test cases with the skill, and 6 of 22 without it.
3 of 3 safety checks passed
Not used yet
Transformer-local kernels must use FlashInfer-Bench-style metadata so agents can inventory, compare, and reuse kernels across auto-kernelize runs.
Schema source of truth:
For each transformer module, reusable generated kernels live in:
src/tilegym/transformers/<submodule_name>/
|- kernel_definitions/
| |- <kernel_name>.json
|- kernel_solutions/
| |- <kernel_name>.json
|- kernels/
| |- <kernel_name>.py
|- modeling_<submodule_name>.py
kernels/<kernel_name>.py contains reusable kernel implementation and thin wrapper code only. Model-specific monkey-patch glue, class replacement, patched forward methods, and checkpoint compatibility logic belong in modeling_<submodule_name>.py or src/tilegym/transformers/monkey_patch.py.
Use strict FlashInfer Definition metadata:
name: include concrete problem information.op_type: general compute category.axes: symbolic const/var dimensions.inputs and outputs: tensor specs with shape and dtype.reference: PyTorch code containing a global run function.tags: use namespaced tags such as model:<name>, stage:prefill, stage:decode, status:draft, status:verified, and fused.Definitions describe math and interface. They do not describe implementation source files.
reference is both an executable correctness contract and a provenance pointer. It must:
Next to this one in the catalogue, plus more from the same author.