Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: put all dependencies versions in workspace #1210

Merged
merged 1 commit into from
Jan 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -90,15 +90,20 @@ wasm-bindgen = "0.2.88"
wasm-bindgen-futures = "0.4.38"
wasm-logger = "0.2.0"
wasm-timer = "0.2.5"
md5 = "0.7.0"
serial_test = "3.0.0"
web-time = "1.0.0"
hound = "3.5.1"
image = "0.24.7"

# Terminal UI
ratatui = "0.25"
crossterm = "0.27"

# WGPU stuff
futures-intrusive = "0.5"
text_placeholder = "0.5.0"
pollster = "0.3"
text_placeholder = { version = "0.5.0", features = ["struct_context"] }
wgpu = "0.19.0"

bincode = { version = "2.0.0-rc.3", features = [
Expand All @@ -117,6 +122,9 @@ half = { version = "2.3.1", features = [
"serde",
], default-features = false }
ndarray = { version = "0.15.6", default-features = false }
matrixmultiply = { version = "0.3.8", default-features = false }
openblas-src = "0.10.8"
blas-src = { version = "0.9.0", default-features = false }
num-traits = { version = "0.2.17", default-features = false, features = [
"libm",
] } # libm is for no_std
Expand All @@ -131,5 +139,13 @@ serde = { version = "1.0.192", default-features = false, features = [
serde_json = { version = "1.0.108", default-features = false }
uuid = { version = "1.5.0", default-features = false }

libc = "0.2.150"
tch = "0.15.0"
nvml-wrapper = "0.9.0"
sysinfo = "0.29.10"
systemstat = "0.2.3"



[profile.dev]
debug = 0 # Speed up compilation time and not necessary.
6 changes: 3 additions & 3 deletions burn-compute/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ hashbrown = { workspace = true }
dirs = { workspace = true , optional = true}
serde = { workspace = true, optional = true}
serde_json = { workspace = true, features=["std"], optional = true}
md5 = { version = "0.7.0", optional = true }
md5 = { workspace = true, optional = true }

[target.'cfg(target_family = "wasm")'.dependencies]
web-time = { version = "1.0.0" }
web-time = { workspace = true }

[dev-dependencies]
serial_test = "3.0.0"
serial_test = { workspace = true }
rand = { workspace = true }
4 changes: 2 additions & 2 deletions burn-dataset/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ dirs = { workspace = true }
fake = { workspace = true, optional = true }
flate2 = { workspace = true, optional = true }
gix-tempfile = { workspace = true, optional = true }
hound = { version = "3.5.1", optional = true }
image = { version = "0.24.7", features = ["png"], optional = true }
hound = { workspace = true, optional = true }
image = { workspace = true, features = ["png"], optional = true }
indicatif = { workspace = true, optional = true }
r2d2 = { workspace = true, optional = true }
r2d2_sqlite = { workspace = true, optional = true }
Expand Down
8 changes: 3 additions & 5 deletions burn-ndarray/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,13 @@ burn-tensor = { path = "../burn-tensor", version = "0.12.0", default-features =
"export_tests",
] }

matrixmultiply = { version = "0.3.8", default-features = false }
matrixmultiply = { workspace = true, default-features = false }
rayon = { workspace = true, optional = true }

blas-src = { version = "0.9.0", default-features = false, optional = true } # no-std compatible

blas-src = { workspace = true, default-features = false, optional = true } # no-std compatible
derive-new = { workspace = true }
libm = { workspace = true }
ndarray = { workspace = true }
num-traits = { workspace = true }
openblas-src = { version = "0.10.8", optional = true }
openblas-src = { workspace = true, optional = true }
rand = { workspace = true }
spin = { workspace = true } # using in place of use std::sync::Mutex;
8 changes: 4 additions & 4 deletions burn-tch/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
authors = ["nathanielsimard <[email protected]>"]
categories = ["science"]
description = "Tch backend for the Burn framework"
description = "LibTorch backend for the Burn framework using the tch bindings."
edition.workspace = true
keywords = ["deep-learning", "machine-learning", "data"]
license.workspace = true
Expand All @@ -18,9 +18,9 @@ doc = ["tch/doc-only"]
burn-tensor = { path = "../burn-tensor", version = "0.12.0" }

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

[dev-dependencies]
burn-autodiff = { path = "../burn-autodiff", version = "0.12.0", default-features = false, features = [
Expand All @@ -31,4 +31,4 @@ burn-tensor = { path = "../burn-tensor", version = "0.12.0", default-features =
] }

[package.metadata.docs.rs]
features = [ "doc" ]
features = [ "doc" ]
6 changes: 3 additions & 3 deletions burn-train/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ tracing-appender = { workspace = true }
tracing-core = { workspace = true }

# Metrics
nvml-wrapper = { version = "0.9.0", optional = true }
sysinfo = { version = "0.29.10", optional = true }
systemstat = { version = "0.2.3", optional = true }
nvml-wrapper = { workspace = true, optional = true }
sysinfo = { workspace = true, optional = true }
systemstat = { workspace = true, optional = true }

# Text UI
ratatui = { workspace = true, optional = true, features = ["all-widgets"] }
Expand Down
4 changes: 2 additions & 2 deletions burn-wgpu/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ wgpu = { workspace = true, features = ["fragile-send-sync-non-atomic-wasm"] }

# Template
serde = { workspace = true }
text_placeholder = { version = "0.5.0", features = ["struct_context"] }
text_placeholder = { workspace = true, features = ["struct_context"] }

hashbrown = { workspace = true }
burn-compute = { path = "../burn-compute", version = "0.12.0", default-features = false, features = [
Expand All @@ -53,7 +53,7 @@ burn-tensor = { path = "../burn-tensor", version = "0.12.0", default-features =
] }
burn-ndarray = { path = "../burn-ndarray", version = "0.12.0" }
burn-fusion = { path = "../burn-fusion", version = "0.12.0" }
serial_test = "3.0.0"
serial_test = { workspace = true }

[[bench]]
name = "matmul"
Expand Down
Loading