Skip to content

Commit

Permalink
Merge commit 'd51e8de7'
Browse files Browse the repository at this point in the history
  • Loading branch information
kali committed Apr 25, 2023
2 parents 8423249 + d51e8de commit 6e71204
Show file tree
Hide file tree
Showing 36 changed files with 122 additions and 102 deletions.
26 changes: 23 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,29 @@
# Unreleased (targerting 0.20)
* [optim] 32x32 f32 AMX kernel (for Apple Silicone M family)
# 0.20.0 - 2023-04-25
* [optim] 32x32 f32 AMX kernel (for Apple Silicon M family)
* [optim] bunch of AMX512F kernels (square, skinny, vector)
* [ONNX] introduce Trilu
* [ONNX] introduce Trilu, TopK
* [NNEF/OPL] submodel loader
* [ONNX] support alternative layout for LSTM (layout=1, batch becomes first axis)
* [ONNX] If operators with dynamic condition (very basic optimisations, no nnef support yet).

# 0.19.9 & 0.19.10 - 2023-04-17
* HardSwiwh ONNX, tract_core_hard_swish in NNEF/OPL
* introducing tract_core_submodel in NNEF/OPL
* JSON resource loader in NNEF/OPL
* Profiling API tweaks
* `--folded` view for model command line dump (hide Scan loops)

# 0.19.8 - 2023-03-27
* Various bug fixes

# 0.19.7 & 0.19.6 - 2023-02-24
* more bug fixes
* wip on python doc auto-deploy

# 0.19.5 - 2023-02-22
* 0.19.3 and 0.19.4 are release misfires
* lots of bugfixes following 0.19 big changes
* introducing the JSON NNEF resource

# 0.19.2 - 2023-01-30
* [NNEF/OPL] introduce json resource loader
Expand Down
2 changes: 1 addition & 1 deletion ci/tract-ci-minion/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tract-ci-minion"
version = "0.20.0-pre"
version = "0.20.1-pre"
edition = "2021"

[workspace]
Expand Down
20 changes: 10 additions & 10 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tract"
version = "0.20.0-pre"
version = "0.20.1-pre"
authors = [ "Romain Liautaud <[email protected]>", "Mathieu Poumeyrol <[email protected]>"]
license = "MIT/Apache-2.0"
description = "Tiny, no-nonsense, self contained, TensorFlow and ONNX inference"
Expand Down Expand Up @@ -34,15 +34,15 @@ rustls.workspace = true
scan_fmt.workspace = true
serde.workspace = true
serde_json.workspace = true
tract-core = { version = "=0.20.0-pre", path = "../core" }
tract-hir = { version = "=0.20.0-pre", path = "../hir" }
tract-nnef = { version = "=0.20.0-pre", path = "../nnef" }
tract-libcli = { version = "=0.20.0-pre", path = "../libcli" }
tract-pulse-opl = { optional = true, version = "=0.20.0-pre", path = "../pulse-opl" }
tract-pulse = { optional = true, version = "=0.20.0-pre", path = "../pulse" }
tract-kaldi = { optional = true, version = "=0.20.0-pre", path = "../kaldi" }
tract-onnx = { optional = true, version = "=0.20.0-pre", path = "../onnx" }
tract-tensorflow = { optional = true, version = "=0.20.0-pre", path = "../tensorflow" }
tract-core = { version = "=0.20.1-pre", path = "../core" }
tract-hir = { version = "=0.20.1-pre", path = "../hir" }
tract-nnef = { version = "=0.20.1-pre", path = "../nnef" }
tract-libcli = { version = "=0.20.1-pre", path = "../libcli" }
tract-pulse-opl = { optional = true, version = "=0.20.1-pre", path = "../pulse-opl" }
tract-pulse = { optional = true, version = "=0.20.1-pre", path = "../pulse" }
tract-kaldi = { optional = true, version = "=0.20.1-pre", path = "../kaldi" }
tract-onnx = { optional = true, version = "=0.20.1-pre", path = "../onnx" }
tract-tensorflow = { optional = true, version = "=0.20.1-pre", path = "../tensorflow" }

[features]
default = ["kaldi", "onnx", "tf", "pulse", "pulse-opl"]
Expand Down
6 changes: 3 additions & 3 deletions core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tract-core"
version = "0.20.0-pre"
version = "0.20.1-pre"
license = "MIT/Apache-2.0"
authors = ["Mathieu Poumeyrol <[email protected]>"]
description = "Tiny, no-nonsense, self contained, TensorFlow and ONNX inference"
Expand Down Expand Up @@ -29,8 +29,8 @@ num-traits.workspace = true
num-complex.workspace = true
rustfft.workspace = true
smallvec.workspace = true
tract-linalg = { version = "=0.20.0-pre", path = "../linalg" }
tract-data = { version = "=0.20.0-pre", path = "../data" }
tract-linalg = { version = "=0.20.1-pre", path = "../linalg" }
tract-data = { version = "=0.20.1-pre", path = "../data" }

[features]
default = [ ]
Expand Down
2 changes: 1 addition & 1 deletion data/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tract-data"
version = "0.20.0-pre"
version = "0.20.1-pre"
license = "MIT/Apache-2.0"
authors = ["Mathieu Poumeyrol <[email protected]>"]
description = "Tiny, no-nonsense, self contained, TensorFlow and ONNX inference"
Expand Down
6 changes: 3 additions & 3 deletions examples/jupyter-keras-tract-tf1/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "jupyter-keras-tract-tf1"
version = "0.20.0-pre"
version = "0.20.1-pre"
authors = ["Matthew Alhonte <[email protected]>"]
license = "MIT/Apache-2.0"
edition = "2021"
Expand All @@ -9,5 +9,5 @@ edition = "2021"

[dependencies]
rand.workspace = true
tract-core = { path = "../../core", version = "=0.20.0-pre" }
tract-tensorflow = { path = "../../tensorflow", version = "=0.20.0-pre" }
tract-core = { path = "../../core", version = "=0.20.1-pre" }
tract-tensorflow = { path = "../../tensorflow", version = "=0.20.1-pre" }
6 changes: 3 additions & 3 deletions examples/jupyter-keras-tract-tf2/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "jupyter-keras-tract-tf2"
version = "0.20.0-pre"
version = "0.20.1-pre"
authors = ["Matthew Alhonte <[email protected]>"]
license = "MIT/Apache-2.0"
edition = "2021"
Expand All @@ -10,5 +10,5 @@ edition = "2021"
[dependencies]

rand.workspace = true
tract-core = { path = "../../core", version = "=0.20.0-pre" }
tract-onnx = { path = "../../onnx", version = "=0.20.0-pre" }
tract-core = { path = "../../core", version = "=0.20.1-pre" }
tract-onnx = { path = "../../onnx", version = "=0.20.1-pre" }
4 changes: 2 additions & 2 deletions examples/nnef-dump-mobilenet-v2/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "example-dump-nnef-mobilenet-v2"
version = "0.20.0-pre"
version = "0.20.1-pre"
authors = ["Mathieu Poumeyrol <[email protected]>"]
license = "MIT/Apache-2.0"
edition = "2021"

[dependencies]
image.workspace = true

tract-nnef = { version = "=0.20.0-pre", path = "../../nnef" }
tract-nnef = { version = "=0.20.1-pre", path = "../../nnef" }
4 changes: 2 additions & 2 deletions examples/nnef-mobilenet-v2/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "example-nnef-mobilenet-v2"
version = "0.20.0-pre"
version = "0.20.1-pre"
authors = ["Mathieu Poumeyrol <[email protected]>"]
license = "MIT/Apache-2.0"
edition = "2021"

[dependencies]
image.workspace = true

tract-nnef = { version = "=0.20.0-pre", path = "../../nnef" }
tract-nnef = { version = "=0.20.1-pre", path = "../../nnef" }
4 changes: 2 additions & 2 deletions examples/onnx-mobilenet-v2/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "example-onnx-mobilenet-v2"
version = "0.20.0-pre"
version = "0.20.1-pre"
authors = ["Mathieu Poumeyrol <[email protected]>"]
license = "MIT/Apache-2.0"
edition = "2021"

[dependencies]
image.workspace = true
tract-onnx = { path = "../../onnx", version = "=0.20.0-pre" }
tract-onnx = { path = "../../onnx", version = "=0.20.1-pre" }
4 changes: 2 additions & 2 deletions examples/pytorch-albert-v2/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "pytorch-albert-v2"
version = "0.20.0-pre"
version = "0.20.1-pre"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
ndarray.workspace = true
tokenizers.workspace = true
tract-onnx = { path = "../../onnx", version = "=0.20.0-pre" }
tract-onnx = { path = "../../onnx", version = "=0.20.1-pre" }
4 changes: 2 additions & 2 deletions examples/pytorch-resnet/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "example-pytorch-resnet"
version = "0.20.0-pre"
version = "0.20.1-pre"
authors = ["Teddy Koker <[email protected]>"]
license = "MIT/Apache-2.0"
edition = "2021"
Expand All @@ -9,4 +9,4 @@ edition = "2021"

[dependencies]
image.workspace = true
tract-onnx = { path = "../../onnx", version = "=0.20.0-pre" }
tract-onnx = { path = "../../onnx", version = "=0.20.1-pre" }
4 changes: 2 additions & 2 deletions examples/tensorflow-mobilenet-v2/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "example-tensorflow-mobilenet-v2"
version = "0.20.0-pre"
version = "0.20.1-pre"
authors = ["Mathieu Poumeyrol <[email protected]>"]
license = "MIT/Apache-2.0"
edition = "2021"

[dependencies]
image.workspace = true
tract-tensorflow = { path = "../../tensorflow", version = "=0.20.0-pre" }
tract-tensorflow = { path = "../../tensorflow", version = "=0.20.1-pre" }
14 changes: 7 additions & 7 deletions ffi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tract-ffi"
version = "0.20.0-pre"
version = "0.20.1-pre"
license = "MIT/Apache-2.0"
authors = ["Mathieu Poumeyrol <[email protected]>"]
description = "Tiny, no-nonsense, self contained, TensorFlow and ONNX inference"
Expand All @@ -23,9 +23,9 @@ anyhow.workspace = true
flate2.workspace = true
serde.workspace = true
serde_json.workspace = true
tract-data = { path = "../data", version = "=0.20.0-pre" }
tract-nnef = { path = "../nnef", version = "=0.20.0-pre" }
tract-onnx = { path = "../onnx", version = "=0.20.0-pre" }
tract-pulse = { path = "../pulse", version = "=0.20.0-pre" }
tract-tensorflow = { path = "../tensorflow", version = "=0.20.0-pre" }
tract-libcli = { path = "../libcli", version = "=0.20.0-pre" }
tract-data = { path = "../data", version = "=0.20.1-pre" }
tract-nnef = { path = "../nnef", version = "=0.20.1-pre" }
tract-onnx = { path = "../onnx", version = "=0.20.1-pre" }
tract-pulse = { path = "../pulse", version = "=0.20.1-pre" }
tract-tensorflow = { path = "../tensorflow", version = "=0.20.1-pre" }
tract-libcli = { path = "../libcli", version = "=0.20.1-pre" }
10 changes: 5 additions & 5 deletions harness/core-proptest-pulse/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[package]
name = "core-proptest-pulse"
version = "0.20.0-pre"
version = "0.20.1-pre"
authors = ["Mathieu Poumeyrol <[email protected]>"]
license = "MIT/Apache-2.0"
edition = "2021"

[dependencies]
tract-hir = { path = "../../hir", version = "=0.20.0-pre" }
tract-pulse = { path = "../../pulse", version = "=0.20.0-pre" }
tract-onnx = { path = "../../onnx", version = "=0.20.0-pre" }
tract-onnx-opl = { path = "../../onnx-opl", version = "=0.20.0-pre" }
tract-hir = { path = "../../hir", version = "=0.20.1-pre" }
tract-pulse = { path = "../../pulse", version = "=0.20.1-pre" }
tract-onnx = { path = "../../onnx", version = "=0.20.1-pre" }
tract-onnx-opl = { path = "../../onnx-opl", version = "=0.20.1-pre" }

[dev-dependencies]
log.workspace = true
Expand Down
6 changes: 3 additions & 3 deletions harness/lstm-proptest-onnx-vs-tf/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "lstm-proptest-onnx-vs-tf"
version = "0.20.0-pre"
version = "0.20.1-pre"
authors = ["Mathieu Poumeyrol <[email protected]>"]
license = "MIT/Apache-2.0"
edition = "2021"

[dependencies]
proptest.workspace = true
tract-tensorflow = { path = "../../tensorflow", version = "=0.20.0-pre" }
tract-onnx = { path = "../../onnx", version = "=0.20.0-pre" }
tract-tensorflow = { path = "../../tensorflow", version = "=0.20.1-pre" }
tract-onnx = { path = "../../onnx", version = "=0.20.1-pre" }
6 changes: 3 additions & 3 deletions harness/nnef-inceptionv3/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[package]
name = "nnef-inceptionv3"
version = "0.20.0-pre"
version = "0.20.1-pre"
authors = ["Mathieu Poumeyrol <[email protected]>"]
license = "MIT/Apache-2.0"
edition = "2021"

[dependencies]
flate2.workspace = true
image.workspace = true
tract-core = { version = "=0.20.0-pre", path = "../../core" }
tract-nnef = { version = "=0.20.0-pre", path = "../../nnef" }
tract-core = { version = "=0.20.1-pre", path = "../../core" }
tract-nnef = { version = "=0.20.1-pre", path = "../../nnef" }

[dev-dependencies]
dinghy-test.workspace = true
Expand Down
4 changes: 2 additions & 2 deletions harness/onnx-proptest/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "onnx-proptest"
version = "0.20.0-pre"
version = "0.20.1-pre"
edition = "2021"

[workspace]
Expand All @@ -12,5 +12,5 @@ onnxruntime = { path = "../../../../github/onnxruntime-rs/onnxruntime" }
onnx-pb = "0.1.4"
anyhow = "1.0.56"
prost = "0.11.0"
tract-onnx = { path = "../../onnx" , version = "=0.20.0-pre" }
tract-onnx = { path = "../../onnx" , version = "=0.20.1-pre" }
proptest = "1.0.0"
8 changes: 4 additions & 4 deletions harness/onnx-test-suite/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "onnx-test-suite"
version = "0.20.0-pre"
version = "0.20.1-pre"
authors = ["Mathieu Poumeyrol <[email protected]>"]
license = "MIT/Apache-2.0"
edition = "2021"
Expand All @@ -10,9 +10,9 @@ bytes.workspace = true
fs2.workspace = true
log.workspace = true
prost.workspace = true
tract-core = { path = "../../core", version = "=0.20.0-pre" }
tract-nnef = { path = "../../nnef", version = "=0.20.0-pre" }
tract-onnx = { path = "../../onnx", version = "=0.20.0-pre" }
tract-core = { path = "../../core", version = "=0.20.1-pre" }
tract-nnef = { path = "../../nnef", version = "=0.20.1-pre" }
tract-onnx = { path = "../../onnx", version = "=0.20.1-pre" }

[features]
onnx_1_4_1 = []
Expand Down
4 changes: 2 additions & 2 deletions harness/onnx-test-suite/debug-utils/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "debug-utils"
version = "0.20.0-pre"
version = "0.20.1-pre"
authors = ["Mathieu Poumeyrol <[email protected]>"]
edition = "2021"

Expand All @@ -9,4 +9,4 @@ members = []

[dependencies]
protobuf = "*"
tract-onnx = { path = "../../../onnx" , version = "=0.20.0-pre" }
tract-onnx = { path = "../../../onnx" , version = "=0.20.1-pre" }
4 changes: 2 additions & 2 deletions harness/tf-inceptionv3/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "tf-inceptionv3"
version = "0.20.0-pre"
version = "0.20.1-pre"
authors = ["Mathieu Poumeyrol <[email protected]>"]
license = "MIT/Apache-2.0"

[dependencies]
image.workspace = true
tract-tensorflow = { path = "../../tensorflow", version = "=0.20.0-pre" }
tract-tensorflow = { path = "../../tensorflow", version = "=0.20.1-pre" }

[features]
conform = [ "tract-tensorflow/conform" ]
Expand Down
4 changes: 2 additions & 2 deletions harness/tf-mobilenet-v2/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "tf-mobilenet-v2"
version = "0.20.0-pre"
version = "0.20.1-pre"
authors = ["Mathieu Poumeyrol <[email protected]>"]
license = "MIT/Apache-2.0"

[dependencies]
image.workspace = true
tract-tensorflow = { path = "../../tensorflow", version = "=0.20.0-pre" }
tract-tensorflow = { path = "../../tensorflow", version = "=0.20.1-pre" }

[dev-dependencies]
dinghy-test.workspace = true
4 changes: 2 additions & 2 deletions harness/tf-moz-deepspeech/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[package]
name = "tf-moz-deepspeech"
version = "0.20.0-pre"
version = "0.20.1-pre"
authors = ["Mathieu Poumeyrol <[email protected]>"]
edition = "2021"
license = "MIT/Apache-2.0"

[dependencies]
log.workspace = true
tract-tensorflow = { path = "../../tensorflow", version = "=0.20.0-pre" }
tract-tensorflow = { path = "../../tensorflow", version = "=0.20.1-pre" }

[dev-dependencies]
env_logger.workspace = true
Loading

0 comments on commit 6e71204

Please sign in to comment.