Skip to content
This repository was archived by the owner on Nov 27, 2024. It is now read-only.

Commit e2a82e1

Browse files
author
James Tayler
committed
add troubleshooting instructions and remove unused dependency
1 parent b1d2358 commit e2a82e1

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

OnnxStack.IntegrationTests/OnnxStack.IntegrationTests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.0" />
1616
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.0" />
1717
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="8.0.0" />
18-
<PackageReference Include="Microsoft.ML.OnnxRuntime.Extensions" Version="0.9.0" />
18+
<PackageReference Include="Microsoft.ML.OnnxRuntime" Version="1.16.2" />
1919
<PackageReference Include="Microsoft.ML.OnnxRuntime.Gpu" Version="1.16.2" />
2020
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
2121
<PackageReference Include="xunit" Version="2.4.2" />

README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,21 @@ Other `Microsoft.ML.OnnxRuntime.*` executors like `Cuda` may work but are untest
157157

158158
`DirectML` > 10GB VRAM
159159

160-
160+
## Troubleshooting
161+
162+
- I'm running on linux but it's not working citing:`The ONNX Runtime extensions library was not found`?
163+
- It's having a problem loading `libortextensions.so`
164+
- From the project root run `find -name "libortextensions.so"` to locate that file
165+
- Then run `ldd libortextensions.so` against it to see what dependencies it needs versus what your system has.
166+
- It has a dependency on SSL 1.1 which was removed from Ubuntu based OSes and causes this error.
167+
- It can be remedied by manually installing the dependency.
168+
- See: https://stackoverflow.com/questions/72133316/libssl-so-1-1-cannot-open-shared-object-file-no-such-file-or-directory
169+
- I've installed `Microsoft.ML.OnnxRuntime` and `Microsoft.ML.OnnxRuntime.Gpu` into my project and set the execution provider to `Cuda`, but it's complaining it can't find an entry point for CUDA?
170+
- `System.EntryPointNotFoundException : Unable to find an entry point named 'OrtSessionOptionsAppendExecutionProvider_CUDA' in shared library 'onnxruntime'`
171+
- Adding both `Microsoft.ML.OnnxRuntime` AND `Microsoft.ML.OnnxRuntime.Gpu` at the same time causes this.
172+
- Remove `Microsoft.ML.OnnxRuntime` and try again.
173+
- I'm trying to run via CUDA execution provider but it's complaining about missing `libcublaslt11`, `libcublas11`, or `libcudnn8`?
174+
- Aside from just the NVIDIA Drivers you also need to install CUDA, and cuDNN.
161175

162176
## Contribution
163177

0 commit comments

Comments
 (0)