Skip to content

Commit

Permalink
Change Python version from 3.10 to 3.11 in installation instructions (l…
Browse files Browse the repository at this point in the history
  • Loading branch information
ramiro050 authored Aug 2, 2023
1 parent ca1f015 commit 68f5201
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,17 @@ We have few paths to lower down to the Torch MLIR Dialect.

## Install torch-mlir snapshot

At the time of writing, we release pre-built snapshot of torch-mlir for Python 3.10 on Linux and macOS.
At the time of writing, we release pre-built snapshot of torch-mlir for Python 3.11 on Linux and macOS.

If you have Python 3.10, the following commands initialize a virtual environment.
If you have Python 3.11, the following commands initialize a virtual environment.
```shell
python3.10 -m venv mlir_venv
python3.11 -m venv mlir_venv
source mlir_venv/bin/activate
```

Or, if you want to switch over multiple versions of Python using conda, you can create a conda environment with Python 3.10.
Or, if you want to switch over multiple versions of Python using conda, you can create a conda environment with Python 3.11.
```shell
conda create -n torch-mlir python=3.10
conda create -n torch-mlir python=3.11
conda activate torch-mlir
python -m pip install --upgrade pip
```
Expand Down

0 comments on commit 68f5201

Please sign in to comment.