Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update with-python.md with CUDA 12.X instructions #20442

Merged
merged 1 commit into from
Apr 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions docs/get-started/with-python.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,28 @@ Below is a quick guide to get the packages installed to use ONNX for model seria

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.

### Install ONNX Runtime CPU

Use the CPU package if you are running on Arm CPUs and/or macOS.

```bash
pip install onnxruntime
```

### Install ONNX Runtime GPU (CUDA 11.x)

The default CUDA version for ORT is 11.8.

```bash
pip install onnxruntime-gpu
```

Use the CPU package if you are running on Arm CPUs and/or macOS.
### Install ONNX Runtime GPU (CUDA 12.x)

For Cuda 12.x, please use the following instructions to install from [ORT Azure Devops Feed](https://aiinfra.visualstudio.com/PublicPackages/_artifacts/feed/onnxruntime-cuda-12/PyPI/onnxruntime-gpu/overview)

```bash
pip install onnxruntime
pip install onnxruntime-gpu --extra-index-url https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/onnxruntime-cuda-12/pypi/simple/
```

## Install ONNX for model export
Expand Down
Loading