)]}'
{
  "commit": "27e7a9058eded6a20dc098368352329263f77a23",
  "tree": "83739f287ee95a29693ff8146482a4dcf0ae6b99",
  "parents": [
    "a953763e6a128ab9413a8bc93df9aa2c8f99ec9e"
  ],
  "author": {
    "name": "Han-Chung Wang",
    "email": "hanhan0912@gmail.com",
    "time": "Tue Jan 14 20:50:54 2025 -0800"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Tue Jan 14 20:50:54 2025 -0800"
  },
  "message": "[DT][Encoding] Use layouts to calculate storage size when it is present. (#19686)\n\nThe revision implements the `calculateStorageSizeInBytes` method for\r\nbackend attributes, so the EncodingAttr can query the storage size from\r\neach layout when layouts are set. It enables the storage size request\r\npropagation from devices to hosts through interfaces.\r\n\r\nThe tests are adapted from existing tests with resolved layouts.\r\nAdditionally, it adds a new test that has two different layouts. It\r\ncomputes both of them and select the maximum size.\r\n\r\nThe revision also implements the output streaming and log the final tile\r\nsize decision in CPUEncodingExternalModels, which helps debug easier.\r\n\r\n---------\r\n\r\nSigned-off-by: hanhanW \u003chanhan0912@gmail.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c515766e396f660950fab88130d5dc5cef6a55a2",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/Dialect/Codegen/Utils/Utils.cpp",
      "new_id": "3e0669ca96212299920934c26bf5178ac6e3efbc",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/Dialect/Codegen/Utils/Utils.cpp"
    },
    {
      "type": "modify",
      "old_id": "8a8c309d4ba56d5e0bcb1c142f721408e8032d9b",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/Dialect/Codegen/Utils/Utils.h",
      "new_id": "bdb7ebb6687bf4a5292e08dd99f8d09d7e4fe325",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/Dialect/Codegen/Utils/Utils.h"
    },
    {
      "type": "modify",
      "old_id": "ec9b711f42d5183f71dc693b09407eb0725931f2",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/ExternalInterfaces/BUILD.bazel",
      "new_id": "326c97a4c66b796c9f69ebe4d995e468f9560f02",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/ExternalInterfaces/BUILD.bazel"
    },
    {
      "type": "modify",
      "old_id": "3f14e773eb1975c5b93258bbef26de3eae93ab15",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/ExternalInterfaces/CMakeLists.txt",
      "new_id": "181b029402e1b7c66d0d3dce6b674f1d55bc5e98",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/ExternalInterfaces/CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "187cef73de0d5f80d5855811a848e1b9e21a2bf8",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/ExternalInterfaces/CPUEncodingExternalModels.cpp",
      "new_id": "b279db3712bc279136c32f44bd8d6d21d5a7a2b7",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/ExternalInterfaces/CPUEncodingExternalModels.cpp"
    },
    {
      "type": "modify",
      "old_id": "12542e276f78055edddd98fa4e6c89a46b8f2d8f",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/ExternalInterfaces/Utils.cpp",
      "new_id": "b2629aa7000e2f6a44a4d0210cda9b2dfda00a56",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/ExternalInterfaces/Utils.cpp"
    },
    {
      "type": "modify",
      "old_id": "f4649d6ced89fc1aa59d43e19548a14bdc885c39",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/ExternalInterfaces/Utils.h",
      "new_id": "d6f3f7ff09ec7c65f835a9ca9a16868b7e271de9",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/ExternalInterfaces/Utils.h"
    },
    {
      "type": "modify",
      "old_id": "8552645d08fed14aa50809c5bade5a04903dfd8a",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Dialect/Encoding/IR/EncodingAttrs.cpp",
      "new_id": "a46701054109ab6bf56a42d36c5ff6b5b186919a",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Dialect/Encoding/IR/EncodingAttrs.cpp"
    },
    {
      "type": "modify",
      "old_id": "6eb994f522e9359387733a654b7ec6207fcd56ec",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Dialect/Encoding/IR/EncodingInterfaces.td",
      "new_id": "08fe49f01e50d91c9a98529f19d3ce755d4a01a9",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Dialect/Encoding/IR/EncodingInterfaces.td"
    },
    {
      "type": "modify",
      "old_id": "42764fe48cd0909a5104e2dab0c03564e094a6f0",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Dialect/Stream/Transforms/test/encode_host_tensors.mlir",
      "new_id": "ffe248aee79693b66eb5f0bd0f1a95078b5ee85d",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Dialect/Stream/Transforms/test/encode_host_tensors.mlir"
    }
  ]
}
