llvm / torch-mlir

The Torch-MLIR project aims to provide first class support from the PyTorch ecosystem to the MLIR ecosystem.
Other
1.23k stars 448 forks source link

LLVM green commit tracking for coordination experiment #1178

Open sstamenova opened 1 year ago

sstamenova commented 1 year ago

Please use https://github.com/llvm/torch-mlir/issues/1135 for process discussion.

I'm adding the new issue, so that we can track just the green LLVM commits and corresponding commits/branches in torch-mlir, onnx-mlir and MHLO until we have a more formal process.

sstamenova commented 1 year ago

Green LLVM commit for the week of 8/1/2022: ec5def5e20f6ae9fe8cc30e5ee152d4b239e1e95

sstamenova commented 1 year ago

Week of 8/8/2022: Green LLVM commit: 061e0189a3dab6b1831a80d489ff1b15ad93aafb Green MHLO commit: 0430519b7ebf11a3f44c469fce8b579561fa6052 (branch greencommit/2022-08-08-061e0189) Corresponding torch-mlir commit: bb47c166a047ddbc913950cb0f2571594c0fe261 Corresponding onnx-mlir commit: 993b86b57febc42c83e13e6533cbb50fe77cf076

ashay commented 1 year ago

Week of 8/15/2022: Green LLVM commit: 2dde4ba63974daf59f8ce5c346505f194f920131 Green MHLO commit: 9c49473d80a8667e94232ddb5ed60a1a9d8ad266 (branch greencommit/2022-08-15-2dde4ba6) Corresponding Torch-MLIR commit: 84d345c650adac1645ea4dcb5dae88b4c91d3413

ashay commented 1 year ago

Week of 8/22/2022: Green LLVM commit: e5d5146323ffaa13eb5185616c6ae5c36b69352d (works on Windows and Linux, but not on macOS) Green MHLO commit: ace4030dd55fce2a74e46f71f1937feb61ed1e3f (branch greencommit/2022-08-22-e5d51463) Corresponding onnx-mlir commit: a9767f31a933a55aaa99bbb8a6dadcee7f27ad62

ashay commented 1 year ago

Week of 8/29/2022: Green LLVM commit: 00d648bdb5a8b71785269b4851b651c883de2cd9 Green MHLO commit: 305a2f25229660ea789bf70ed8e7336227f6228a (branch greencommit/2022-08-29-00d648bd)

ashay commented 1 year ago

Week of 9/5/2022: Green LLVM commit: d2613d5bb5dca0624833e4747f67db6fe3236ce8 Green MHLO commit: 3bfb91e4ee44352f6620603078e2e2fc587d9a1e (branch greencommit/2022-09-05-d2613d5b) Corresponding Torch-MLIR commit: 93f7c0ceb566587f67a8ff8b0eaacf85cbbb7376

ashay commented 1 year ago

Week of 9/12/2022: Green LLVM commit: 4d4ca6c9d036a06bf0723786112dd17e491b2f53 Green MHLO commit: 2c8256b49219b4677963ce409a004648d8972df1 (branch greencommit/2022-09-12-4d4ca6c9) Corresponding Torch-MLIR commit: 2bb5f4d8fe1f91715716f46b9b8b895aec078021

ashay commented 1 year ago

Week of 9/19/2022: Green LLVM commit: 458598ccc50c5118107f05d60f3d043772a91f26 Green MHLO commit: cd9da150e729fd046109e7962e5f63f5fe067a3b (branch greencommit/2022-09-19-458598cc) Corresponding Torch-MLIR commit: e17fcea94ec384209df5412bb2bac71ff004942c

ashay commented 1 year ago

Week of 9/26/2022: Green LLVM commit: bebc96956b76bdbc36f1d82a788c810e5b12e2c5 Green MHLO commit: 7b0ecf7827e3fc07d2af90e147bcedc165bc78ac (branch greencommit/2022-09-26-bebc9695) Corresponding Torch-MLIR commit: a60acf272d618160d210015ff7c19fa773b1f345

ashay commented 1 year ago

Week of 10/02/2022: Green LLVM commit: 6f46ff3765dcdc178b9cf52ebd8c03437806798a Green MHLO commit: 2f7c1454bbe4c4ad0ae1c86c5539ac58b6053b6a (branch greencommit/2022-10-02-6f46ff37)

ashay commented 1 year ago

Week of 10/10/2022: Green LLVM commit: 438e59182b0c2e44c263f5bacc1add0e514354f8 Green MHLO commit: e6f3ec05c679e86c0a922d1c24ef488d99dfd8aa (branch greencommit/2022-10-10-438e5918)

ashay commented 1 year ago

Week of 10/17/2022: Green LLVM commit: 4546397e39589f0a6a707218349d1bf65fe54645 Green MHLO commit: 4de853aa6882ae1aa262dbb983c4ee2d5022e78d (branch greencommit/2022-10-17-4546397e)

cc: @silvasean

ashay commented 1 year ago

Week of 10/24/2022: Green LLVM commit: f8b8426861a7a26ff60fe085800cc338591bee41 Green MHLO commit: ec92f151ddee9c82d405558754612a001ab6cf98 (branch greencommit/2022-10-24-f8b84268)

cc: @silvasean

ashay commented 1 year ago

Week of 10/31/2022: Green LLVM commit: 74fb770de9399d7258a8eda974c93610cfde698e Green MHLO commit: 2341f70343a5361d4611557c2af9d24b01aa427e (branch greencommit/2022-10-31-74fb770d)

cc: @tanyokwok

ashay commented 1 year ago

Week of 11/07/2022: Green LLVM commit: a2620e00ffa232a406de3a1d8634beeda86956fd Green MHLO commit: 57ba12a2a1934c3c9fc3cd1580f28f0c233f41d4 (branch greencommit/2022-11-07-a2620e00)

cc: @qiuxiafei

ashay commented 1 year ago

Week of 11/14/2022: Green LLVM commit: e864ac694540342d5e59f59c525c5082f2594fb8 Green MHLO commit: eab364ba2a66bd0613efb94f8a738c1c97aaee92 (branch greencommit/2022-11-14-e864ac69)

cc: @Shukla-Gaurav

ashay commented 1 year ago

Week of 11/21/2022: Green LLVM commit: 147fe9de29dc13c14835127b35280c4d95c8e8ba Green MHLO commit: 1944b5fa6062ec4c065d726c9c5d64f1487ee8c5 (branch greencommit/2022-11-21-147fe9de)

cc: @vivekkhandelwal1

ashay commented 1 year ago

Week of 11/28/2022: Green LLVM commit: 2c1fa734598c9470139720565fbf624a5156ec03 Green MHLO commit: dabc58a95b8bcd1140ffb0062730b81745d41724 (branch greencommit/2022-11-28-2c1fa734)

cc: @eric-k256

ashay commented 1 year ago

Week of 12/05/2022: Green LLVM commit: 798fa4b415eea55c868ae42b874083cb9886991e Green MHLO commit: 037315c6515b5323ff78bc3c54d70dffad2ddbd0 (branch greencommit/2022-12-05-798fa4b4)

cc: @ramiro050

ashay commented 1 year ago

Week of 12/12/2022: Green LLVM commit: 3a020527c2af10741b12e756de45bd6f774885a4 Green MHLO commit: 8df20065b22be628f2d365c387200df7d02b80c1 (branch greencommit/2022-12-13-3a020527)

cc: @silvasean

ashay commented 1 year ago

Week of 12/19/2022: Green LLVM commit: 7ccbb4dff10efe6c26219204e361ddb0264938b8 Green MHLO commit: 8c703fabd60d4447bc86f432446e9ad0eacab600 branch (greencommit/2022-12-19-7ccbb4df)

cc: @tanyokwok

ashay commented 1 year ago

Week of 12/26/2022: Green LLVM commit: 5f24f893cac7aaea292c70f8aa83b021499114be Green MHLO commit: f6faa2d0e8b3eff350d59a6484b66f5a2dcdb682 (branch greencommit/2022-12-26-5f24f893)

cc: @qiuxiafei

ashay commented 1 year ago

Week of 01/02/2023: Green LLVM commit: 70423eedecea4015c1c0f2ca7df700d9063205ca Green MHLO commit: b2aa349805333315e4efc593071e81778569274e (branch greencommit/2023-01-02-70423eed)

cc: @Shukla-Gaurav

ashay commented 1 year ago

Week of 01/09/2023: Green LLVM commit: de3f0f7fa0c7b902dde840913db7e773a02c4173 Green MHLO commit: 2c8823d255a777d3053ef891f4dbeea1c32819f4 (branch greencommit/2023-01-09-de3f0f7f)

cc: @vivekkhandelwal1

ashay commented 1 year ago

Week of 01/16/2023: Green LLVM commit: d23516e9ad477527a9db4d06b1fa9566680ac67c Green MHLO commit: 81e87a95b8683f1c3c33caf9e933897e0fc4a2b7 (branch greencommit/2023-01-17-d23516e9)

cc: @eric-k256

ashay commented 1 year ago

Week of 01/23/23: Green LLVM commit: 9acc2f37bdfce08ca0c2faec03392db10d1bb7a9 Green MHLO commit: 4a173356bb1291b97046545429d7851cbc771d88 (branch greencommit/2023-01-23-9acc2f37)

cc: @ramiro050

ashay commented 1 year ago

Week of 01/30/2023:

Green LLVM commit: e31ee6417c33a6e2f0e8440b1a86d5365279ad68 Green MHLO commit: c2a6f4064d426567b9ef7b0d29d5ab86dc7b2b02 (branch greencommit/2023-01-30-e31ee641)

cc: @silvasean

ashay commented 1 year ago

Week of 02/06/2023:

Green LLVM commit: ba8b8a73fcb6b830e63cd8e20c6e13b2a14d69bf Green MHLO commit: d5a2c51fd78cca9dd91611137cc3d3e89ddf6aa9 (branch: greencommit/2023-02-06-ba8b8a73)

cc: @tanyokwok @powderluv

ashay commented 1 year ago

Week of 02/13/2023:

Green LLVM commit: 632fd9fb861c5deb24a6339d76f29a22462cadd8 Green MHLO commit: 75e78e62a7cd160688410727fb15d3fd3614d5b0 (branch greencommit/2023-02-13-632fd9fb)

cc: @qiuxiafei

ashay commented 1 year ago

Week of 02/20/2023:

Green LLVM commit: 5e111eb275eee3bec1123b4b85606328017e5ee5 Green MHLO commit: a99159c45ee5c497f8dce01eff807a6d57629b61 (branch greencommit/2023-02-20-5e111eb2)

cc: @Shukla-Gaurav

ashay commented 1 year ago

Week of 02/27/2023:

Green LLVM commit: b5bf6f6392a3408be1b7b7e036eb69358c5a2c29 Green MHLO commit: bb1ed5b47c036993b954e881cce7c7aab00f9962 (branch greencommit/2023-02-27-b5bf6f63)

cc: @vivekkhandelwal1

ashay commented 1 year ago

Week of 03/06/2023:

Green LLVM commit: 21f4b84c456b471cc52016cf360e14d45f7f2960 Green MHLO commit: b1ac0403ee2a40fc648ada6b9f11096f3d50fd19 (branch greencommit/2023-03-06-21f4b84c)

cc: @eric-k256

ashay commented 1 year ago

Week of 03/13/2023:

Green LLVM commit: d99d765fc07e8338ee2b54337dbf4a3dbc8c310a Green MHLO commit: d89b2ade0cc7b42c6da05c4ed92dfa3241c4f697 (branch greencommit/2023-03-13-b884f4ef)

cc: @ramiro050

ashay commented 1 year ago

Week of 03/20/2023:

Green LLVM commit: 029313cc979ae71877b65794b1063d4e51184cc8 Green MHLO commit: 0045830508ff7be4f99f7130400339ac88fbc829 (branch greencommit/2023-03-20-029313cc)

cc: @silvasean

ashay commented 1 year ago

Week of 03/27/2023:

Green LLVM commit: 9c4611f9c7a7055b18f0a30a4c9074b9917e4ab0 Green MHLO commit: 191d330e60ca97cf9b8c26872fe381530d27557b (branch greencommit/2023-03-27-9c4611f9)

cc: @tanyokwok

ashay commented 1 year ago

Week of 04/03/2023:

Green LLVM commit: 76c83b3595a534c5b28bd80039e2115358ba2291 Green MHLO commit: 57687a58349fa6b64eb9c75a07df67d606c63a9e (branch greencommit/2023-04-03-76c83b35)

cc: @qiuxiafei

ashay commented 1 year ago

Week of 04/10/2023:

Green LLVM commit: 225d255a583ea3d50bbba49d949ca76be6a880bf Green MHLO commit: 8f907cee91376af446c7c285066ea4d92849a187 (branch greencommit/2023-04-10-225d255a)

cc: @Shukla-Gaurav

vivekkhandelwal1 commented 1 year ago

Week of 04/03/2023:

Green LLVM commit: 76c83b3595a534c5b28bd80039e2115358ba2291 Green MHLO commit: 57687a58349fa6b64eb9c75a07df67d606c63a9e (branch greencommit/2023-04-03-76c83b35)

cc: @qiuxiafei

Hi, I think this bump has not been done. @qiuxiafei Do you have the changes locally?

ashay commented 1 year ago

Week of 04/17/2023:

Green LLVM commit: 3abae1c88416858cf2e9a7ed9417bc52033933b4 Green MHLO commit: 70ebc73a28767b772e09e0dd03cf3e47457435a2 (branch greencommit/2023-04-17-3abae1c8)

cc: @vivekkhandelwal1

ashay commented 1 year ago

Week of 04/24/2023:

Green LLVM commit: 3157f03a349cfc852cdd994675eaa9652caa2e3a Green MHLO commit: a9ac343738945be7744e304b72704128e48aa06f (branch greencommit/2023-04-24-3157f03a)

cc: @eric-k256

ashay commented 1 year ago

Week of 05/01/2023:

Green LLVM commit: 6875424135312aeb26ab8e0358ba7f9e6e80e741 Green MHLO commit: 92fd33a4bacbeb93ab276a49f38bdebd5f9d7487 (branch greencommit/2023-05-01-68754241)

cc: @ramiro050

ashay commented 1 year ago

Week of 05/08/2023:

Green LLVM commit: 26ee8947702d79ce2cab8e577f713685a5ca4a55 Green MHLO commit: 4805d8498dfb81566076f56f52273b426c1cc5bf (branch greencommit/2023-05-08-26ee8947)

cc: @silvasean

ashay commented 1 year ago

Week of 05/15/2023:

Green LLVM commit: d421f5226048e4a5d88aab157d0f4d434c43f208 Green MHLO commit: 79a66f9d3169db39cf66d1be045280e02c3951f1 (branch greencommit/2023-05-15-d421f522)

cc: @tanyokwok

ashay commented 1 year ago

Week of 05/22/2023:

Green LLVM commit: 4ed502ef4fcc5d9592a3ded662a9cac701fb4392 Green MHLO commit: e97abdb6a28946fb3cfa3532ed8b6f4212ab16ed (branch greencommit/2023-05-22-4ed502ef)

cc: @qiuxiafei

ashay commented 1 year ago

Week of 05/29/2023:

Green LLVM commit: 6cf7fe4a9a715bcdf3f4913753109e22dfc9940b Green MHLO commit: a4ac6990f7519a569a380452d7c1d3764aad7e59 (branch greencommit/2023-05-29-6cf7fe4a)

cc: @Shukla-Gaurav

ashay commented 1 year ago

Week of 06/05/2023:

Green LLVM commit: 2b4807ba044230ed6243f5c3a1329a9344de758d Green MHLO commit: ac26bdba7a5edfe6060ba5be528b9d20c987297d (branch greencommit/2023-06-05-2b4807ba)

cc: @vivekkhandelwal1

ashay commented 1 year ago

Week of 06/12/2023:

Green LLVM commit: bbeda83090adcb3609f9c1331b2345e7fa547f90 Green MHLO commit: 5726753ea0c80f7184da36195b66b7f3e533ef8e (branch greencommit/2023-06-12-bbeda830)

cc: @Abhishek-Varma

Abhishek-Varma commented 1 year ago

5726753ea0c80f7184da36195b66b7f3e533ef8e

So, this is my first stint at LLVM bump and this is the error I got : Error during runtime at Inline pass.

The above error arises because of a recent upstream commit - Add support for "promised" interface.

I tried following that and have included a few dependencies in torch-mlir-opt as well as torch-mlir-lsp-server.cpp. Even though the build succeeds, the error still persists.

I have added a draft PR with my changes here.

Can I get some pointers on what is the PR missing? I speculate some dependencies to be included in torch_to_mlir_utils.cpp.

ashay commented 1 year ago

@Abhishek-Varma It looks like you ran into an LLVM (upstream) issue. From what I understand, the MLIR Python bindings implicitly load the _mlirRegisterEverything module, which is pybinded in mlir/lib/Bindings/Python/RegisterEverything.cpp, and which calls the CAPI code for registering dialects in mlir/lib/CAPI/RegisterEverything/RegisterEverything.cpp. The patch for the newly added promised interfaces doesn't register extensions in this file, but if you (temporarily) add the function call to register all extensions, then all torch-mlir tests should pass.

Patch (https://reviews.llvm.org/D153174) submitted. Should land before Monday!

ashay commented 1 year ago

Week of 06/19/2023:

Green LLVM commit: 3f8d8c1aac3086f603ad73f18fe2bd4fb91fa10a Green MHLO commit: 4384a47b03dc377d651523037867899a340b0e96 (branch greencommit/2023-06-19-3f8d8c1a)

cc: @ramiro050