csukuangfj / onnxruntime-libs

onnxruntime pre-compiled libs
81 stars 21 forks source link

How to support GPU #15

Closed ImmortalD closed 7 months ago

ImmortalD commented 7 months ago

When using the CUDAExecutionProvider, it was found that this static library is not supported. Can it be supported?

2024-04-22T07:54:43.030732Z  WARN apply_execution_providers: ort::execution_providers: An error occurred when attempting to register `CUDAExecutionProvider`: CUDA execution provider is not enabled in this build.
2024-04-22T07:54:43.030949Z  WARN apply_execution_providers: ort::execution_providers: No execution providers registered successfully. Falling back to CPU.
csukuangfj commented 7 months ago

Please use the official shared lib from Microsoft for GPU.

The static libs in this repo are for CPU only