Clarify Python package install instructions (#10718)

This commit is contained in:
Nat Kershaw (MSFT) 2022-03-01 20:30:23 -08:00 committed by GitHub
parent 69c6e5658e
commit 19e1933e92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,20 +16,20 @@ Below is a quick guide to get the packages installed to use ONNX for model seria
{:toc}
## Install ONNX Runtime (ORT)
## Install ONNX Runtime
On CPU
```bash
pip install onnxruntime
```
On GPU
There are two Python packages for ONNX Runtime. Only one of these packages should be installed at a time in any one environment. The GPU package encompasses most of the CPU functionality.
```bash
pip install onnxruntime-gpu
```
Use the CPU package if you are running on Arm CPUs and/or macOS.
```bash
pip install onnxruntime
```
## Install ONNX for model export