We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60bafaf commit 0bb7bd6Copy full SHA for 0bb7bd6
lib/ortex/util.ex
@@ -35,16 +35,5 @@ defmodule Ortex.Util do
35
# Currently ORT doesn't write the .so file we need (fix incoming https://github.com/pykeio/ort/commit/634e49ab7c960782cc2fb83d84cc219e7bb4ae1f),
36
# so we're hacking a fix here
37
onnx_runtime_filenames = Enum.map(onnx_runtime_paths, &Path.basename/1)
38
-
39
- case "libonnxruntime.so.1.17.0" in onnx_runtime_filenames do
40
- true ->
41
- nil
42
43
- false ->
44
- File.cp!(
45
- Path.join([destination_dir, "libonnxruntime.so"]),
46
- Path.join([destination_dir, "libonnxruntime.so.1.17.0"])
47
- )
48
- end
49
end
50
0 commit comments