1book_path: /mlir/_book.yaml 2project_path: /mlir/_project.yaml 3description: An intermediate representation and compiler framework, MLIR unifies the 4 infrastructure for high-performance ML models in TensorFlow. 5landing_page: 6 custom_css_path: /site-assets/css/style.css 7 rows: 8 - heading: MLIR unifies the infrastructure for high-performance ML models in TensorFlow. 9 items: 10 - description: > 11 The <a href="https://mlir.llvm.org/" class="external">MLIR</a> project defines a common 12 intermediate representation (IR) that unifies the infrastructure required to execute high 13 performance machine learning models in TensorFlow and similar ML frameworks. This project 14 will include the application of HPC techniques, along with integration of 15 search algorithms like reinforcement learning. MLIR aims to reduce the 16 cost to bring up new hardware, and improve usability for existing 17 TensorFlow users. 18 19 - code_block: | 20 <pre class = "prettyprint"> 21 // Syntactically similar to LLVM: 22 func @testFunction(%arg0: i32) { 23 %x = call @thingToCall(%arg0) : (i32) -> i32 24 br ^bb1 25 ^bb1: 26 %y = arith.addi %x, %x : i32 27 return %y : i32 28 } 29 </pre> 30 31 - classname: devsite-landing-row-cards 32 items: 33 - heading: "Multi-Level Intermediate Representation for Compiler Infrastructure" 34 youtube_id: qzljG6DKgic 35 buttons: 36 - label: Watch the video 37 path: https://www.youtube.com/watch?v=qzljG6DKgic 38 - heading: "A new intermediate representation and compiler framework" 39 image_path: /resources/images/tf-logo-card-16x9.png 40 path: https://blog.tensorflow.org/2019/04/mlir-new-intermediate-representation.html 41 buttons: 42 - label: Read on TensorFlow blog 43 path: https://blog.tensorflow.org/2019/04/mlir-new-intermediate-representation.html 44 - heading: MLIR on GitHub 45 image_path: /resources/images/github-card-16x9.png 46 path: https://github.com/llvm/llvm-project/tree/main/mlir 47 buttons: 48 - label: View on GitHub 49 path: https://github.com/llvm/llvm-project/tree/main/mlir 50 - heading: TensorFlow MLIR on GitHub 51 image_path: /resources/images/github-card-16x9.png 52 path: https://github.com/tensorflow/tensorflow/tree/master/tensorflow/compiler/mlir 53 buttons: 54 - label: View on GitHub 55 path: https://github.com/tensorflow/tensorflow/tree/master/tensorflow/compiler/mlir 56