Skip to content

Commit

Permalink
fix: add version to path dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanielsimard committed Mar 21, 2023
1 parent ef92d8d commit 00625d1
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 23 deletions.
6 changes: 3 additions & 3 deletions burn-autodiff/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ default = ["export_tests"]
export_tests = ["burn-tensor-testgen"]

[dependencies]
burn-common = {path = "../burn-common"}
burn-tensor = {path = "../burn-tensor"}
burn-tensor-testgen = {path = "../burn-tensor-testgen", optional = true}
burn-common = {path = "../burn-common", version = "0.6.0"}
burn-tensor = {path = "../burn-tensor", version = "0.6.0"}
burn-tensor-testgen = {path = "../burn-tensor-testgen", version = "0.6.0", optional = true}

derive-new = {workspace = true, features = ["std"]}# Default enables std
spin = {workspace = true}
16 changes: 8 additions & 8 deletions burn-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ test-tch = [] # To use tch during testing, default uses ndarray.

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

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

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

[dev-dependencies]
burn-dataset = {path = "../burn-dataset", features = [
burn-dataset = {path = "../burn-dataset", version = "0.6.0", features = [
"fake",
]}

burn-ndarray = {path = "../burn-ndarray", default-features = false}
burn-tch = {path = "../burn-tch"}
burn-ndarray = {path = "../burn-ndarray", version = "0.6.0", default-features = false}
burn-tch = {path = "../burn-tch", version = "0.6.0"}
6 changes: 3 additions & 3 deletions burn-ndarray/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ blas-openblas-system = [

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

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


matrixmultiply = {version = "0.3.2", default-features = false}
Expand Down
4 changes: 2 additions & 2 deletions burn-no-std-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ version = "0.6.0"

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

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

serde = {workspace = true}
6 changes: 3 additions & 3 deletions burn-tch/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ version = "0.6.0"
doc = ["tch/doc-only"]

[dependencies]
burn-tensor = {path = "../burn-tensor"}
burn-tensor = {path = "../burn-tensor", version = "0.6.0"}
libc = "0.2.0"

half = {workspace = true}
Expand All @@ -29,9 +29,9 @@ tch = {version = "0.11.0"}
tch = {version = "0.11.0", default-features = false} # Disables torch downloading

[dev-dependencies]
burn-autodiff = {path = "../burn-autodiff", default-features = false, features = [
burn-autodiff = {path = "../burn-autodiff", version = "0.6.0", default-features = false, features = [
"export_tests",
]}
burn-tensor = {path = "../burn-tensor", default-features = false, features = [
burn-tensor = {path = "../burn-tensor", version = "0.6.0", default-features = false, features = [
"export_tests",
]}
2 changes: 1 addition & 1 deletion burn-tensor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ std = [
]

[dependencies]
burn-tensor-testgen = {path = "../burn-tensor-testgen", optional = true}
burn-tensor-testgen = {path = "../burn-tensor-testgen", version = "0.6.0", optional = true}

derive-new = {workspace = true}
half = {workspace = true}
Expand Down
2 changes: 1 addition & 1 deletion burn-train/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ license = "MIT/Apache-2.0"
edition = "2021"

[dependencies]
burn-core = { path = "../burn-core" }
burn-core = { path = "../burn-core", version = "0.6.0" }

# Console
indicatif = "0.17.2"
Expand Down
4 changes: 2 additions & 2 deletions burn/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ train = ["std", "burn-train"] # Training requires std

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

burn-core = {path = "../burn-core", default-features = false}
burn-train = {path = "../burn-train", optional = true}
burn-core = {path = "../burn-core", version = "0.6.0", default-features = false}
burn-train = {path = "../burn-train", version = "0.6.0", optional = true}

0 comments on commit 00625d1

Please sign in to comment.