Skip to content

LumiGuide/hs-onnxruntime

 
 

Repository files navigation

Build

This package depends on onnxruntime (>=1.22). This library can be built from source or installed via Homebrew. Build instructions are available at Build ONNX Runtime for inferencing.

To build this package, you must let Cabal know where to find the directory that contains libonnxruntime. Run the following command, replacing <path/to/onnxruntime/lib> with the appropriate paths for your machine.

cabal configure --extra-lib-dirs=</path/to/onnxruntime/lib>

If you are on Linux, you must ensure that the directory that contains libonnxruntime is on your LD_LIBRARY_PATH. Run the following command, replacing <path/to/onnxruntime/...> with the appropriate paths for your machine. You can either run this command for each new shell session or add it to your shell configuration.

export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:<path/to/onnxruntime/lib>"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Haskell 90.9%
  • Shell 9.1%