{
  "python": "3.13.17",
  "torch": "2.9.1+cpu",
  "torch_revision": "5811a8d7da873dd699ff6687092c225caffcf1bb",
  "device": "cpu",
  "dtype": "float32",
  "query": [
    0.0
  ],
  "keys": [
    0.0,
    0.0
  ],
  "values": [
    2.0,
    8.0
  ],
  "cases": [
    {
      "case": "same_mask",
      "mha_mask": [
        true,
        false
      ],
      "sdpa_mask": [
        true,
        false
      ],
      "mha_output": 8.0,
      "mha_output_without_weights": 8.0,
      "mha_weights": [
        0.0,
        1.0
      ],
      "sdpa_output": 2.0
    },
    {
      "case": "inverted_sdpa_mask",
      "mha_mask": [
        true,
        false
      ],
      "sdpa_mask": [
        false,
        true
      ],
      "mha_output": 8.0,
      "mha_output_without_weights": 8.0,
      "mha_weights": [
        0.0,
        1.0
      ],
      "sdpa_output": 8.0
    },
    {
      "case": "unmasked",
      "mha_mask": null,
      "sdpa_mask": null,
      "mha_output": 5.0,
      "mha_output_without_weights": 5.0,
      "mha_weights": [
        0.5,
        0.5
      ],
      "sdpa_output": 5.0
    },
    {
      "case": "swapped_mask",
      "mha_mask": [
        false,
        true
      ],
      "sdpa_mask": [
        false,
        true
      ],
      "mha_output": 2.0,
      "mha_output_without_weights": 2.0,
      "mha_weights": [
        1.0,
        0.0
      ],
      "sdpa_output": 8.0
    }
  ]
}
