diff --git a/Cargo.toml b/Cargo.toml index 0347ffe9..301451a0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,6 +13,15 @@ exclude = [ "candle-kernels", ] +[workspace.package] +version = "0.1.0" +edition = "2021" +description = "Minimalist ML framework." +repository = "https://github.com/huggingface/candle" +keywords = ["blas", "tensor", "machine-learning"] +categories = ["science"] +license = "MIT/Apache-2.0" + [workspace.dependencies] anyhow = { version = "1", features = ["backtrace"] } byteorder = "1.4.3" diff --git a/candle-core/Cargo.toml b/candle-core/Cargo.toml index d48a2f8a..5a59aedc 100644 --- a/candle-core/Cargo.toml +++ b/candle-core/Cargo.toml @@ -1,13 +1,12 @@ [package] name = "candle-core" -version = "0.1.0" -edition = "2021" - -description = "Minimalist ML framework." -repository = "https://github.com/LaurentMazare/candle" -keywords = ["blas", "tensor", "machine-learning"] -categories = ["science"] -license = "MIT/Apache-2.0" +version.workspace = true +edition.workspace = true +description.workspace = true +repository.workspace = true +keywords.workspace = true +categories.workspace = true +license.workspace = true readme = "README.md" [dependencies] diff --git a/candle-examples/Cargo.toml b/candle-examples/Cargo.toml index b0529448..0db960ca 100644 --- a/candle-examples/Cargo.toml +++ b/candle-examples/Cargo.toml @@ -1,13 +1,12 @@ [package] name = "candle-examples" -version = "0.1.0" -edition = "2021" - -description = "Examples for the candle ML framework." -repository = "https://github.com/LaurentMazare/candle" -keywords = ["blas", "tensor", "machine-learning"] -categories = ["science"] -license = "MIT/Apache-2.0" +version.workspace = true +edition.workspace = true +description.workspace = true +repository.workspace = true +keywords.workspace = true +categories.workspace = true +license.workspace = true readme = "README.md" [dependencies] diff --git a/candle-flash-attn/Cargo.toml b/candle-flash-attn/Cargo.toml index cf76b159..ee6ce90a 100644 --- a/candle-flash-attn/Cargo.toml +++ b/candle-flash-attn/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" edition = "2021" description = "Flash attention layer for the candle ML framework." -repository = "https://github.com/LaurentMazare/candle" +repository = "https://github.com/huggingface/candle" keywords = ["blas", "tensor", "machine-learning"] categories = ["science"] license = "MIT/Apache-2.0" diff --git a/candle-kernels/Cargo.toml b/candle-kernels/Cargo.toml index c7980cf1..079c60fd 100644 --- a/candle-kernels/Cargo.toml +++ b/candle-kernels/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" edition = "2021" description = "CUDA kernels for Candle" -repository = "https://github.com/LaurentMazare/candle" +repository = "https://github.com/huggingface/candle" keywords = ["blas", "tensor", "machine-learning"] categories = ["science"] license = "MIT/Apache-2.0" diff --git a/candle-nn/Cargo.toml b/candle-nn/Cargo.toml index 3ab1da57..bb44acd3 100644 --- a/candle-nn/Cargo.toml +++ b/candle-nn/Cargo.toml @@ -1,13 +1,12 @@ [package] name = "candle-nn" -version = "0.1.0" -edition = "2021" - -description = "Minimalist ML framework." -repository = "https://github.com/LaurentMazare/candle" -keywords = ["blas", "tensor", "machine-learning"] -categories = ["science"] -license = "MIT/Apache-2.0" +version.workspace = true +edition.workspace = true +description.workspace = true +repository.workspace = true +keywords.workspace = true +categories.workspace = true +license.workspace = true readme = "README.md" [dependencies] diff --git a/candle-pyo3/Cargo.toml b/candle-pyo3/Cargo.toml index 8a73b1a5..e5ebe953 100644 --- a/candle-pyo3/Cargo.toml +++ b/candle-pyo3/Cargo.toml @@ -1,13 +1,12 @@ [package] name = "candle-pyo3" -version = "0.1.0" -edition = "2021" - -description = "PyO3 bindings for the candle ML framework." -repository = "https://github.com/LaurentMazare/candle" -keywords = ["blas", "tensor", "machine-learning"] -categories = ["science"] -license = "MIT/Apache-2.0" +version.workspace = true +edition.workspace = true +description.workspace = true +repository.workspace = true +keywords.workspace = true +categories.workspace = true +license.workspace = true readme = "README.md" [lib] diff --git a/candle-transformers/Cargo.toml b/candle-transformers/Cargo.toml index e6a09f45..a37cc12a 100644 --- a/candle-transformers/Cargo.toml +++ b/candle-transformers/Cargo.toml @@ -1,13 +1,12 @@ [package] name = "candle-transformers" -version = "0.1.0" -edition = "2021" - -description = "Pretrained models and inference API for the candle ML framework." -repository = "https://github.com/LaurentMazare/candle" -keywords = ["blas", "tensor", "machine-learning"] -categories = ["science"] -license = "MIT/Apache-2.0" +version.workspace = true +edition.workspace = true +description.workspace = true +repository.workspace = true +keywords.workspace = true +categories.workspace = true +license.workspace = true readme = "README.md" [dependencies] diff --git a/candle-wasm-examples/llama2-c/Cargo.toml b/candle-wasm-examples/llama2-c/Cargo.toml index 804ea02a..6a128e19 100644 --- a/candle-wasm-examples/llama2-c/Cargo.toml +++ b/candle-wasm-examples/llama2-c/Cargo.toml @@ -1,14 +1,12 @@ [package] name = "candle-wasm-example-llama2" -version = "0.1.0" -edition = "2021" - -description = "Wasm example for the candle ML framework." -repository = "https://github.com/LaurentMazare/candle" -keywords = ["blas", "tensor", "machine-learning"] -categories = ["science"] -license = "MIT/Apache-2.0" -readme = "README.md" +version.workspace = true +edition.workspace = true +description.workspace = true +repository.workspace = true +keywords.workspace = true +categories.workspace = true +license.workspace = true [dependencies] candle = { path = "../../candle-core", version = "0.1.0", package = "candle-core" } diff --git a/candle-wasm-examples/llama2-c/src/app.rs b/candle-wasm-examples/llama2-c/src/app.rs index f433d0da..d4ac6d07 100644 --- a/candle-wasm-examples/llama2-c/src/app.rs +++ b/candle-wasm-examples/llama2-c/src/app.rs @@ -186,7 +186,7 @@ impl Component for App {
{"Running "} {"llama2.c"} {" in the browser using rust/wasm with "} - {"candle!"} + {"candle!"}
{"Once the weights have loaded, click on the run button to start generating content."}
diff --git a/candle-wasm-examples/whisper/Cargo.toml b/candle-wasm-examples/whisper/Cargo.toml index 228514f9..86aba582 100644 --- a/candle-wasm-examples/whisper/Cargo.toml +++ b/candle-wasm-examples/whisper/Cargo.toml @@ -1,14 +1,12 @@ [package] name = "candle-wasm-example-whisper" -version = "0.1.0" -edition = "2021" - -description = "Wasm example for the candle ML framework." -repository = "https://github.com/LaurentMazare/candle" -keywords = ["blas", "tensor", "machine-learning"] -categories = ["science"] -license = "MIT/Apache-2.0" -readme = "README.md" +version.workspace = true +edition.workspace = true +description.workspace = true +repository.workspace = true +keywords.workspace = true +categories.workspace = true +license.workspace = true [dependencies] candle = { path = "../../candle-core", version = "0.1.0", package = "candle-core" }