Clean up cargo descriptions and formatting (#403)

This commit is contained in:
Dilshod Tadjibaev 2023-06-15 08:20:53 -05:00 committed by GitHub
parent 71d7ebbb21
commit 834c7ecc1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
20 changed files with 108 additions and 125 deletions

View File

@ -1,10 +1,10 @@
[package]
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
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}

View File

@ -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"

View File

@ -1,14 +1,13 @@
[package]
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
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"}

View File

@ -1,13 +1,10 @@
[package]
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
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"

View File

@ -1,12 +1,10 @@
[package]
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
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

View File

@ -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}

View File

@ -1,10 +1,10 @@
[package]
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
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}

View File

@ -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]

View File

@ -1,10 +1,10 @@
[package]
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
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"

View File

@ -1,17 +1,17 @@
[package]
name = "burn-tensor-testgen"
version = "0.8.0"
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
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}

View File

@ -1,13 +1,10 @@
[package]
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
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"

View File

@ -1,33 +1,32 @@
[package]
name = "burn-train"
version = "0.8.0"
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
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"}

View File

@ -1,33 +1,33 @@
[package]
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
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 = [

View File

@ -1,22 +1,21 @@
[package]
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
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]

View File

@ -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"}

View File

@ -1,26 +1,26 @@
[package]
name = "mnist"
version = "0.8.0"
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
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"]}

View File

@ -1,15 +1,15 @@
[package]
name = "named-tensor"
version = "0.8.0"
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
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"]}

View File

@ -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"

View File

@ -1,7 +1,7 @@
[package]
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
edition = "2021"
license = "MIT/Apache-2.0"
license = "MIT OR Apache-2.0"
name = "text-classification"
publish = false
version = "0.8.0"

View File

@ -1,10 +1,10 @@
[package]
name = "text-generation"
version = "0.8.0"
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
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"]}