)]}'
{
  "commit": "4fc29b6b1ee9418c69a3f0af132550d29428a052",
  "tree": "2aaf99f73ebb9537b4eacf7c5ac3b39705d77989",
  "parents": [
    "5d42a67721b1cfed695562d5a1a998a1cc927cb5"
  ],
  "author": {
    "name": "ziereis",
    "email": "44057120+ziereis@users.noreply.github.com",
    "time": "Wed Oct 07 09:30:08 2026 +0200"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed Oct 07 09:30:08 2026 +0200"
  },
  "message": "[Torch] Preserve PT2E quantization as LinalgExt ops (#24918)\n\nConverts the typed PT2E `quantized_decomposed` per-tensor and\nper-channel quantize/dequantize ops to `iree_linalg_ext.quantize_affine`\n/ `dequantize_affine` during Torch input conversion, before\nTorch-to-Linalg expands them into scalar arithmetic.\n\nOps LinalgExt cannot express (fp8 storage, non-constant bounds or axis,\nan axis outside the input rank, unknown dtypes) stay on the existing\nTorch-to-Linalg path. Well-formedness of the Torch ops is left to their\nverifiers.\n\nPer-tensor scales are applied in f32 for both directions, matching\nInductor, which computes in f32 and rounds once to the result dtype.\n\nPart of #24862.\n\n🤖 Generated with [Claude Code](https://claude.com/claude-code)\n\nSigned-off-by: Thomas Ziereis \u003cziereis@roofline.ai\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d71c6b0acfc86f57c0b2cea9ec640c0c1a320de3",
      "old_mode": 33188,
      "old_path": "compiler/plugins/input/Torch/InputConversion/BUILD.bazel",
      "new_id": "2ed3b1c56e686e08aa27c9f54f031be3f4a6ff9f",
      "new_mode": 33188,
      "new_path": "compiler/plugins/input/Torch/InputConversion/BUILD.bazel"
    },
    {
      "type": "modify",
      "old_id": "0e494ab35f5b3ae82fbeba80797630a1cccd53a1",
      "old_mode": 33188,
      "old_path": "compiler/plugins/input/Torch/InputConversion/CMakeLists.txt",
      "new_id": "4c325b1947b375d3c4a945d57330ea03eb7b178b",
      "new_mode": 33188,
      "new_path": "compiler/plugins/input/Torch/InputConversion/CMakeLists.txt"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "f4cd70ad184765a83f82b2ba7490a8885edb8553",
      "new_mode": 33188,
      "new_path": "compiler/plugins/input/Torch/InputConversion/ConvertTorchQuantizationToLinalgExt.cpp"
    },
    {
      "type": "modify",
      "old_id": "350885cc2cd248717b24c8f8e0a8b8ec6344f726",
      "old_mode": 33188,
      "old_path": "compiler/plugins/input/Torch/InputConversion/Passes.cpp",
      "new_id": "72d3ca7cf98fc48a875cebf9b17c8340e0ad4bc7",
      "new_mode": 33188,
      "new_path": "compiler/plugins/input/Torch/InputConversion/Passes.cpp"
    },
    {
      "type": "modify",
      "old_id": "b74adf1d67e9d6abe308b072762d7535ed64a6eb",
      "old_mode": 33188,
      "old_path": "compiler/plugins/input/Torch/InputConversion/Passes.td",
      "new_id": "828c5d900970b045c1844a3e447d0e5691bfedc1",
      "new_mode": 33188,
      "new_path": "compiler/plugins/input/Torch/InputConversion/Passes.td"
    },
    {
      "type": "modify",
      "old_id": "3ea5a7eb634e2b0f41d05724fd3ee0f0d1eccd36",
      "old_mode": 33188,
      "old_path": "compiler/plugins/input/Torch/InputConversion/test/BUILD.bazel",
      "new_id": "012e35a568ddadb2a3cf34151f3bc49f22f2726a",
      "new_mode": 33188,
      "new_path": "compiler/plugins/input/Torch/InputConversion/test/BUILD.bazel"
    },
    {
      "type": "modify",
      "old_id": "e5f5c2f7ea58146cc6fc9e1928c360e18838d197",
      "old_mode": 33188,
      "old_path": "compiler/plugins/input/Torch/InputConversion/test/CMakeLists.txt",
      "new_id": "c35e7db7217905e74eb0f055153a321d6cab7d6f",
      "new_mode": 33188,
      "new_path": "compiler/plugins/input/Torch/InputConversion/test/CMakeLists.txt"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "dd760dc8a856153e01f3eab8b0d221a12680be4e",
      "new_mode": 33188,
      "new_path": "compiler/plugins/input/Torch/InputConversion/test/quantization_to_linalg_ext.mlir"
    },
    {
      "type": "modify",
      "old_id": "d21a2b51b56fd3c3294532e039994828ede7c807",
      "old_mode": 33188,
      "old_path": "compiler/plugins/input/Torch/InputConversion/test/torch_to_iree.mlir",
      "new_id": "2a7e7beffbcdadadf6b9ca87264cdd25cb3abd77",
      "new_mode": 33188,
      "new_path": "compiler/plugins/input/Torch/InputConversion/test/torch_to_iree.mlir"
    }
  ]
}
