Skip to content

Commit 0bb7bd6

Browse files
author
Greg Szumel
committed
fixing copy bug
1 parent 60bafaf commit 0bb7bd6

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

lib/ortex/util.ex

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,5 @@ defmodule Ortex.Util do
3535
# Currently ORT doesn't write the .so file we need (fix incoming https://github.com/pykeio/ort/commit/634e49ab7c960782cc2fb83d84cc219e7bb4ae1f),
3636
# so we're hacking a fix here
3737
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
4938
end
5039
end

0 commit comments

Comments
 (0)