chore(infra): Share some properties across workspace (#1039)

This commit is contained in:
David Chavez 2023-12-12 15:39:07 +01:00 committed by GitHub
parent 3066196297
commit 71d3c1d142
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
31 changed files with 119 additions and 113 deletions

View File

@ -31,6 +31,12 @@ members = [
exclude = ["examples/notebook"]
[workspace.package]
edition = "2021"
version = "0.12.0"
readme = "README.md"
license = "MIT OR Apache-2.0"
[workspace.dependencies]
async-trait = "0.1.74"
bytemuck = "1.14"

View File

@ -2,12 +2,12 @@
authors = ["louisfd <louisfd94@gmail.com>"]
categories = ["science"]
description = "This crate is used to time the execution of various computations, from operation kernels to complex model scenarios."
edition = "2021"
license = "MIT OR Apache-2.0"
edition.workspace = true
license.workspace = true
name = "backend-comparison"
readme = "README.md"
readme.workspace = true
repository = "https://github.com/tracel-ai/burn/tree/main/backend-comparison"
version = "0.12.0"
version.workspace = true
[features]
default = ["std"]

View File

@ -2,13 +2,13 @@
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
categories = ["science"]
description = "Automatic differentiation backend for the Burn framework"
edition = "2021"
edition.workspace = true
keywords = ["deep-learning", "machine-learning", "data"]
license = "MIT OR Apache-2.0"
license.workspace = true
name = "burn-autodiff"
readme = "README.md"
readme.workspace = true
repository = "https://github.com/tracel-ai/burn/tree/main/burn-autodiff"
version = "0.12.0"
version.workspace = true
[features]
default = ["export_tests"]

View File

@ -2,13 +2,13 @@
authors = ["louisfd <louisfd94@gmail.com>"]
categories = ["science"]
description = "Candle backend for the Burn framework"
edition = "2021"
edition.workspace = true
keywords = ["deep-learning", "machine-learning", "data"]
license = "MIT OR Apache-2.0"
license.workspace = true
name = "burn-candle"
readme = "README.md"
readme.workspace = true
repository = "https://github.com/tracel-ai/burn/tree/main/burn-candle"
version = "0.12.0"
version.workspace = true
[features]
default = ["std"]

View File

@ -2,13 +2,13 @@
authors = ["Dilshod Tadjibaev (@antimora)"]
categories = []
description = "Common crate for the Burn framework"
edition = "2021"
edition.workspace = true
keywords = []
license = "MIT OR Apache-2.0"
license.workspace = true
name = "burn-common"
readme = "README.md"
readme.workspace = true
repository = "https://github.com/tracel-ai/burn/tree/main/burn-common"
version = "0.12.0"
version.workspace = true
[features]
default = ["std"]

View File

@ -2,13 +2,13 @@
authors = ["louisfd <louisfd94@gmail.com>", "Nathaniel Simard"]
categories = ["science"]
description = "Compute crate that helps creating high performance async backends."
edition = "2021"
edition.workspace = true
keywords = ["deep-learning", "machine-learning", "data"]
license = "MIT OR Apache-2.0"
license.workspace = true
name = "burn-compute"
readme = "README.md"
readme.workspace = true
repository = "https://github.com/tracel-ai/burn/tree/main/burn-compute"
version = "0.12.0"
version.workspace = true
[features]
default = [

View File

@ -2,13 +2,13 @@
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
categories = ["science", "no-std", "embedded", "wasm"]
description = "Flexible and Comprehensive Deep Learning Framework in Rust"
edition = "2021"
edition.workspace = true
keywords = ["deep-learning", "machine-learning", "tensor", "pytorch", "ndarray"]
license = "MIT OR Apache-2.0"
license.workspace = true
name = "burn-core"
readme = "README.md"
readme.workspace = true
repository = "https://github.com/tracel-ai/burn/tree/main/burn-core"
version = "0.12.0"
version.workspace = true
[features]
default = [

View File

@ -2,13 +2,13 @@
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
categories = ["science"]
description = "Library with simple dataset APIs for creating ML data pipelines"
edition = "2021"
edition.workspace = true
keywords = ["deep-learning", "machine-learning", "data"]
license = "MIT OR Apache-2.0"
license.workspace = true
name = "burn-dataset"
readme = "README.md"
readme.workspace = true
repository = "https://github.com/tracel-ai/burn/tree/main/burn-dataset"
version = "0.12.0"
version.workspace = true
[features]
default = ["sqlite-bundled"]

View File

@ -2,13 +2,13 @@
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
categories = ["science"]
description = "Derive crate for the Burn framework"
edition = "2021"
edition.workspace = true
keywords = []
license = "MIT OR Apache-2.0"
license.workspace = true
name = "burn-derive"
readme = "README.md"
readme.workspace = true
repository = "https://github.com/tracel-ai/burn/tree/main/burn-derive"
version = "0.12.0"
version.workspace = true
[lib]
proc-macro = true

View File

@ -2,13 +2,13 @@
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
categories = ["science"]
description = "Kernel fusion backend decorator for the Burn framework"
edition = "2021"
edition.workspace = true
keywords = ["deep-learning", "machine-learning", "data"]
license = "MIT OR Apache-2.0"
license.workspace = true
name = "burn-fusion"
readme = "README.md"
readme.workspace = true
repository = "https://github.com/tracel-ai/burn/tree/main/burn-fusion"
version = "0.12.0"
version.workspace = true
[features]
default = ["std"]

View File

@ -4,13 +4,13 @@ authors = [
"Nathaniel Simard (@nathanielsimard)",
]
description = "Library for importing datamodels into the Burn framework"
edition = "2021"
license = "MIT OR Apache-2.0"
edition.workspace = true
license.workspace = true
name = "burn-import"
readme = "README.md"
readme.workspace = true
repository = "https://github.com/tracel-ai/burn/tree/main/burn-import"
version = "0.12.0"
version.workspace = true
[features]
default = ["onnx"]
@ -33,8 +33,8 @@ serde_json = { workspace = true, features = ["std"] }
strum = { workspace = true }
strum_macros = { workspace = true }
syn = { workspace = true, features = ["parsing"] }
tracing-subscriber.workspace = true
tracing-core.workspace = true
tracing-subscriber = { workspace = true }
tracing-core = { workspace = true }
[build-dependencies]
protobuf-codegen = { workspace = true }

View File

@ -1,8 +1,8 @@
[package]
name = "onnx-tests"
version = "0.12.0"
edition = "2021"
license = "MIT OR Apache-2.0"
version.workspace = true
edition.workspace = true
license.workspace = true
[dev-dependencies]
burn = { path = "../../burn" }

View File

@ -2,13 +2,13 @@
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
categories = ["science", "no-std", "embedded", "wasm"]
description = "Ndarray backend for the Burn framework"
edition = "2021"
edition.workspace = true
keywords = ["deep-learning", "machine-learning", "data"]
license = "MIT OR Apache-2.0"
license.workspace = true
name = "burn-ndarray"
readme = "README.md"
readme.workspace = true
repository = "https://github.com/tracel-ai/burn/tree/main/burn-ndarray"
version = "0.12.0"
version.workspace = true
[features]
default = ["std"]

View File

@ -3,12 +3,12 @@ authors = [
"nathanielsimard <nathaniel.simard.42@gmail.com>",
"Dilshod Tadjibaev (@antimora)",
]
edition = "2021"
license = "MIT OR Apache-2.0"
edition.workspace = true
license.workspace = true
name = "burn-no-std-tests"
readme = "README.md"
readme.workspace = true
repository = "https://github.com/tracel-ai/burn/tree/main/burn-no-std-tests"
version = "0.12.0"
version.workspace = true
[dependencies]

View File

@ -2,13 +2,13 @@
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
categories = ["science"]
description = "Tch backend for the Burn framework"
edition = "2021"
edition.workspace = true
keywords = ["deep-learning", "machine-learning", "data"]
license = "MIT OR Apache-2.0"
license.workspace = true
name = "burn-tch"
readme = "README.md"
readme.workspace = true
repository = "https://github.com/tracel-ai/burn/tree/main/burn-tch"
version = "0.12.0"
version.workspace = true
[features]
default = []

View File

@ -1,12 +1,12 @@
[package]
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
description = "Test generation crate for burn-tensor"
edition = "2021"
license = "MIT OR Apache-2.0"
edition.workspace = true
license.workspace = true
name = "burn-tensor-testgen"
readme = "README.md"
readme.workspace = true
repository = "https://github.com/tracel-ai/burn/tree/main/burn-tensor-testgen"
version = "0.12.0"
version.workspace = true
[lib]
proc-macro = true

View File

@ -2,13 +2,13 @@
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
categories = ["science", "no-std", "embedded", "wasm"]
description = "Tensor library with user-friendly APIs and automatic differentiation support"
edition = "2021"
edition.workspace = true
keywords = ["deep-learning", "machine-learning", "tensor", "pytorch", "ndarray"]
license = "MIT OR Apache-2.0"
license.workspace = true
name = "burn-tensor"
readme = "README.md"
readme.workspace = true
repository = "https://github.com/tracel-ai/burn/tree/main/burn-tensor"
version = "0.12.0"
version.workspace = true
[features]
default = ["std"]

View File

@ -2,13 +2,13 @@
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
categories = ["science"]
description = "Training crate for the Burn framework"
edition = "2021"
edition.workspace = true
keywords = ["deep-learning", "machine-learning", "tensor", "pytorch", "ndarray"]
license = "MIT OR Apache-2.0"
license.workspace = true
name = "burn-train"
readme = "README.md"
readme.workspace = true
repository = "https://github.com/tracel-ai/burn/tree/main/burn-train"
version = "0.12.0"
version.workspace = true
[features]
default = ["metrics", "tui"]
@ -19,9 +19,9 @@ tui = ["ratatui", "crossterm"]
burn-core = { path = "../burn-core", version = "0.12.0", features = ["dataset"] }
log = { workspace = true }
tracing-subscriber.workspace = true
tracing-appender.workspace = true
tracing-core.workspace = true
tracing-subscriber = { workspace = true }
tracing-appender = { workspace = true }
tracing-core = { workspace = true }
# Metrics
nvml-wrapper = { version = "0.9.0", optional = true }

View File

@ -2,13 +2,13 @@
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
categories = ["science"]
description = "WGPU backend for the Burn framework"
edition = "2021"
edition.workspace = true
keywords = ["deep-learning", "machine-learning", "gpu", "wgpu", "webgpu"]
license = "MIT OR Apache-2.0"
license.workspace = true
name = "burn-wgpu"
readme = "README.md"
readme.workspace = true
repository = "https://github.com/tracel-ai/burn/tree/main/burn-wgpu"
version = "0.12.0"
version.workspace = true
[features]
default = ["autotune", "std"]

View File

@ -2,13 +2,13 @@
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
categories = ["science", "no-std", "embedded", "wasm"]
description = "Flexible and Comprehensive Deep Learning Framework in Rust"
edition = "2021"
edition.workspace = true
keywords = ["deep-learning", "machine-learning", "tensor", "pytorch", "ndarray"]
license = "MIT OR Apache-2.0"
license.workspace = true
name = "burn"
readme = "README.md"
readme.workspace = true
repository = "https://github.com/tracel-ai/burn"
version = "0.12.0"
version.workspace = true
rust-version = "1.71"
[features]

View File

@ -1,11 +1,11 @@
[package]
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>", "Ankitects Pty Ltd"]
edition = "2021"
license = "MIT OR Apache-2.0"
edition.workspace = true
license.workspace = true
name = "custom-renderer"
description = "Example of how to render training progress outside of the tui"
publish = false
version = "0.12.0"
version.workspace = true
[dependencies]
burn = {path = "../../burn", features=["autodiff", "wgpu", "train", "dataset"], default-features=false}

View File

@ -1,10 +1,10 @@
[package]
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
edition = "2021"
license = "MIT OR Apache-2.0"
edition.workspace = true
license.workspace = true
name = "custom-training-loop"
publish = false
version = "0.12.0"
version.workspace = true
[dependencies]
burn = {path = "../../burn", features=["autodiff", "wgpu"]}

View File

@ -1,10 +1,10 @@
[package]
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
edition = "2021"
license = "MIT OR Apache-2.0"
edition.workspace = true
license.workspace = true
name = "custom-wgpu-kernel"
publish = false
version = "0.12.0"
version.workspace = true
[dependencies]
burn = {path = "../../burn", features=["autodiff", "wgpu"]}

View File

@ -1,10 +1,10 @@
[package]
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
edition = "2021"
license = "MIT OR Apache-2.0"
edition.workspace = true
license.workspace = true
name = "guide"
publish = false
version = "0.12.0"
version.workspace = true
[features]
default = ["burn/default"]

View File

@ -1,10 +1,10 @@
[package]
authors = ["Dilshod Tadjibaev (@antimora)"]
edition = "2021"
license = "MIT OR Apache-2.0"
edition.workspace = true
license.workspace = true
name = "image-classification-web"
publish = false
version = "0.12.0"
version.workspace = true
[lib]
crate-type = ["cdylib"]

View File

@ -1,10 +1,10 @@
[package]
authors = ["Dilshod Tadjibaev (@antimora)"]
edition = "2021"
license = "MIT OR Apache-2.0"
edition.workspace = true
license.workspace = true
name = "mnist-inference-web"
publish = false
version = "0.12.0"
version.workspace = true
[lib]
crate-type = ["cdylib"]

View File

@ -1,10 +1,10 @@
[package]
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
edition = "2021"
license = "MIT OR Apache-2.0"
edition.workspace = true
license.workspace = true
name = "mnist"
publish = false
version = "0.12.0"
version.workspace = true
[features]
default = ["burn/dataset", "burn/sqlite-bundled"]

View File

@ -1,10 +1,10 @@
[package]
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
edition = "2021"
license = "MIT OR Apache-2.0"
edition.workspace = true
license.workspace = true
name = "named-tensor"
publish = false
version = "0.12.0"
version.workspace = true
[dependencies]
burn = {path = "../../burn", features = ["experimental-named-tensor", "ndarray"]}

View File

@ -1,10 +1,10 @@
[package]
authors = ["Dilshod Tadjibaev (@antimora)"]
edition = "2021"
license = "MIT OR Apache-2.0"
edition.workspace = true
license.workspace = true
name = "onnx-inference"
publish = false
version = "0.12.0"
version.workspace = true
[features]
default = ["embedded-model"]

View File

@ -1,10 +1,10 @@
[package]
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
edition = "2021"
license = "MIT OR Apache-2.0"
edition.workspace = true
license.workspace = true
name = "text-classification"
publish = false
version = "0.12.0"
version.workspace = true
[features]
default = ["burn/dataset", "burn/sqlite-bundled"]

View File

@ -1,10 +1,10 @@
[package]
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
edition = "2021"
license = "MIT OR Apache-2.0"
edition.workspace = true
license.workspace = true
name = "text-generation"
publish = false
version = "0.12.0"
version.workspace = true
[features]
default = ["burn/dataset", "burn/sqlite-bundled"]