Skip to content

Commit

Permalink
patch 0.11.1 (#1047)
Browse files Browse the repository at this point in the history
  • Loading branch information
louisfd authored Dec 4, 2023
1 parent 0b16786 commit 3088c46
Show file tree
Hide file tree
Showing 31 changed files with 88 additions and 88 deletions.
4 changes: 2 additions & 2 deletions backend-comparison/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license = "MIT OR Apache-2.0"
name = "backend-comparison"
readme = "README.md"
repository = "https://github.com/tracel-ai/burn/tree/main/backend-comparison"
version = "0.11.0"
version = "0.11.1"

[features]
default = ["std"]
Expand All @@ -28,7 +28,7 @@ wgpu-fusion = ["burn/wgpu", "burn/fusion"]
burn = { path = "../burn" }
derive-new = { workspace = true }
rand = { workspace = true }
burn-common = { path = "../burn-common", version = "0.11.0" }
burn-common = { path = "../burn-common", version = "0.11.1" }
serde_json = { workspace = true }
dirs = "5.0.1"

Expand Down
8 changes: 4 additions & 4 deletions burn-autodiff/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ license = "MIT OR Apache-2.0"
name = "burn-autodiff"
readme = "README.md"
repository = "https://github.com/tracel-ai/burn/tree/main/burn-autodiff"
version = "0.11.0"
version = "0.11.1"

[features]
default = ["export_tests"]
export_tests = ["burn-tensor-testgen"]

[dependencies]
burn-common = { path = "../burn-common", version = "0.11.0" }
burn-tensor = { path = "../burn-tensor", version = "0.11.0", default-features = false }
burn-tensor-testgen = { path = "../burn-tensor-testgen", version = "0.11.0", optional = true }
burn-common = { path = "../burn-common", version = "0.11.1" }
burn-tensor = { path = "../burn-tensor", version = "0.11.1", default-features = false }
burn-tensor-testgen = { path = "../burn-tensor-testgen", version = "0.11.1", optional = true }

derive-new = { workspace = true }
spin = { workspace = true }
14 changes: 7 additions & 7 deletions burn-book/src/basic-workflow/model.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Model

The first step is to create a project and add the different Burn dependencies. In the `Cargo.toml` file,
add the `burn` dependency with `train` and `wgpu` features. Note that the `serde` dependency is also mandatory
for the time being, as it is needed for serialization.
The first step is to create a project and add the different Burn dependencies. In the `Cargo.toml`
file, add the `burn` dependency with `train` and `wgpu` features. Note that the `serde` dependency
is also mandatory for the time being, as it is needed for serialization.

```toml
[package]
Expand All @@ -11,7 +11,7 @@ version = "0.1.0"
edition = "2021"

[dependencies]
burn = { version = "0.11.0", features=["train", "wgpu"]}
burn = { version = "0.11.1", features=["train", "wgpu"]}

# Serialization
serde = "1"
Expand Down Expand Up @@ -60,9 +60,9 @@ There are two major things going on in this code sample.
backend. Contrary to other frameworks, the backend abstraction isn't determined by a compilation
flag or a device type. This is important because you can extend the functionalities of a specific
backend (see [backend extension section](../advanced/backend-extension)), and it allows for an
innovative [autodiff system](../building-blocks/autodiff.md). You can also change backend during runtime, for instance to compute
training metrics on a cpu backend while using a gpu one only to train the model. In our example,
the backend in use will be determined later on.
innovative [autodiff system](../building-blocks/autodiff.md). You can also change backend during
runtime, for instance to compute training metrics on a cpu backend while using a gpu one only to
train the model. In our example, the backend in use will be determined later on.

Next, we need to instantiate the model for training.

Expand Down
10 changes: 5 additions & 5 deletions burn-candle/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = "MIT OR Apache-2.0"
name = "burn-candle"
readme = "README.md"
repository = "https://github.com/tracel-ai/burn/tree/main/burn-candle"
version = "0.11.0"
version = "0.11.1"

[features]
default = ["std"]
Expand All @@ -18,18 +18,18 @@ accelerate = ["candle-core/accelerate"]

[dependencies]
derive-new = { workspace = true }
burn-tensor = { path = "../burn-tensor", version = "0.11.0", default-features = false }
burn-tensor = { path = "../burn-tensor", version = "0.11.1", default-features = false }
half = { workspace = true }

candle-core = { version = "0.3.1" }


[dev-dependencies]
burn-autodiff = { path = "../burn-autodiff", version = "0.11.0", default-features = false, features = [
burn-autodiff = { path = "../burn-autodiff", version = "0.11.1", default-features = false, features = [
"export_tests",
] }
burn-tch = { path = "../burn-tch", version = "0.11.0", default-features = false, features = [
burn-tch = { path = "../burn-tch", version = "0.11.1", default-features = false, features = [
] }
burn-tensor = { path = "../burn-tensor", version = "0.11.0", default-features = false, features = [
burn-tensor = { path = "../burn-tensor", version = "0.11.1", default-features = false, features = [
"export_tests",
] }
2 changes: 1 addition & 1 deletion burn-common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = "MIT OR Apache-2.0"
name = "burn-common"
readme = "README.md"
repository = "https://github.com/tracel-ai/burn/tree/main/burn-common"
version = "0.11.0"
version = "0.11.1"

[features]
default = ["std"]
Expand Down
4 changes: 2 additions & 2 deletions burn-compute/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = "MIT OR Apache-2.0"
name = "burn-compute"
readme = "README.md"
repository = "https://github.com/tracel-ai/burn/tree/main/burn-compute"
version = "0.11.0"
version = "0.11.1"

[features]
default = [
Expand All @@ -25,7 +25,7 @@ channel-mpsc = [] # Assume std
storage-bytes = []

[dependencies]
burn-common = { path = "../burn-common", version = "0.11.0", default-features = false }
burn-common = { path = "../burn-common", version = "0.11.1", default-features = false }
derive-new = { workspace = true }
spin = { workspace = true }
log = { workspace = true }
Expand Down
28 changes: 14 additions & 14 deletions burn-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = "MIT OR Apache-2.0"
name = "burn-core"
readme = "README.md"
repository = "https://github.com/tracel-ai/burn/tree/main/burn-core"
version = "0.11.0"
version = "0.11.1"

[features]
default = [
Expand Down Expand Up @@ -73,18 +73,18 @@ test-wgpu = ["wgpu"] # To use wgpu during testing, default uses ndarray.

# ** Please make sure all dependencies support no_std when std is disabled **

burn-common = { path = "../burn-common", version = "0.11.0", default-features = false }
burn-dataset = { path = "../burn-dataset", version = "0.11.0", optional = true, default-features = false }
burn-derive = { path = "../burn-derive", version = "0.11.0" }
burn-tensor = { path = "../burn-tensor", version = "0.11.0", default-features = false }
burn-common = { path = "../burn-common", version = "0.11.1", default-features = false }
burn-dataset = { path = "../burn-dataset", version = "0.11.1", optional = true, default-features = false }
burn-derive = { path = "../burn-derive", version = "0.11.1" }
burn-tensor = { path = "../burn-tensor", version = "0.11.1", default-features = false }

# Backends
burn-ndarray = { path = "../burn-ndarray", version = "0.11.0", optional = true, default-features = false }
burn-wgpu = { path = "../burn-wgpu", version = "0.11.0", optional = true }
burn-autodiff = { path = "../burn-autodiff", version = "0.11.0", optional = true }
burn-fusion = { path = "../burn-fusion", version = "0.11.0", optional = true }
burn-tch = { path = "../burn-tch", version = "0.11.0", optional = true }
burn-candle = { path = "../burn-candle", version = "0.11.0", optional = true }
burn-ndarray = { path = "../burn-ndarray", version = "0.11.1", optional = true, default-features = false }
burn-wgpu = { path = "../burn-wgpu", version = "0.11.1", optional = true }
burn-autodiff = { path = "../burn-autodiff", version = "0.11.1", optional = true }
burn-fusion = { path = "../burn-fusion", version = "0.11.1", optional = true }
burn-tch = { path = "../burn-tch", version = "0.11.1", optional = true }
burn-candle = { path = "../burn-candle", version = "0.11.1", optional = true }

derive-new = { workspace = true }
libm = { workspace = true }
Expand All @@ -107,9 +107,9 @@ serde_json = { workspace = true, features = ["alloc"] } #Default enables std

[dev-dependencies]
tempfile = { workspace = true }
burn-dataset = { path = "../burn-dataset", version = "0.11.0", features = [
burn-dataset = { path = "../burn-dataset", version = "0.11.1", features = [
"fake",
] }

burn-ndarray = { path = "../burn-ndarray", version = "0.11.0", default-features = false }
burn-autodiff = { path = "../burn-autodiff", version = "0.11.0" }
burn-ndarray = { path = "../burn-ndarray", version = "0.11.1", default-features = false }
burn-autodiff = { path = "../burn-autodiff", version = "0.11.1" }
2 changes: 1 addition & 1 deletion burn-dataset/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = "MIT OR Apache-2.0"
name = "burn-dataset"
readme = "README.md"
repository = "https://github.com/tracel-ai/burn/tree/main/burn-dataset"
version = "0.11.0"
version = "0.11.1"

[features]
default = ["sqlite-bundled"]
Expand Down
2 changes: 1 addition & 1 deletion burn-derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = "MIT OR Apache-2.0"
name = "burn-derive"
readme = "README.md"
repository = "https://github.com/tracel-ai/burn/tree/main/burn-derive"
version = "0.11.0"
version = "0.11.1"

[lib]
proc-macro = true
Expand Down
6 changes: 3 additions & 3 deletions burn-fusion/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ license = "MIT OR Apache-2.0"
name = "burn-fusion"
readme = "README.md"
repository = "https://github.com/tracel-ai/burn/tree/main/burn-fusion"
version = "0.11.0"
version = "0.11.1"

[features]
default = ["std"]
std = []

[dependencies]
burn-tensor = {path = "../burn-tensor", version = "0.11.0", default-features = false }
burn-common = {path = "../burn-common", version = "0.11.0" }
burn-tensor = {path = "../burn-tensor", version = "0.11.1", default-features = false }
burn-common = {path = "../burn-common", version = "0.11.1" }
hashbrown = { workspace = true }
derive-new = {workspace = true}
spin = {workspace = true}
6 changes: 3 additions & 3 deletions burn-import/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ name = "burn-import"
readme = "README.md"
repository = "https://github.com/tracel-ai/burn/tree/main/burn-import"

version = "0.11.0"
version = "0.11.1"

[features]
default = ["onnx"]
onnx = []

[dependencies]
burn = { path = "../burn", version = "0.11.0" }
burn-ndarray = { path = "../burn-ndarray", version = "0.11.0" }
burn = { path = "../burn", version = "0.11.1" }
burn-ndarray = { path = "../burn-ndarray", version = "0.11.1" }

bytemuck = { workspace = true }
derive-new = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion burn-import/onnx-tests/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "onnx-tests"
version = "0.11.0"
version = "0.11.1"
edition = "2021"
license = "MIT OR Apache-2.0"

Expand Down
8 changes: 4 additions & 4 deletions burn-ndarray/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = "MIT OR Apache-2.0"
name = "burn-ndarray"
readme = "README.md"
repository = "https://github.com/tracel-ai/burn/tree/main/burn-ndarray"
version = "0.11.0"
version = "0.11.1"

[features]
default = ["std"]
Expand Down Expand Up @@ -41,11 +41,11 @@ blas-openblas-system = [

# ** Please make sure all dependencies support no_std when std is disabled **

burn-autodiff = { path = "../burn-autodiff", version = "0.11.0", features = [
burn-autodiff = { path = "../burn-autodiff", version = "0.11.1", features = [
"export_tests",
], optional = true }
burn-common = { path = "../burn-common", version = "0.11.0", default-features = false }
burn-tensor = { path = "../burn-tensor", version = "0.11.0", default-features = false, features = [
burn-common = { path = "../burn-common", version = "0.11.1", default-features = false }
burn-tensor = { path = "../burn-tensor", version = "0.11.1", default-features = false, features = [
"export_tests",
] }

Expand Down
6 changes: 3 additions & 3 deletions burn-no-std-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ license = "MIT OR Apache-2.0"
name = "burn-no-std-tests"
readme = "README.md"
repository = "https://github.com/tracel-ai/burn/tree/main/burn-no-std-tests"
version = "0.11.0"
version = "0.11.1"

[dependencies]

# ** Please make sure all dependencies support no_std **

burn = { path = "../burn", version = "0.11.0", default-features = false }
burn-ndarray = { path = "../burn-ndarray", version = "0.11.0", default-features = false }
burn = { path = "../burn", version = "0.11.1", default-features = false }
burn-ndarray = { path = "../burn-ndarray", version = "0.11.1", default-features = false }

serde = { workspace = true }
8 changes: 4 additions & 4 deletions burn-tch/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,24 @@ license = "MIT OR Apache-2.0"
name = "burn-tch"
readme = "README.md"
repository = "https://github.com/tracel-ai/burn/tree/main/burn-tch"
version = "0.11.0"
version = "0.11.1"

[features]
default = []
doc = ["tch/doc-only"]

[dependencies]
burn-tensor = { path = "../burn-tensor", version = "0.11.0" }
burn-tensor = { path = "../burn-tensor", version = "0.11.1" }

half = { workspace = true, features = ["std"] }
libc = "0.2.150"
rand = { workspace = true, features = ["std"] }
tch = { version = "0.14.0", features = ["download-libtorch"] }

[dev-dependencies]
burn-autodiff = { path = "../burn-autodiff", version = "0.11.0", default-features = false, features = [
burn-autodiff = { path = "../burn-autodiff", version = "0.11.1", default-features = false, features = [
"export_tests",
] }
burn-tensor = { path = "../burn-tensor", version = "0.11.0", default-features = false, features = [
burn-tensor = { path = "../burn-tensor", version = "0.11.1", default-features = false, features = [
"export_tests",
] }
2 changes: 1 addition & 1 deletion burn-tensor-testgen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ license = "MIT OR Apache-2.0"
name = "burn-tensor-testgen"
readme = "README.md"
repository = "https://github.com/tracel-ai/burn/tree/main/burn-tensor-testgen"
version = "0.11.0"
version = "0.11.1"

[lib]
proc-macro = true
Expand Down
6 changes: 3 additions & 3 deletions burn-tensor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = "MIT OR Apache-2.0"
name = "burn-tensor"
readme = "README.md"
repository = "https://github.com/tracel-ai/burn/tree/main/burn-tensor"
version = "0.11.0"
version = "0.11.1"

[features]
default = ["std"]
Expand All @@ -18,8 +18,8 @@ std = ["rand/std", "half/std"]
wasm-sync = []

[dependencies]
burn-common = { path = "../burn-common", version = "0.11.0", default-features = false }
burn-tensor-testgen = { path = "../burn-tensor-testgen", version = "0.11.0", optional = true }
burn-common = { path = "../burn-common", version = "0.11.1", default-features = false }
burn-tensor-testgen = { path = "../burn-tensor-testgen", version = "0.11.1", optional = true }

derive-new = { workspace = true }
half = { workspace = true }
Expand Down
6 changes: 3 additions & 3 deletions burn-train/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ license = "MIT OR Apache-2.0"
name = "burn-train"
readme = "README.md"
repository = "https://github.com/tracel-ai/burn/tree/main/burn-train"
version = "0.11.0"
version = "0.11.1"

[features]
default = ["metrics", "tui"]
metrics = ["nvml-wrapper", "sysinfo", "systemstat"]
tui = ["ratatui", "crossterm"]

[dependencies]
burn-core = { path = "../burn-core", version = "0.11.0", features = ["dataset"] }
burn-core = { path = "../burn-core", version = "0.11.1", features = ["dataset"] }

log = { workspace = true }
tracing-subscriber.workspace = true
Expand All @@ -37,4 +37,4 @@ derive-new = { workspace = true }
serde = { workspace = true, features = ["std", "derive"] }

[dev-dependencies]
burn-ndarray = { path = "../burn-ndarray", version = "0.11.0" }
burn-ndarray = { path = "../burn-ndarray", version = "0.11.1" }
Loading

0 comments on commit 3088c46

Please sign in to comment.