diff --git a/burn-autodiff/Cargo.toml b/burn-autodiff/Cargo.toml index b39d28fd0..89f2e015e 100644 --- a/burn-autodiff/Cargo.toml +++ b/burn-autodiff/Cargo.toml @@ -1,10 +1,10 @@ [package] authors = ["nathanielsimard "] categories = ["science"] -description = "Autodiff backend for burn" +description = "Automatic differentiation backend for the Burn framework" edition = "2021" keywords = ["deep-learning", "machine-learning", "data"] -license = "MIT/Apache-2.0" +license = "MIT OR Apache-2.0" name = "burn-autodiff" readme = "README.md" repository = "https://github.com/burn-rs/burn/tree/main/burn-autodiff" @@ -15,8 +15,8 @@ default = ["export_tests"] export_tests = ["burn-tensor-testgen"] [dependencies] -burn-common = {path = "../burn-common", version = "0.8.0" } -burn-tensor = {path = "../burn-tensor", version = "0.8.0" } +burn-common = {path = "../burn-common", version = "0.8.0"} +burn-tensor = {path = "../burn-tensor", version = "0.8.0"} burn-tensor-testgen = {path = "../burn-tensor-testgen", version = "0.8.0", optional = true} derive-new = {workspace = true} diff --git a/burn-common/Cargo.toml b/burn-common/Cargo.toml index b97039c66..7575a7109 100644 --- a/burn-common/Cargo.toml +++ b/burn-common/Cargo.toml @@ -1,11 +1,11 @@ [package] authors = ["Dilshod Tadjibaev (@antimora)"] -edition = "2021" -license = "MIT/Apache-2.0" -name = "burn-common" -description = "Burn common crate." -keywords = [] categories = [] +description = "Common crate for the Burn framework" +edition = "2021" +keywords = [] +license = "MIT OR Apache-2.0" +name = "burn-common" readme = "README.md" repository = "https://github.com/burn-rs/burn/tree/main/burn-common" version = "0.8.0" diff --git a/burn-core/Cargo.toml b/burn-core/Cargo.toml index ab50f7cf4..ee88e9ba7 100644 --- a/burn-core/Cargo.toml +++ b/burn-core/Cargo.toml @@ -1,14 +1,13 @@ [package] authors = ["nathanielsimard "] categories = ["science", "no-std", "embedded", "wasm"] -description = "BURN: Burn Unstoppable Rusty Neurons" +description = "Flexible and Comprehensive Deep Learning Framework in Rust" edition = "2021" keywords = ["deep-learning", "machine-learning", "tensor", "pytorch", "ndarray"] -license = "MIT/Apache-2.0" +license = "MIT OR Apache-2.0" name = "burn-core" readme = "README.md" repository = "https://github.com/burn-rs/burn/tree/main/burn-core" - version = "0.8.0" [features] @@ -31,9 +30,8 @@ std = [ ] # Serialization formats -test-tch = [] # To use tch during testing, default uses ndarray. experimental-named-tensor = ["burn-tensor/experimental-named-tensor"] - +test-tch = [] # To use tch during testing, default uses ndarray. [dependencies] @@ -42,7 +40,7 @@ experimental-named-tensor = ["burn-tensor/experimental-named-tensor"] burn-autodiff = {path = "../burn-autodiff", version = "0.8.0", optional = true, features = ["export_tests"]} burn-common = {path = "../burn-common", version = "0.8.0", default-features = false} burn-dataset = {path = "../burn-dataset", version = "0.8.0", default-features = false, optional = true} -burn-derive = {path = "../burn-derive", version = "0.8.0" } +burn-derive = {path = "../burn-derive", version = "0.8.0"} burn-tensor = {path = "../burn-tensor", version = "0.8.0", default-features = false} derive-new = {workspace = true} @@ -59,10 +57,10 @@ hashbrown = {workspace = true, features = ["serde"]}# no_std compatible flate2 = {workspace = true, optional = true} serde = {workspace = true, features = ["derive"]} -serde_json = {workspace = true, features = ["alloc"]}#Default enables std -rmp-serde = {workspace = true, optional = true} bincode = {workspace = true} half = {workspace = true} +rmp-serde = {workspace = true, optional = true} +serde_json = {workspace = true, features = ["alloc"]}#Default enables std [dev-dependencies] burn-dataset = {path = "../burn-dataset", version = "0.8.0", features = [ @@ -70,4 +68,4 @@ burn-dataset = {path = "../burn-dataset", version = "0.8.0", features = [ ]} burn-ndarray = {path = "../burn-ndarray", version = "0.8.0", default-features = false} -burn-tch = {path = "../burn-tch", version = "0.8.0" } +burn-tch = {path = "../burn-tch", version = "0.8.0"} diff --git a/burn-dataset/Cargo.toml b/burn-dataset/Cargo.toml index 920c08435..fdfe2a226 100644 --- a/burn-dataset/Cargo.toml +++ b/burn-dataset/Cargo.toml @@ -1,13 +1,10 @@ [package] authors = ["nathanielsimard "] categories = ["science"] -description = """ -This library provides an easy to use dataset API with many manipulations -to easily create your ML data pipeline. -""" +description = "Library with simple dataset APIs for creating ML data pipelines" edition = "2021" keywords = ["deep-learning", "machine-learning", "data"] -license = "MIT" +license = "MIT OR Apache-2.0" name = "burn-dataset" readme = "README.md" repository = "https://github.com/burn-rs/burn/tree/main/burn-dataset" diff --git a/burn-derive/Cargo.toml b/burn-derive/Cargo.toml index a10ddbe74..a54e2a0e1 100644 --- a/burn-derive/Cargo.toml +++ b/burn-derive/Cargo.toml @@ -1,12 +1,10 @@ [package] authors = ["nathanielsimard "] categories = ["science"] -description = """ -Burn derive crate. -""" +description = "Derive crate for the Burn framework" edition = "2021" keywords = [] -license = "MIT/Apache-2.0" +license = "MIT OR Apache-2.0" name = "burn-derive" readme = "README.md" repository = "https://github.com/burn-rs/burn/tree/main/burn-derive" @@ -16,7 +14,7 @@ version = "0.8.0" proc-macro = true [dependencies] -proc-macro2 = {workspace = true} +proc-macro2 = {workspace = true} quote = {workspace = true} # syn = {workspace = true} syn = "1.0.109" # TODO upgrade to 2.0 diff --git a/burn-import/Cargo.toml b/burn-import/Cargo.toml index 0916bfb4d..08451fe3e 100644 --- a/burn-import/Cargo.toml +++ b/burn-import/Cargo.toml @@ -1,14 +1,12 @@ [package] authors = [ "Dilshod Tadjibaev (@antimora)", - "Nathaniel Simard (@nathanielsimard)" + "Nathaniel Simard (@nathanielsimard)", ] +description = "Library for importing datamodels into the Burn framework" edition = "2021" -license = "MIT/Apache-2.0" +license = "MIT OR Apache-2.0" name = "burn-import" -description = """ -Burn import crate. -""" readme = "README.md" repository = "https://github.com/burn-rs/burn/tree/main/burn-import" @@ -19,15 +17,15 @@ default = ["onnx"] onnx = [] [dependencies] -burn = {path = "../burn", version = "0.8.0" } -burn-ndarray = {path = "../burn-ndarray", version = "0.8.0" } -burn-common = {path = "../burn-common", version = "0.8.0" } +burn = {path = "../burn", version = "0.8.0"} +burn-common = {path = "../burn-common", version = "0.8.0"} +burn-ndarray = {path = "../burn-ndarray", version = "0.8.0"} -log = {workspace = true} -log4rs = { workspace = true } bytemuck = {workspace = true} derive-new = {workspace = true} half = {workspace = true} +log = {workspace = true} +log4rs = {workspace = true} proc-macro2 = {workspace = true} protobuf = {version = "3.2", features = ["with-bytes"]} quote = {workspace = true} diff --git a/burn-ndarray/Cargo.toml b/burn-ndarray/Cargo.toml index 6196f1e89..be9ae6168 100644 --- a/burn-ndarray/Cargo.toml +++ b/burn-ndarray/Cargo.toml @@ -1,10 +1,10 @@ [package] authors = ["nathanielsimard "] categories = ["science", "no-std", "embedded", "wasm"] -description = "NdArray backend for burn" +description = "Ndarray backend for the Burn framework" edition = "2021" keywords = ["deep-learning", "machine-learning", "data"] -license = "MIT/Apache-2.0" +license = "MIT OR Apache-2.0" name = "burn-ndarray" readme = "README.md" repository = "https://github.com/burn-rs/burn/tree/main/burn-ndarray" @@ -29,9 +29,9 @@ blas-accelerate = ["ndarray/blas", "blas-src/accelerate"] # Accelerate framework blas-netlib = ["ndarray/blas", "blas-src/netlib"] blas-openblas = ["ndarray/blas", "blas-src/openblas", "openblas-src"] blas-openblas-system = [ - "ndarray/blas", - "blas-src/openblas", - "openblas-src/system", + "ndarray/blas", + "blas-src/openblas", + "openblas-src/system", ] [dependencies] @@ -42,7 +42,6 @@ burn-autodiff = {path = "../burn-autodiff", version = "0.8.0", features = ["expo burn-common = {path = "../burn-common", version = "0.8.0", default-features = false} burn-tensor = {path = "../burn-tensor", version = "0.8.0", default-features = false, features = ["export_tests"]} - matrixmultiply = {version = "0.3.7", default-features = false} rayon = {workspace = true, optional = true} diff --git a/burn-no-std-tests/Cargo.toml b/burn-no-std-tests/Cargo.toml index ca3e9dcaa..2af976c19 100644 --- a/burn-no-std-tests/Cargo.toml +++ b/burn-no-std-tests/Cargo.toml @@ -4,11 +4,10 @@ authors = [ "Dilshod Tadjibaev (@antimora)", ] edition = "2021" -license = "MIT/Apache-2.0" +license = "MIT OR Apache-2.0" name = "burn-no-std-tests" readme = "README.md" repository = "https://github.com/burn-rs/burn/tree/main/burn-no-std-tests" - version = "0.8.0" [dependencies] diff --git a/burn-tch/Cargo.toml b/burn-tch/Cargo.toml index caed8394e..76094bb4e 100644 --- a/burn-tch/Cargo.toml +++ b/burn-tch/Cargo.toml @@ -1,10 +1,10 @@ [package] authors = ["nathanielsimard "] categories = ["science"] -description = "Tch backend for burn" +description = "Tch backend for the Burn framework" edition = "2021" keywords = ["deep-learning", "machine-learning", "data"] -license = "MIT/Apache-2.0" +license = "MIT OR Apache-2.0" name = "burn-tch" readme = "README.md" repository = "https://github.com/burn-rs/burn/tree/main/burn-tch" diff --git a/burn-tensor-testgen/Cargo.toml b/burn-tensor-testgen/Cargo.toml index cc024765e..8b1334170 100644 --- a/burn-tensor-testgen/Cargo.toml +++ b/burn-tensor-testgen/Cargo.toml @@ -1,17 +1,17 @@ [package] -name = "burn-tensor-testgen" -version = "0.8.0" authors = ["nathanielsimard "] -description = "Burn tensor test gen crate." -repository = "https://github.com/burn-rs/burn/tree/main/burn-tensor-testgen" -readme = "README.md" -license = "MIT/Apache-2.0" +description = "Test generation crate for burn-tensor" edition = "2021" +license = "MIT OR Apache-2.0" +name = "burn-tensor-testgen" +readme = "README.md" +repository = "https://github.com/burn-rs/burn/tree/main/burn-tensor-testgen" +version = "0.8.0" [lib] proc-macro = true [dependencies] -syn = {workspace = true} -quote = {workspace = true} proc-macro2 = {workspace = true} +quote = {workspace = true} +syn = {workspace = true} diff --git a/burn-tensor/Cargo.toml b/burn-tensor/Cargo.toml index dacac6198..314ca079d 100644 --- a/burn-tensor/Cargo.toml +++ b/burn-tensor/Cargo.toml @@ -1,13 +1,10 @@ [package] authors = ["nathanielsimard "] categories = ["science", "no-std", "embedded", "wasm"] -description = """ -This library provides multiple tensor implementations hidden behind -an easy to use API that supports reverse mode automatic differentiation. -""" +description = "Tensor library with user-friendly APIs and automatic differentiation support" edition = "2021" keywords = ["deep-learning", "machine-learning", "tensor", "pytorch", "ndarray"] -license = "MIT/Apache-2.0" +license = "MIT OR Apache-2.0" name = "burn-tensor" readme = "README.md" repository = "https://github.com/burn-rs/burn/tree/main/burn-tensor" diff --git a/burn-train/Cargo.toml b/burn-train/Cargo.toml index 8e1d594df..8366cd18d 100644 --- a/burn-train/Cargo.toml +++ b/burn-train/Cargo.toml @@ -1,33 +1,32 @@ [package] -name = "burn-train" -version = "0.8.0" authors = ["nathanielsimard "] -description = "Training crate for burn" -repository = "https://github.com/burn-rs/burn/tree/main/burn-train" - -readme = "README.md" -keywords = ["deep-learning", "machine-learning", "tensor", "pytorch", "ndarray"] categories = ["science"] -license = "MIT/Apache-2.0" +description = "Training crate for the Burn framework" edition = "2021" +keywords = ["deep-learning", "machine-learning", "tensor", "pytorch", "ndarray"] +license = "MIT OR Apache-2.0" +name = "burn-train" +readme = "README.md" +repository = "https://github.com/burn-rs/burn/tree/main/burn-train" +version = "0.8.0" [dependencies] -burn-core = { path = "../burn-core", version = "0.8.0" } +burn-core = {path = "../burn-core", version = "0.8.0"} # Console indicatif = "0.17.5" -log4rs = { workspace = true } -log = { workspace = true } +log = {workspace = true} +log4rs = {workspace = true} # Metrics nvml-wrapper = "0.9.0" -textplots = "0.8.0" rgb = "0.8.36" terminal_size = "0.2.6" +textplots = "0.8.0" # Utilities -derive-new = { workspace = true } -serde = { workspace = true, features = ["std", "derive"] } +derive-new = {workspace = true} +serde = {workspace = true, features = ["std", "derive"]} [dev-dependencies] -burn-ndarray = { path ="../burn-ndarray", version = "0.8.0" } +burn-ndarray = {path = "../burn-ndarray", version = "0.8.0"} diff --git a/burn-wgpu/Cargo.toml b/burn-wgpu/Cargo.toml index 80a01fb3f..18f4b2136 100644 --- a/burn-wgpu/Cargo.toml +++ b/burn-wgpu/Cargo.toml @@ -1,33 +1,33 @@ [package] authors = ["nathanielsimard "] categories = ["science"] -description = "WGPU backend for burn" +description = "WGPU backend for the Burn framework" edition = "2021" -keywords = ["deep-learning", "machine-learning", "data"] -license = "MIT/Apache-2.0" +keywords = ["deep-learning", "machine-learning", "gpu", "wgpu", "webgpu"] +license = "MIT OR Apache-2.0" name = "burn-wgpu" readme = "README.md" repository = "https://github.com/burn-rs/burn/tree/main/burn-wgpu" version = "0.8.0" [features] -default = ["async"] async = [] +default = ["async"] [dependencies] -burn-tensor = {path = "../burn-tensor", version = "0.8.0"} burn-common = {path = "../burn-common", version = "0.8.0"} -derive-new = {workspace = true} +burn-tensor = {path = "../burn-tensor", version = "0.8.0"} bytemuck = {workspace = true} -rand = {workspace = true} -num-traits = {workspace = true} -spin = {workspace = true} +derive-new = {workspace = true} log = {workspace = true} +num-traits = {workspace = true} +rand = {workspace = true} +spin = {workspace = true} # WGPU stuff -wgpu = {workspace = true} futures-intrusive = {workspace = true} pollster = {workspace = true} +wgpu = {workspace = true} [dev-dependencies] burn-autodiff = {path = "../burn-autodiff", version = "0.8.0", default-features = false, features = [ diff --git a/burn/Cargo.toml b/burn/Cargo.toml index 7ce3c949c..e3105b9ef 100644 --- a/burn/Cargo.toml +++ b/burn/Cargo.toml @@ -1,22 +1,21 @@ [package] authors = ["nathanielsimard "] categories = ["science", "no-std", "embedded", "wasm"] -description = "BURN: Burn Unstoppable Rusty Neurons" +description = "Flexible and Comprehensive Deep Learning Framework in Rust" edition = "2021" keywords = ["deep-learning", "machine-learning", "tensor", "pytorch", "ndarray"] -license = "MIT/Apache-2.0" +license = "MIT OR Apache-2.0" name = "burn" readme = "README.md" repository = "https://github.com/burn-rs/burn" - version = "0.8.0" [features] default = ["std", "train"] +experimental-named-tensor = ["burn-core/experimental-named-tensor"] std = [ "burn-core/std", ] -experimental-named-tensor = ["burn-core/experimental-named-tensor"] train = ["std", "burn-train"] # Training requires std [dependencies] diff --git a/examples/mnist-inference-web/Cargo.toml b/examples/mnist-inference-web/Cargo.toml index a1837de5c..e8bd176f0 100644 --- a/examples/mnist-inference-web/Cargo.toml +++ b/examples/mnist-inference-web/Cargo.toml @@ -1,7 +1,7 @@ [package] authors = ["Dilshod Tadjibaev (@antimora)"] edition = "2021" -license = "MIT/Apache-2.0" +license = "MIT OR Apache-2.0" name = "mnist-inference-web" publish = false version = "0.8.0" @@ -20,4 +20,3 @@ wasm-bindgen = "0.2.87" [dev-dependencies] burn-dataset = {path = "../../burn-dataset"} - diff --git a/examples/mnist/Cargo.toml b/examples/mnist/Cargo.toml index cc2629b0f..cc2c1bd35 100644 --- a/examples/mnist/Cargo.toml +++ b/examples/mnist/Cargo.toml @@ -1,26 +1,26 @@ [package] -name = "mnist" -version = "0.8.0" authors = ["nathanielsimard "] -license = "MIT/Apache-2.0" edition = "2021" +license = "MIT OR Apache-2.0" +name = "mnist" publish = false +version = "0.8.0" [features] default = [] -tch-cpu = ["dep:burn-tch"] -tch-gpu = ["dep:burn-tch"] ndarray = ["burn-ndarray"] ndarray-blas-accelerate = ["burn-ndarray/blas-accelerate"] ndarray-blas-netlib = ["burn-ndarray/blas-netlib"] ndarray-blas-openblas = ["burn-ndarray/blas-openblas"] +tch-cpu = ["dep:burn-tch"] +tch-gpu = ["dep:burn-tch"] [dependencies] -burn = { path = "../../burn" } -burn-autodiff = { path = "../../burn-autodiff" } -burn-tch = { path = "../../burn-tch", optional = true } -burn-ndarray = { path = "../../burn-ndarray", optional = true } +burn = {path = "../../burn"} +burn-autodiff = {path = "../../burn-autodiff"} +burn-ndarray = {path = "../../burn-ndarray", optional = true} +burn-tch = {path = "../../burn-tch", optional = true} # Serialization -serde = { workspace = true, features = ["std", "derive"]} -log = { workspace = true } +log = {workspace = true} +serde = {workspace = true, features = ["std", "derive"]} diff --git a/examples/named-tensor/Cargo.toml b/examples/named-tensor/Cargo.toml index 1d27fc384..ba5f70005 100644 --- a/examples/named-tensor/Cargo.toml +++ b/examples/named-tensor/Cargo.toml @@ -1,15 +1,15 @@ [package] -name = "named-tensor" -version = "0.8.0" authors = ["nathanielsimard "] -license = "MIT/Apache-2.0" edition = "2021" +license = "MIT OR Apache-2.0" +name = "named-tensor" publish = false +version = "0.8.0" [dependencies] -burn = { path = "../../burn", features = ["experimental-named-tensor"] } -burn-autodiff = { path = "../../burn-autodiff" } -burn-ndarray = { path = "../../burn-ndarray" } +burn = {path = "../../burn", features = ["experimental-named-tensor"]} +burn-autodiff = {path = "../../burn-autodiff"} +burn-ndarray = {path = "../../burn-ndarray"} # Serialization -serde = { workspace = true, features = ["std", "derive"] } +serde = {workspace = true, features = ["std", "derive"]} diff --git a/examples/onnx-inference/Cargo.toml b/examples/onnx-inference/Cargo.toml index 638a9ea30..bb796076f 100644 --- a/examples/onnx-inference/Cargo.toml +++ b/examples/onnx-inference/Cargo.toml @@ -1,7 +1,7 @@ [package] authors = ["Dilshod Tadjibaev (@antimora)"] edition = "2021" -license = "MIT/Apache-2.0" +license = "MIT OR Apache-2.0" name = "onnx-inference" publish = false version = "0.8.0" diff --git a/examples/text-classification/Cargo.toml b/examples/text-classification/Cargo.toml index f12d524fb..7df5597d1 100644 --- a/examples/text-classification/Cargo.toml +++ b/examples/text-classification/Cargo.toml @@ -1,7 +1,7 @@ [package] authors = ["nathanielsimard "] edition = "2021" -license = "MIT/Apache-2.0" +license = "MIT OR Apache-2.0" name = "text-classification" publish = false version = "0.8.0" diff --git a/examples/text-generation/Cargo.toml b/examples/text-generation/Cargo.toml index f87594733..c94e8f902 100644 --- a/examples/text-generation/Cargo.toml +++ b/examples/text-generation/Cargo.toml @@ -1,10 +1,10 @@ [package] -name = "text-generation" -version = "0.8.0" authors = ["nathanielsimard "] -license = "MIT/Apache-2.0" edition = "2021" +license = "MIT OR Apache-2.0" +name = "text-generation" publish = false +version = "0.8.0" [features] default = [] @@ -12,17 +12,17 @@ f16 = [] [dependencies] # Burn -burn = { path = "../../burn" } -burn-autodiff = { path = "../../burn-autodiff" } -burn-tch = { path = "../../burn-tch" } +burn = {path = "../../burn"} +burn-autodiff = {path = "../../burn-autodiff"} +burn-tch = {path = "../../burn-tch"} # Tokenizer -tokenizers = { version = "0.13.3", default-features = false, features = [ - "onig", - "http", -] } +tokenizers = {version = "0.13.3", default-features = false, features = [ + "onig", + "http", +]} # Utils -derive-new = { workspace = true} -serde = { workspace = true, features = ["std", "derive"] } -log = { workspace = true } +derive-new = {workspace = true} +log = {workspace = true} +serde = {workspace = true, features = ["std", "derive"]}