1
1
# The Torch-MLIR Project
2
2
3
- The Torch-MLIR project aims to provide first class compiler support from the [ PyTorch] ( https://pytorch.org ) ecosystem to the MLIR ecosystem.
3
+ The Torch-MLIR project aims to provide first class compiler support from the [ PyTorch] ( https://pytorch.org ) ® ecosystem to the MLIR ecosystem.
4
4
5
- > This project is participating in the LLVM Incubator process: as such, it is
5
+ > This project is participating in the LLVM® Incubator process: as such, it is
6
6
not part of any official LLVM release. While incubation status is not
7
7
necessarily a reflection of the completeness or stability of the code, it
8
8
does indicate that the project is not yet endorsed as a component of LLVM.
@@ -21,7 +21,7 @@ Several vendors have adopted MLIR as the middle layer in their systems, enabling
21
21
## All the roads from PyTorch to Torch MLIR Dialect
22
22
23
23
We have few paths to lower down to the Torch MLIR Dialect.
24
- - ONNX as the entry points.
24
+ - ONNX™ as the entry points.
25
25
- Fx as the entry points
26
26
27
27
## Project Communication
@@ -32,15 +32,15 @@ We have few paths to lower down to the Torch MLIR Dialect.
32
32
33
33
## Install torch-mlir snapshot
34
34
35
- At the time of writing, we release [ pre-built snapshots of torch-mlir] ( https://github.com/llvm/torch-mlir-release ) for Python 3.11 and Python 3.10.
35
+ At the time of writing, we release [ pre-built snapshots of torch-mlir] ( https://github.com/llvm/torch-mlir-release ) for Python® 3.11 and Python 3.10.
36
36
37
37
If you have supported Python version, the following commands initialize a virtual environment.
38
38
``` shell
39
39
python3.11 -m venv mlir_venv
40
40
source mlir_venv/bin/activate
41
41
```
42
42
43
- Or, if you want to switch over multiple versions of Python using conda, you can create a conda environment with Python 3.11.
43
+ Or, if you want to switch over multiple versions of Python using conda™ , you can create a conda environment with Python 3.11.
44
44
``` shell
45
45
conda create -n torch-mlir python=3.11
46
46
conda activate torch-mlir
0 commit comments