Activating the cuda feature #14
-
Hi, as in other comments I must to say this is a great crate for using the onnruntime from rust. I have set it for a little project for inference and it just work well. But, I'm not sure that I'm actually using cuda for the inference processing. I downloaded the onnxruntime with cuda compiled and use the ORT_STRATEGY=system and set the ORT_LIB_LOCATION, also I set the LD_LIBRARY_PATH so the onnxlibrary is loaded at runtime. I check the cuda availability using So my question is, how can I setup the cuda feature as in the readme it says that to enable it we must to set this feature. Do you have an example of how to set this feature so I can test? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Did you enable the ort = { version = "1.14.0-alpha.0", features = [ "cuda" ] } |
Beta Was this translation helpful? Give feedback.
Did you enable the
cuda
Cargo feature?