Skip to content

Commit

Permalink
Improve installation guide (#559)
Browse files Browse the repository at this point in the history
improve installation guide
  • Loading branch information
JingyaHuang authored Apr 9, 2024
1 parent bb1cc96 commit 57fc9a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ To install the latest release of this package:
* For AWS Trainium (trn1) or AWS inferentia2 (inf2)

```bash
pip install optimum[neuronx]
pip install --upgrade-strategy eager optimum[neuronx]
```

* For AWS inferentia (inf1)

```bash
pip install optimum[neuron]
pip install --upgrade-strategy eager optimum[neuron]
```

Optimum Neuron is a fast-moving project, and you may want to install it from source:
Expand Down
4 changes: 2 additions & 2 deletions docs/source/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ python -m pip config set global.extra-index-url https://pip.repos.neuron.amazona
## Installing `optimum-neuron` for AWS Trainium (`trn1`) or AWS inferentia2 (`inf2`)

```bash
python -m pip install optimum[neuronx]
python -m pip install --upgrade-strategy eager optimum[neuronx]
```

## Installing `optimum-neuron` for AWS inferentia (`inf1`)

```bash
python -m pip install optimum[neuron]
python -m pip install --upgrade-strategy eager optimum[neuron]
```

0 comments on commit 57fc9a5

Please sign in to comment.