diff --git a/_posts/2024-04-27-mlir-learning-resources.md b/_posts/2024-04-27-mlir-learning-resources.md index 1ae913c..d589169 100644 --- a/_posts/2024-04-27-mlir-learning-resources.md +++ b/_posts/2024-04-27-mlir-learning-resources.md @@ -4,11 +4,11 @@ tags: - MLIR --- -In the past few months, I have started learning Multi level Intermidate Representation [MLIR](https://mlir.llvm.org/). MLIR is framework used for creating compilers. It was originally created by Google and is now part of LLVM. It has been used to build many machine learning compilers such as [IREEE](https://iree.dev/), [OpenXLA](https://openxla.org/) and [Torch-MLIR](https://github.com/llvm/torch-mlir). +In the past few months, I have been learning to use [MLIR](https://mlir.llvm.org/). MLIR stands for Multi level Intermidate Representation. It is a compiler infrastructure framework mainly used for creating domain specific compilers. It was originally created by Google and is part of LLVM. It has been used to build many machine learning compilers such as [IREE](https://iree.dev/), [OpenXLA](https://openxla.org/) and [Torch-MLIR](https://github.com/llvm/torch-mlir). -Unfortunately, MLIR has a steep learning curve. Here is a list of the resources that I have found helpful so far: +Unfortunately, MLIR has a steep learning curve. Here is a list of the resources that I have found helpful: -- I found a good introduction to MLIR and how it can be used in the "MLIR Tutorial" by Mehdi Amini & River Riddle [link](https://youtu.be/Y4SvqTtOIDk?si=bSgOqbXJlUqF5zWK). +- A good introduction to MLIR and how it can be used can be found in the "MLIR Tutorial" by Mehdi Amini & River Riddle [link](https://youtu.be/Y4SvqTtOIDk?si=bSgOqbXJlUqF5zWK). - Another recommended introduction to MLIR was presented by Oleksandr "Alex" Zinenko in CGO Conference [link](https://youtu.be/C_MdJu70z2o?si=Pj_-xKSVbSj6iORI). @@ -18,9 +18,9 @@ Unfortunately, MLIR has a steep learning curve. Here is a list of the resources - Alex Zinenko provided an excellent analysis and breakdown of the different dialects in this write up [link](https://discourse.llvm.org/t/codegen-dialect-overview/2723). -- Mehdi Amini provided an insightful presentation about the internal implementation of the mlir operations and attributes in this MLIR Open Design Meeting [slides](https://mlir.llvm.org/OpenMeetings/2023-02-09-Properties.pdf) [recording](https://youtu.be/7ofnlCFzlqg) +- Mehdi Amini provided an insightful presentation about the internal implementation of the mlir operations and attributes in this MLIR Open Design Meeting [slides](https://mlir.llvm.org/OpenMeetings/2023-02-09-Properties.pdf) [recording](https://youtu.be/7ofnlCFzlqg). -- I recommend having a look at previous MLIR talks [link](https://mlir.llvm.org/talks/) +- Having a look at previous MLIR talks is also recommended [link](https://mlir.llvm.org/talks/). -I hope that was helpful. I will keep updating this list with resources as I go. +I hope that was helpful. I will keep updating this list with resources as I progress more in my journey.