)]}'
{
  "commit": "854a13e8255164e53e7fa319df84d240a72a013f",
  "tree": "4ff38de7aee14b1a3d1f540b200936ad3e0c7342",
  "parents": [
    "f2bf602e52cb933c0beaef8d8d86be6f47776555"
  ],
  "author": {
    "name": "Scott Todd",
    "email": "scott.todd0@gmail.com",
    "time": "Wed Sep 04 09:08:42 2024 -0700"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed Sep 04 09:08:42 2024 -0700"
  },
  "message": "Run all framework sanity check tests and organize jobs. (#18420)\n\nFixes https://github.com/iree-org/iree/issues/16624 by running the\r\nexisting ONNX and PyTorch importer tests _with the packages they need\r\ninstalled_.\r\n\r\nSample logs when a test fails:\r\nhttps://github.com/iree-org/iree/actions/runs/10691656074/job/29638920091?pr\u003d18420#step:9:19\r\n```\r\nTraceback (most recent call last):\r\n  File \"/home/runner/work/iree/iree/compiler/bindings/python/test/extras/fx_importer_test.py\", line 8, in \u003cmodule\u003e\r\n    from iree.compiler.extras import fx_importer\r\n  File \"/home/runner/work/iree/iree/.venv/lib/python3.11/site-packages/iree/compiler/extras/fx_importer.py\", line 138, in \u003cmodule\u003e\r\n    from .._mlir_libs._torchMlir import get_int64_max, get_int64_min\r\nModuleNotFoundError: No module named \u0027iree.compiler._mlir_libs._torchMlir\u0027\r\n\r\nThe above exception was the direct cause of the following exception:\r\n\r\nTraceback (most recent call last):\r\n  File \"/home/runner/work/iree/iree/compiler/bindings/python/test/extras/fx_importer_test.py\", line [19](https://github.com/iree-org/iree/actions/runs/10691656074/job/29638920091?pr\u003d18420#step:9:20), in \u003cmodule\u003e\r\n    raise ModuleNotFoundError(\r\nModuleNotFoundError: Failed to import the fx_importer (for a reason other than torch not being found)\r\nError: Process completed with exit code 1.\r\n```\r\n\r\n---\r\n\r\nI\u0027m not really satisfied with how these tests are distributed across\r\njobs either before or after these changes, but I think this is a step in\r\na good direction at least.\r\n* These tests depend on optional packages (torch, onnx, tensorflow) and\r\ndisable themselves if those optional packages are not present.\r\n* The core project build (CMake/CTest, Python, packaging builds) strives\r\nto be modular and not require the entire kitchen sink to function.\r\n* Test workflows should make sense for both local development _and_ CI\r\nusage. The local development flows here are relatively convoluted and\r\ncould use some work.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f156dd8c9703d909a605b580256140c2b64f69ae",
      "old_mode": 33188,
      "old_path": ".github/workflows/pkgci.yml",
      "new_id": "b96cc705878ed47d87287f9b9c86294b168f12d5",
      "new_mode": 33188,
      "new_path": ".github/workflows/pkgci.yml"
    },
    {
      "type": "modify",
      "old_id": "eb7a430436af3923311b24a28048162d2d35d1c7",
      "old_mode": 33188,
      "old_path": ".github/workflows/pkgci_regression_test.yml",
      "new_id": "1ef69580ccb144e8811216c6546dab4d7e3a6ce9",
      "new_mode": 33188,
      "new_path": ".github/workflows/pkgci_regression_test.yml"
    },
    {
      "type": "modify",
      "old_id": "3c9c1d0c655fce92189f35c85c8e63ac85eacc98",
      "old_mode": 33188,
      "old_path": ".github/workflows/pkgci_test_amd_mi250.yml",
      "new_id": "903b93df43578ae97846e83f89065e296ca46a31",
      "new_mode": 33188,
      "new_path": ".github/workflows/pkgci_test_amd_mi250.yml"
    },
    {
      "type": "modify",
      "old_id": "0ec5ad182f7888923bb2a9747ed761a7064ed024",
      "old_mode": 33188,
      "old_path": ".github/workflows/pkgci_test_amd_mi300.yml",
      "new_id": "495c19b8d5f0be0bc12881a95b30c4edb08e7dd2",
      "new_mode": 33188,
      "new_path": ".github/workflows/pkgci_test_amd_mi300.yml"
    },
    {
      "type": "modify",
      "old_id": "c409aa0f5d204681a8f14c454633fb222e267a72",
      "old_mode": 33188,
      "old_path": ".github/workflows/pkgci_test_amd_w7900.yml",
      "new_id": "a2cb1094e1acd5c06ebf17c082b73bd719595e13",
      "new_mode": 33188,
      "new_path": ".github/workflows/pkgci_test_amd_w7900.yml"
    },
    {
      "type": "modify",
      "old_id": "bb125820f17470a7e9ec15fb9315126afcd96564",
      "old_mode": 33188,
      "old_path": ".github/workflows/pkgci_test_android.yml",
      "new_id": "7236e055388148d6f91291bf74f3f59f8cccc35d",
      "new_mode": 33188,
      "new_path": ".github/workflows/pkgci_test_android.yml"
    },
    {
      "type": "modify",
      "old_id": "1e837cb8db59dd7a8f7f5864e86ae3591b6771d3",
      "old_mode": 33188,
      "old_path": ".github/workflows/pkgci_test_nvidia_t4.yml",
      "new_id": "9fd4245eef3e7e51d11d66632d137a1a82da4d18",
      "new_mode": 33188,
      "new_path": ".github/workflows/pkgci_test_nvidia_t4.yml"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "5f2191c84a4190fe9fecd494d7abbab673f13c68",
      "new_mode": 33188,
      "new_path": ".github/workflows/pkgci_test_onnx.yml"
    },
    {
      "type": "modify",
      "old_id": "4ec6b478a3b827bc3ecd1ee91273df24f6484a4f",
      "old_mode": 33188,
      "old_path": ".github/workflows/pkgci_test_riscv64.yml",
      "new_id": "82dd6f7d0a85935bdb659d0acfe2cf0e8f45acec",
      "new_mode": 33188,
      "new_path": ".github/workflows/pkgci_test_riscv64.yml"
    },
    {
      "type": "rename",
      "old_id": "221274a9b02de2d1afe88e8e9b8483b6293db252",
      "old_mode": 33188,
      "old_path": ".github/workflows/pkgci_test_tensorflow_cpu.yml",
      "new_id": "3f9cfcdb9e04d3763dd9d45136927d6bfe0388c2",
      "new_mode": 33188,
      "new_path": ".github/workflows/pkgci_test_tensorflow.yml",
      "score": 97
    },
    {
      "type": "modify",
      "old_id": "27ed919add08069e7bdca59a218485413b177596",
      "old_mode": 33188,
      "old_path": ".github/workflows/pkgci_unit_test.yml",
      "new_id": "5ec026445c9d45247225a97286e450bd52fe808d",
      "new_mode": 33188,
      "new_path": ".github/workflows/pkgci_unit_test.yml"
    },
    {
      "type": "modify",
      "old_id": "27380cec3fd231265396786d48d099de9b99521b",
      "old_mode": 33261,
      "old_path": "build_tools/cmake/run_tf_tests.sh",
      "new_id": "2d5d8d8c63b42c85d39192d258c6445666f9c63c",
      "new_mode": 33261,
      "new_path": "build_tools/cmake/run_tf_tests.sh"
    },
    {
      "type": "modify",
      "old_id": "e6bfd1354a342734acb73601a26135dba2dd2302",
      "old_mode": 33188,
      "old_path": "compiler/bindings/python/test/extras/fx_importer_test.py",
      "new_id": "7b9d42cb1340eda7565d07ef0e38d89fb5fba783",
      "new_mode": 33188,
      "new_path": "compiler/bindings/python/test/extras/fx_importer_test.py"
    },
    {
      "type": "modify",
      "old_id": "f06c81a398e2e723e10e53c55eca34331bf31ce7",
      "old_mode": 33188,
      "old_path": "compiler/bindings/python/test/extras/onnx_importer_test.py",
      "new_id": "8c5e732b0d85843c1d89dd85bcfdc19d36274666",
      "new_mode": 33188,
      "new_path": "compiler/bindings/python/test/extras/onnx_importer_test.py"
    }
  ]
}
