Skip to content

Commit

Permalink
fix/publish-crates-io
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanielsimard committed Nov 20, 2022
1 parent 9ecd1be commit a8e75f6
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 16 deletions.
1 change: 0 additions & 1 deletion .github/workflows/publish-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ jobs:
with:
profile: minimal
toolchain: stable
override: true

- name: publish to crates.io
run: ./ci/publish.sh ${{ inputs.crate }}
Expand Down
4 changes: 2 additions & 2 deletions burn-autodiff/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ default = ["export_tests"]
export_tests = ["burn-tensor-testgen"]

[dependencies]
burn-tensor-testgen = { path = "../burn-tensor-testgen", optional = true }
burn-tensor = { path = "../burn-tensor" }
burn-tensor-testgen = { version = "0.3.0", path = "../burn-tensor-testgen", optional = true }
burn-tensor = { version = "0.3.0", path = "../burn-tensor" }
derive-new = "0.5"
nanoid = "0.4"
6 changes: 3 additions & 3 deletions burn-ndarray/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ blas-openblas = ["ndarray/blas", "blas-src/openblas", "openblas-src"]
blas-openblas-system = ["ndarray/blas", "blas-src/openblas", "openblas-src/system"]

[dependencies]
burn-tensor = { path = "../burn-tensor" }
burn-tensor = { version = "0.3.0", path = "../burn-tensor" }
blas-src = { version = "0.8.0", default-features = false, optional = true }
openblas-src = { version = "0.10", optional = true }

Expand All @@ -29,5 +29,5 @@ rand = "0.8"
num-traits = "0.2"

[dev-dependencies]
burn-tensor = { path = "../burn-tensor", features = ["export_tests"] }
burn-autodiff = { path = "../burn-autodiff", features = ["export_tests"] }
burn-tensor = { version = "0.3.0", path = "../burn-tensor", features = ["export_tests"] }
burn-autodiff = { version = "0.3.0", path = "../burn-autodiff", features = ["export_tests"] }
6 changes: 3 additions & 3 deletions burn-tch/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ edition = "2021"
doc = ["tch/doc-only"]

[dependencies]
burn-tensor = { path = "../burn-tensor", default-features = false }
burn-tensor = { version = "0.3.0", path = "../burn-tensor", default-features = false }
rand = "0.8"
tch = { version = "0.8" }
lazy_static = "1.4"
half = { version = "1.6", features = ["num-traits"] } # needs to be 1.6 to work with tch

[dev-dependencies]
burn-tensor = { path = "../burn-tensor", default-features = false, features = ["export_tests"] }
burn-autodiff = { path = "../burn-autodiff", default-features = false, features = ["export_tests"] }
burn-tensor = { version = "0.3.0", path = "../burn-tensor", default-features = false, features = ["export_tests"] }
burn-autodiff = { version = "0.3.0", path = "../burn-autodiff", 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 @@ -19,7 +19,7 @@ default = []
export_tests = ["burn-tensor-testgen"]

[dependencies]
burn-tensor-testgen = { path = "../burn-tensor-testgen", optional = true }
burn-tensor-testgen = { version = "0.3.0", path = "../burn-tensor-testgen", optional = true }
num-traits = "0.2"
derive-new = "0.5"
rand = "0.8"
Expand Down
12 changes: 6 additions & 6 deletions burn/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ edition = "2021"
[features]

[dependencies]
burn-tensor = { path = "../burn-tensor" }
burn-autodiff = { path = "../burn-autodiff" }
burn-dataset = { path = "../burn-dataset", default-features = false }
burn-derive = { path = "../burn-derive" }
burn-tensor = { version = "0.3.0", path = "../burn-tensor" }
burn-autodiff = { version = "0.3.0", path = "../burn-autodiff" }
burn-dataset = { version = "0.3.0", path = "../burn-dataset", default-features = false }
burn-derive = { version = "0.3.0", path = "../burn-derive" }

thiserror = "1.0"
num-traits = "0.2"
Expand All @@ -43,5 +43,5 @@ flate2 = "1.0"
nanoid = "0.4"

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

0 comments on commit a8e75f6

Please sign in to comment.