Skip to content

Commit

Permalink
chore: update ndarray to 0.16
Browse files Browse the repository at this point in the history
  • Loading branch information
decahedron1 committed Aug 4, 2024
1 parent 733b7fa commit 069ddfd
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ cann = [ "ort-sys/cann" ]
qnn = [ "ort-sys/qnn" ]

[dependencies]
ndarray = { version = "0.15", optional = true }
ndarray = { version = "0.16", optional = true }
thiserror = "1.0"
ort-sys = { version = "2.0.0-rc.4", path = "ort-sys" }
libloading = { version = "0.8", optional = true }
Expand Down
4 changes: 2 additions & 2 deletions examples/async-gpt2-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ edition = "2021"

[dependencies]
ort = { path = "../../", features = [ "fetch-models" ] }
ndarray = "0.15"
tokenizers = { version = ">=0.13.4", default-features = false, features = [ "onig" ] }
ndarray = "0.16"
tokenizers = { version = "0.19", default-features = false, features = [ "onig" ] }
rand = "0.8"
tracing = "0.1"
tracing-subscriber = { version = "0.3", default-features = false, features = [ "env-filter", "fmt" ] }
Expand Down
8 changes: 4 additions & 4 deletions examples/cudarc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ edition = "2021"

[dependencies]
ort = { path = "../../", features = [ "cuda", "fetch-models" ] }
cudarc = "0.10"
cudarc = "0.11"
anyhow = "1.0"
ndarray = "0.15"
image = "0.24"
ndarray = "0.16"
image = "0.25"
tracing = "0.1"
show-image = { version = "0.13", features = [ "image", "raqote" ] }
show-image = { version = "0.14", features = [ "image", "raqote" ] }
tracing-subscriber = { version = "0.3", features = [ "fmt" ] }
2 changes: 1 addition & 1 deletion examples/custom-ops/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2021"

[dependencies]
ort = { path = "../../", features = [ "fetch-models" ] }
ndarray = "0.15"
ndarray = "0.16"

[features]
load-dynamic = [ "ort/load-dynamic" ]
Expand Down
4 changes: 2 additions & 2 deletions examples/gpt2/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ edition = "2021"

[dependencies]
ort = { path = "../../", features = [ "fetch-models" ] }
ndarray = "0.15"
tokenizers = { version = ">=0.13.4", default-features = false, features = [ "onig" ] }
ndarray = "0.16"
tokenizers = { version = "0.19", default-features = false, features = [ "onig" ] }
rand = "0.8"
tracing-subscriber = { version = "0.3", default-features = false, features = [ "env-filter", "fmt" ] }

Expand Down
6 changes: 3 additions & 3 deletions examples/modnet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ edition = "2021"

[dependencies]
ort = { path = "../../" }
ndarray = "0.15"
ndarray = "0.16"
tracing-subscriber = { version = "0.3", default-features = false, features = [ "env-filter", "fmt" ] }
image = "0.24"
image = "0.25"
tracing = "0.1"
show-image = { version = "0.13", features = [ "image", "raqote" ] }
show-image = { version = "0.14", features = [ "image", "raqote" ] }

[features]
load-dynamic = [ "ort/load-dynamic" ]
Expand Down
4 changes: 2 additions & 2 deletions examples/sentence-transformers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ edition = "2021"

[dependencies]
ort = { path = "../../", features = [ "fetch-models" ] }
ndarray = "0.15"
tokenizers = { version = ">=0.13.4", default-features = false, features = [ "onig" ] }
ndarray = "0.16"
tokenizers = { version = "0.19", default-features = false, features = [ "onig" ] }
tracing-subscriber = { version = "0.3", default-features = false, features = [ "env-filter", "fmt" ] }

[features]
Expand Down
2 changes: 1 addition & 1 deletion examples/training/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2021"

[dependencies]
ort = { path = "../../", features = [ "training" ] }
ndarray = "0.15"
ndarray = "0.16"
tokenizers = { version = ">=0.13.4", default-features = false, features = [ "onig" ] }
rand = "0.8"
simd-json = "0.13"
Expand Down
2 changes: 1 addition & 1 deletion examples/webassembly/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ crate-type = ["cdylib"]

[dependencies]
ort = { path = "../../" }
ndarray = "0.15"
ndarray = "0.16"
wasm-bindgen = "0.2.92"
web-sys = "0.3"
tracing = "0.1"
Expand Down
6 changes: 3 additions & 3 deletions examples/yolov8/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ edition = "2021"

[dependencies]
ort = { path = "../../" }
ndarray = "0.15"
ndarray = "0.16"
tracing-subscriber = { version = "0.3", default-features = false, features = [ "env-filter", "fmt" ] }
image = "0.24"
show-image = { version = "0.13", features = [ "image", "raqote" ] }
image = "0.25"
show-image = { version = "0.14", features = [ "image", "raqote" ] }
raqote = { version = "0.8", default-features = false }
ureq = "2.1"
tracing = "0.1"
Expand Down

0 comments on commit 069ddfd

Please sign in to comment.