Layer selectors
Per-layer nodes take a layer selector. Top-level nodes (embed, final_norm, lm_head) take none.
When a selector covers layers whose node has different constants (for example, sliding-window and global attention layers in Gemma 4), the kernel is verified against each variant separately.
Common forms
Versions
- You may omit
@version. The locked version is used. - If you give a version, it must match the lock:
@1.0with a lock at1.0.4is fine;@1.1is reported as UNKNOWN with “annotation asks for … but the lock pins …”. - Spec versions follow semantic versioning. Patch releases change only docs and metadata, never definitions. Minor releases add nodes or optional domains. Major releases change semantics.
