{
  "id": "model/gemma2-pipeline",
  "name": "gemma2-pipeline",
  "description": "Gemma 2 explicit layer pipeline (all norms as separate steps)",
  "intent": "investigate",
  "compatibleIntents": ["investigate"],
  "stability": "canonical",
  "owner": "doppler-core",
  "createdAtUtc": "2026-02-25T00:00:00Z",
  "extends": "default",
  "runtime": {
    "inference": {
      "compute": {
        "activationDtype": "f16"
      },
      "kvcache": {
        "kvDtype": "f16"
      },
      "pipeline": {
        "steps": [
          {
            "op": "save",
            "name": "residual"
          },
          {
            "op": "rmsnorm",
            "weight": "input"
          },
          {
            "op": "attention",
            "skipInputNorm": true
          },
          {
            "op": "rmsnorm",
            "weight": "post_attn"
          },
          {
            "op": "residual_add",
            "a": "state",
            "b": "residual"
          },
          {
            "op": "save",
            "name": "residual"
          },
          {
            "op": "rmsnorm",
            "weight": "pre_ffn"
          },
          {
            "op": "ffn"
          },
          {
            "op": "rmsnorm",
            "weight": "post_ffn"
          },
          {
            "op": "residual_add",
            "a": "state",
            "b": "residual"
          }
        ]
      },
      "session": {
        "compute": {
          "defaults": {
            "activationDtype": "f16"
          }
        },
        "kvcache": {
          "kvDtype": "f16"
        }
      }
    }
  }
}
