Cacheon

Example bundles

The repository examples are development fixtures for specific parts of the component ABI. They are not a catalog of active crowns, and their comments or metadata are not validator decisions.

Examples that omit an explicit contribution target rely on legacy singleton resolution. Before adapting one for submission, add the appropriate [competition] table and revalidate it against the registered target catalog.

Positive learning examples

ExampleWhat it demonstratesLimits
miner_silu_torchsmallest CPU-importable entry(x, out) bundlecorrectness/packaging only; not expected to beat a tuned incumbent
miner_silu_tritonTriton activation implementation and architecture constraintsneeds matching GPU/Triton environment
miner_rmsnorm_tritonpure RMSNorm output ownership in Tritonlocal example, not crown evidence
miner_attention_torchattention.sdpa block ABI and GQA/MQA reference shapeslow Torch diagnostic implementation
miner_attention_decode_torchattention.decode ABI with seq_lensslow eager diagnostic implementation
miner_moe_fused_experts_torchMoE prepare plus serving entrydense reference-style code, not a quantized fast path
miner_moe_fused_experts_reduce_torchdistributed MoE entry that owns its trailing reductionneeds multi-rank verification for the real contract
miner_allreduce_torchsimplest collective ABI using the supplied groupcorrectness example, not a competitive collective algorithm

Start with miner_silu_torch for the workflow in Your first component bundle. For a new target, use the signature in Kernel ABI, not a superficially similar example.

Negative and adversarial examples

These bundles are meant to fail or expose a gate:

ExampleIntended lesson
miner_silu_broken_torchwrong activation math fails CPU correctness
miner_silu_brokena GPU implementation cannot win by skipping required work
miner_silu_sparsesparse corruption can evade naive averages, so tail/disagreement and end-to-end gates matter
miner_rmsnorm_brokenan incorrect normalization is rejected despite plausible output shape
miner_setup_demolegacy engine-wide setup surface for isolation tests

miner_setup_demo is not a registered component template. No registered target permits setup; a cross-cutting engine change is not a valid submission — widening the catalog is a reviewed validator-side change.

Identity fixtures are not kernels

Two test fixtures are useful for inspecting modern manifest structure:

  • stack_msa_singleton shows explicit singleton competition identity and capability metadata;
  • stack_fused_epilogue_atomic shows explicit atomic identity, member rows, declared CUDA source, dependency patch, and reviewed rebuild steps.

They test intake, identity, and publication machinery. Their callable/native bodies are deliberately minimal and may not implement the live slot ABI. Do not copy them as performance kernels.

A safe way to reuse an example

  1. Copy only a committed source example whose ABI matches your target.
  2. Change bundle_id and add explicit [competition] identity.
  3. Replace descriptive metadata with an honest capability domain.
  4. Remove files and declarations your implementation does not use.
  5. Run scan and verify on the matching target environment.
  6. Inspect the packaged archive before hosting it.

Do not copy caches, generated binaries, local result directories, machine paths, wallet material, or performance claims into a proposal. The submission must be self-contained source and declarations that the validator can reproduce.

On this page