File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed
Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ iex> result |> Nx.backend_transfer() |> Nx.argmax(axis: 1)
5656``` elixir
5757def deps do
5858 [
59- {:ortex , " ~> 0.1.6 " }
59+ {:ortex , " ~> 0.1.7 " }
6060 ]
6161end
6262```
Original file line number Diff line number Diff line change @@ -11,6 +11,13 @@ defmodule Ortex do
1111 of descending priority and graph optimization level 1-3. Any graph optimization level
1212 beyond the range of 1-3 will disable graph optimization.
1313
14+ By default, `Ortex` only includes some of the supported execution providers of ONNX Runtime.
15+ To enable others, first ensure you have downloaded or compiled a version of
16+ `libonnxruntime` that includes them, then set the environment variable `ORT_LIB_LOCATION`
17+ to its location. Then add `config :ortex, Ortex.Native, features: [EXECUTION_PROVIDERS]` to your
18+ `config.exs` where `EXECUTION_PROVIDERS` is a list of strings of which execution providers
19+ to enable.
20+
1421 ## Examples
1522
1623 iex> Ortex.load("./models/tinymodel.onnx")
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ defmodule Ortex.MixProject do
44 def project do
55 [
66 app: :ortex ,
7- version: "0.1.6 " ,
7+ version: "0.1.7 " ,
88 elixir: "~> 1.14" ,
99 start_permanent: Mix . env ( ) == :prod ,
1010 deps: deps ( ) ,
@@ -43,7 +43,7 @@ defmodule Ortex.MixProject do
4343
4444 defp package do
4545 [
46- files: ~w( lib .formatter.exs mix.exs README* LICENSE* native/ortex/src/
46+ files: ~w( lib .formatter.exs mix.exs README* LICENSE* native/ortex/src/ config/config.exs
4747 native/ortex/Cargo.lock native/ortex/Cargo.toml native/ortex/.cargo/config.toml) ,
4848 licenses: [ "MIT" ] ,
4949 links: % { "GitHub" => "https://github.com/elixir-nx/ortex" } ,
You can’t perform that action at this time.
0 commit comments