Fuse specs and autotuned baselines
phase2-implementcommandsetup L3★6
Jerry2423/MoE-Kernel-Agent ↗What it does
Fuse subgraph specs into kernel baseline
Best for
Implementing autotuned kernel baselines from validated specifications before Phase 3 algorithmic exploration.
Inputs
- · kernel name
- · reference implementation
- · handoff state
Outputs
- · correct kernel implementation
- · autotuned baseline config
- · validation report
Requires
- · flashinfer-bench
- · modal CLI
- · conda env
Preconditions
- · Phase 1 handoff artifact exists
- · TASK.md and RULES.md present
- · input/ with reference implementation
Failure modes
- · Phase 1 incomplete → stop
- · HINTS.md peeked → bias towards premature optimization
- · Incorrect kernel → validation catches before freeze
- · Config sweep incomplete → baseline not frozen
Trust signals
- · Entry check: Phase 1 artifact required
- · No HINTS.md read (prevents bias)
- · Sub-stage artifacts explicit (5 gates)
- · Correctness-first (performance in Phase 3)