fix: add version to path dependencies

This commit is contained in:
nathaniel 2023-03-21 10:11:24 -04:00
parent ef92d8dd1a
commit 00625d1527
8 changed files with 23 additions and 23 deletions

View File

@ -15,9 +15,9 @@ default = ["export_tests"]
export_tests = ["burn-tensor-testgen"] export_tests = ["burn-tensor-testgen"]
[dependencies] [dependencies]
burn-common = {path = "../burn-common"} burn-common = {path = "../burn-common", version = "0.6.0"}
burn-tensor = {path = "../burn-tensor"} burn-tensor = {path = "../burn-tensor", version = "0.6.0"}
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, features = ["std"]}# Default enables std derive-new = {workspace = true, features = ["std"]}# Default enables std
spin = {workspace = true} spin = {workspace = true}

View File

@ -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 ** # ** Please make sure all dependencies support no_std when std is disabled **
burn-autodiff = {path = "../burn-autodiff", optional = true, features = ["export_tests"]} burn-autodiff = {path = "../burn-autodiff", version = "0.6.0", optional = true, features = ["export_tests"]}
burn-common = {path = "../burn-common", default-features = false} burn-common = {path = "../burn-common", version = "0.6.0", default-features = false}
burn-dataset = {path = "../burn-dataset", default-features = false, optional = true} burn-dataset = {path = "../burn-dataset", version = "0.6.0", default-features = false, optional = true}
burn-derive = {path = "../burn-derive"} burn-derive = {path = "../burn-derive", version = "0.6.0"}
burn-tensor = {path = "../burn-tensor", default-features = false} burn-tensor = {path = "../burn-tensor", version = "0.6.0", default-features = false}
derive-new = {workspace = true}# Default enables std derive-new = {workspace = true}# Default enables std
libm = {workspace = true} libm = {workspace = true}
@ -55,9 +55,9 @@ serde = {workspace = true, features = ["derive"]}
serde_json = {workspace = true, features = ["alloc"]}#Default enables std serde_json = {workspace = true, features = ["alloc"]}#Default enables std
[dev-dependencies] [dev-dependencies]
burn-dataset = {path = "../burn-dataset", features = [ burn-dataset = {path = "../burn-dataset", version = "0.6.0", features = [
"fake", "fake",
]} ]}
burn-ndarray = {path = "../burn-ndarray", default-features = false} burn-ndarray = {path = "../burn-ndarray", version = "0.6.0", default-features = false}
burn-tch = {path = "../burn-tch"} burn-tch = {path = "../burn-tch", version = "0.6.0"}

View File

@ -38,9 +38,9 @@ blas-openblas-system = [
# ** Please make sure all dependencies support no_std when std is disabled ** # ** Please make sure all dependencies support no_std when std is disabled **
burn-autodiff = {path = "../burn-autodiff", features = ["export_tests"], optional = true} burn-autodiff = {path = "../burn-autodiff", version = "0.6.0", features = ["export_tests"], optional = true}
burn-common = {path = "../burn-common", default-features = false} burn-common = {path = "../burn-common", version = "0.6.0", default-features = false}
burn-tensor = {path = "../burn-tensor", default-features = false, features = ["export_tests"]} burn-tensor = {path = "../burn-tensor", version = "0.6.0", default-features = false, features = ["export_tests"]}
matrixmultiply = {version = "0.3.2", default-features = false} matrixmultiply = {version = "0.3.2", default-features = false}

View File

@ -15,7 +15,7 @@ version = "0.6.0"
# ** Please make sure all dependencies support no_std ** # ** Please make sure all dependencies support no_std **
burn = {path = "../burn", default-features = false} burn = {path = "../burn", version = "0.6.0", default-features = false}
burn-ndarray = {path = "../burn-ndarray", default-features = false} burn-ndarray = {path = "../burn-ndarray", version = "0.6.0", default-features = false}
serde = {workspace = true} serde = {workspace = true}

View File

@ -14,7 +14,7 @@ version = "0.6.0"
doc = ["tch/doc-only"] doc = ["tch/doc-only"]
[dependencies] [dependencies]
burn-tensor = {path = "../burn-tensor"} burn-tensor = {path = "../burn-tensor", version = "0.6.0"}
libc = "0.2.0" libc = "0.2.0"
half = {workspace = true} half = {workspace = true}
@ -29,9 +29,9 @@ tch = {version = "0.11.0"}
tch = {version = "0.11.0", default-features = false} # Disables torch downloading tch = {version = "0.11.0", default-features = false} # Disables torch downloading
[dev-dependencies] [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", "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", "export_tests",
]} ]}

View File

@ -22,7 +22,7 @@ std = [
] ]
[dependencies] [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} derive-new = {workspace = true}
half = {workspace = true} half = {workspace = true}

View File

@ -12,7 +12,7 @@ license = "MIT/Apache-2.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
burn-core = { path = "../burn-core" } burn-core = { path = "../burn-core", version = "0.6.0" }
# Console # Console
indicatif = "0.17.2" indicatif = "0.17.2"

View File

@ -23,5 +23,5 @@ train = ["std", "burn-train"] # Training requires std
# ** Please make sure all dependencies support no_std when std is disabled ** # ** Please make sure all dependencies support no_std when std is disabled **
burn-core = {path = "../burn-core", default-features = false} burn-core = {path = "../burn-core", version = "0.6.0", default-features = false}
burn-train = {path = "../burn-train", optional = true} burn-train = {path = "../burn-train", version = "0.6.0", optional = true}