Module vocab

Module vocab 

Source
Expand description

2026-10-02: The step vocabulary: which steps each op’s pipeline has, in order, and the shape and spelling of each step’s value. The one table every requirement, declaration and rendering reads.

Owner: metrale-circuit (pipeline). Invariants:

  • steps_of matches every OpKind without a wildcard arm, so a new op does not compile until its pipeline shape is defined.
  • Projections (a linear of any role, the LM head, the router and both expert projections) share one shape; the routed gate/up projection adds the row gather by expert id.

Enums§

Shape
2026-10-02: The shape of a step’s value.

Functions§

parse_step
2026-10-02: The step a spelling names.
parse_value
2026-10-02: Parse text as the value of step k.
shape_of
2026-10-02: The shape of k’s value.
step_name
2026-10-02: The step’s spelling.
steps_for_base
2026-10-02: The steps of the op a manifest names by base name (linear, act_quant, rms_norm, …); None for a name outside the vocabulary.
steps_of
2026-10-02: The steps of op’s pipeline, in order.