mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-13 18:08:13 +00:00
Add install ONNX Runtime from nightly (#20131)
### Description <!-- Describe your changes. --> ### Motivation and Context <!-- - Why is this change required? What problem does it solve? - If it fixes an open issue, please link to the issue here. -->
This commit is contained in:
parent
73173cc2c2
commit
1ef08b350f
1 changed files with 29 additions and 1 deletions
|
|
@ -42,6 +42,34 @@ nav_order: 2
|
|||
mv onnxruntime-linux-x64-gpu-1.17.0/lib .
|
||||
```
|
||||
|
||||
* Install from nightly
|
||||
|
||||
Download the nightly nuget package `Microsoft.ML.OnnxRuntime` from: https://aiinfra.visualstudio.com/PublicPackages/_artifacts/feed/ORT-Nightly.
|
||||
|
||||
Extract the nuget package.
|
||||
|
||||
```bash
|
||||
tar xvf Microsoft.ML.OnnxRuntime.1.18.0-dev-20240322-0323-ca825cb6e6.nupkg
|
||||
```
|
||||
|
||||
Copy the include and lib files into $ORT_HOME.
|
||||
|
||||
On Windows
|
||||
|
||||
Example is given for `win-x64`. Change this to your architecture if different.
|
||||
|
||||
```cmd
|
||||
copy build\native\include\onnxruntime_c_api.h $ORT_HOME\include
|
||||
copy runtimes\win-x64\native\*.dll $ORT_HOME\lib
|
||||
```
|
||||
|
||||
On Linux
|
||||
|
||||
```cmd
|
||||
cp build/native/include/onnxruntime_c_api.h $ORT_HOME/include
|
||||
cp build/linux-x64/native/libonnxruntime*.so* $ORT_HOME/lib
|
||||
```
|
||||
|
||||
* Or build from source
|
||||
|
||||
```
|
||||
|
|
@ -90,4 +118,4 @@ nav_order: 2
|
|||
```bash
|
||||
cd build/wheel
|
||||
pip install *.whl
|
||||
```
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in a new issue