Skip to content

Commit

Permalink
Update Onnxruntime download version for GenAI
Browse files Browse the repository at this point in the history
  • Loading branch information
ajindal1 authored Nov 20, 2024
1 parent 37ec77f commit aeec890
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docs/genai/howto/build-from-source.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,19 @@ These instructions assume you are in the `onnxruntime-genai` folder.
These instruction use `win-x64`. Replace this if you are using a different architecture.

```bash
curl -L https://github.com/microsoft/onnxruntime/releases/download/v1.19.2/onnxruntime-win-x64-1.19.2.zip -o onnxruntime-win-x64-1.19.2.zip
tar xvf onnxruntime-win-x64-1.19.2.zip
move onnxruntime-win-x64-1.19.2 ort
curl -L https://github.com/microsoft/onnxruntime/releases/download/v1.20.0/onnxruntime-win-x64-1.20.0.zip -o onnxruntime-win-x64-1.20.0.zip
tar xvf onnxruntime-win-x64-1.20.0.zip
move onnxruntime-win-x64-1.20.0 ort
```

#### Linux and Mac

These instruction use `linux-x64-gpu`. Replace this if you are using a different architecture.

```bash
curl -L https://github.com/microsoft/onnxruntime/releases/download/v1.19.2/onnxruntime-linux-x64-gpu-1.19.2.tgz -o onnxruntime-linux-x64-gpu-1.19.2.tgz
tar xvzf onnxruntime-linux-x64-gpu-1.19.2.tgz
mv onnxruntime-linux-x64-gpu-1.19.2 ort
curl -L https://github.com/microsoft/onnxruntime/releases/download/v1.20.0/onnxruntime-linux-x64-gpu-1.20.0.tgz -o onnxruntime-linux-x64-gpu-1.20.0.tgz
tar xvzf onnxruntime-linux-x64-gpu-1.20.0.tgz
mv onnxruntime-linux-x64-gpu-1.20.0 ort
```

#### Android
Expand All @@ -61,9 +61,9 @@ mkdir ort
```

```bash
curl -L https://repo1.maven.org/maven2/com/microsoft/onnxruntime/onnxruntime-android/1.19.2/onnxruntime-android-1.19.2.aar -o ort/onnxruntime-android-1.19.2.aar
curl -L https://repo1.maven.org/maven2/com/microsoft/onnxruntime/onnxruntime-android/1.20.0/onnxruntime-android-1.20.0.aar -o ort/onnxruntime-android-1.20.0.aar
cd ort
tar xvf onnxruntime-android-1.19.2.aar
tar xvf onnxruntime-android-1.20.0.aar
cd ..
```

Expand Down

0 comments on commit aeec890

Please sign in to comment.