Bump the crate version + update the changelog. (#822)

This commit is contained in:
Laurent Mazare
2023-09-12 06:39:24 +01:00
committed by GitHub
parent 871efc0307
commit 2257f4d475
15 changed files with 63 additions and 34 deletions

View File

@ -1,13 +1,42 @@
# Changelog
This documents the main changes to the `candle` crate.
## v0.2.1 - Unreleased
## v0.2.2 - Unreleased
### Added
### Modified
## v0.2.1 - 2023-09-11
### Added
- Add some RNNs (GRU and LSTM) in `candle-nn`
[674](https://github.com/huggingface/candle/pull/674),
[688](https://github.com/huggingface/candle/pull/688).
- gguf v2 support
[725](https://github.com/huggingface/candle/pull/725).
- Quantized llama example in Python using the pyo3 api
[716](https://github.com/huggingface/candle/pull/716).
- `candle-nn` layer for conv2d-transposed
[760](https://github.com/huggingface/candle/pull/760).
- Add the Segment-Anything Model (SAM) as an example
[773](https://github.com/huggingface/candle/pull/773).
- TinyViT backbone for the segemnt anything example
[787](https://github.com/huggingface/candle/pull/787).
- Shape with holes support
[770](https://github.com/huggingface/candle/pull/770).
### Modified
- Dilations are now supported in conv-transpose2d.
[671](https://github.com/huggingface/candle/pull/671).
- Interactive mode for the quantized model
[690](https://github.com/huggingface/candle/pull/690).
- Faster softmax operation
[747](https://github.com/huggingface/candle/pull/747).
- Faster convolution operations on CPU and CUDA via im2col
[802](https://github.com/huggingface/candle/pull/802).
- Moving some models to a more central location
[796](https://github.com/huggingface/candle/pull/796).
## v0.2.0 - 2023-08-30

View File

@ -19,7 +19,7 @@ exclude = [
resolver = "2"
[workspace.package]
version = "0.2.1"
version = "0.2.2"
edition = "2021"
description = "Minimalist ML framework."
repository = "https://github.com/huggingface/candle"

View File

@ -11,11 +11,11 @@ readme = "README.md"
[dependencies]
accelerate-src = { workspace = true, optional = true }
candle = { path = "../candle-core", version = "0.2.1", package = "candle-core" }
candle-datasets = { path = "../candle-datasets", version = "0.2.1" }
candle-nn = { path = "../candle-nn", version = "0.2.1" }
candle-transformers = { path = "../candle-transformers", version = "0.2.1" }
candle-flash-attn = { path = "../candle-flash-attn", version = "0.2.1", optional = true }
candle = { path = "../candle-core", version = "0.2.2", package = "candle-core" }
candle-datasets = { path = "../candle-datasets", version = "0.2.2" }
candle-nn = { path = "../candle-nn", version = "0.2.2" }
candle-transformers = { path = "../candle-transformers", version = "0.2.2" }
candle-flash-attn = { path = "../candle-flash-attn", version = "0.2.2", optional = true }
safetensors = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }

View File

@ -12,7 +12,7 @@ readme = "README.md"
[dependencies]
accelerate-src = { workspace = true, optional = true }
byteorder = { workspace = true }
candle-kernels = { path = "../candle-kernels", version = "0.2.1", optional = true }
candle-kernels = { path = "../candle-kernels", version = "0.2.2", optional = true }
cudarc = { workspace = true, optional = true }
gemm = { workspace = true }
half = { workspace = true }

View File

@ -11,8 +11,8 @@ readme = "README.md"
[dependencies]
byteorder = { workspace = true }
candle = { path = "../candle-core", version = "0.2.1", package = "candle-core" }
candle-nn = { path = "../candle-nn", version = "0.2.1" }
candle = { path = "../candle-core", version = "0.2.2", package = "candle-core" }
candle-nn = { path = "../candle-nn", version = "0.2.2" }
hf-hub = { workspace = true}
intel-mkl-src = { workspace = true, optional = true }
memmap2 = { workspace = true }

View File

@ -11,11 +11,11 @@ readme = "README.md"
[dependencies]
accelerate-src = { workspace = true, optional = true }
candle = { path = "../candle-core", version = "0.2.1", package = "candle-core" }
candle-datasets = { path = "../candle-datasets", version = "0.2.1" }
candle-flash-attn = { path = "../candle-flash-attn", version = "0.2.1", optional = true }
candle-nn = { path = "../candle-nn", version = "0.2.1" }
candle-transformers = { path = "../candle-transformers", version = "0.2.1" }
candle = { path = "../candle-core", version = "0.2.2", package = "candle-core" }
candle-datasets = { path = "../candle-datasets", version = "0.2.2" }
candle-flash-attn = { path = "../candle-flash-attn", version = "0.2.2", optional = true }
candle-nn = { path = "../candle-nn", version = "0.2.2" }
candle-transformers = { path = "../candle-transformers", version = "0.2.2" }
cudarc = { workspace = true, optional = true }
half = { workspace = true, optional = true }
image = { workspace = true }

View File

@ -1,6 +1,6 @@
[package]
name = "candle-flash-attn"
version = "0.2.1"
version = "0.2.2"
edition = "2021"
description = "Flash attention layer for the candle ML framework."
@ -11,7 +11,7 @@ license = "MIT OR Apache-2.0"
readme = "README.md"
[dependencies]
candle = { path = "../candle-core", features = ["cuda"], version = "0.2.1", package = "candle-core" }
candle = { path = "../candle-core", features = ["cuda"], version = "0.2.2", package = "candle-core" }
half = { version = "2.3.1", features = ["num-traits"] }
[build-dependencies]
@ -21,4 +21,4 @@ rayon = "1.7.0"
[dev-dependencies]
anyhow = { version = "1", features = ["backtrace"] }
candle-nn = { path = "../candle-nn", version = "0.2.1", features = ["cuda"] }
candle-nn = { path = "../candle-nn", version = "0.2.2", features = ["cuda"] }

View File

@ -1,6 +1,6 @@
[package]
name = "candle-kernels"
version = "0.2.1"
version = "0.2.2"
edition = "2021"
description = "CUDA kernels for Candle"

View File

@ -11,7 +11,7 @@ readme = "README.md"
[dependencies]
accelerate-src = { workspace = true, optional = true }
candle = { path = "../candle-core", version = "0.2.1", package = "candle-core" }
candle = { path = "../candle-core", version = "0.2.2", package = "candle-core" }
half = { workspace = true }
thiserror = { workspace = true }
intel-mkl-src = { workspace = true, optional = true }

View File

@ -15,8 +15,8 @@ crate-type = ["cdylib"]
doc = false
[dependencies]
candle = { path = "../candle-core", version = "0.2.1", package = "candle-core" }
candle-nn = { path = "../candle-nn", version = "0.2.1" }
candle = { path = "../candle-core", version = "0.2.2", package = "candle-core" }
candle-nn = { path = "../candle-nn", version = "0.2.2" }
half = { workspace = true }
pyo3 = { version = "0.19.0", features = ["extension-module"] }

View File

@ -11,8 +11,8 @@ readme = "README.md"
[dependencies]
accelerate-src = { workspace = true, optional = true }
candle = { path = "../candle-core", version = "0.2.1", package = "candle-core" }
candle-nn = { path = "../candle-nn", version = "0.2.1" }
candle = { path = "../candle-core", version = "0.2.2", package = "candle-core" }
candle-nn = { path = "../candle-nn", version = "0.2.2" }
intel-mkl-src = { workspace = true, optional = true }
num-traits = { workspace = true }
rand = { workspace = true }

View File

@ -9,9 +9,9 @@ categories.workspace = true
license.workspace = true
[dependencies]
candle = { path = "../../candle-core", version = "0.2.1", package = "candle-core" }
candle-nn = { path = "../../candle-nn", version = "0.2.1" }
candle-transformers = { path = "../../candle-transformers", version = "0.2.1" }
candle = { path = "../../candle-core", version = "0.2.2", package = "candle-core" }
candle-nn = { path = "../../candle-nn", version = "0.2.2" }
candle-transformers = { path = "../../candle-transformers", version = "0.2.2" }
num-traits = { workspace = true }
tokenizers = { workspace = true, features = ["unstable_wasm"] }

View File

@ -9,9 +9,9 @@ categories.workspace = true
license.workspace = true
[dependencies]
candle = { path = "../../candle-core", version = "0.2.1", package = "candle-core" }
candle-nn = { path = "../../candle-nn", version = "0.2.1" }
candle-transformers = { path = "../../candle-transformers", version = "0.2.1" }
candle = { path = "../../candle-core", version = "0.2.2", package = "candle-core" }
candle-nn = { path = "../../candle-nn", version = "0.2.2" }
candle-transformers = { path = "../../candle-transformers", version = "0.2.2" }
num-traits = { workspace = true }
# App crates.

View File

@ -9,8 +9,8 @@ categories.workspace = true
license.workspace = true
[dependencies]
candle = { path = "../../candle-core", version = "0.2.1", package = "candle-core" }
candle-nn = { path = "../../candle-nn", version = "0.2.1" }
candle = { path = "../../candle-core", version = "0.2.2", package = "candle-core" }
candle-nn = { path = "../../candle-nn", version = "0.2.2" }
num-traits = { workspace = true }
tokenizers = { workspace = true, features = ["unstable_wasm"] }

View File

@ -9,8 +9,8 @@ categories.workspace = true
license.workspace = true
[dependencies]
candle = { path = "../../candle-core", version = "0.2.1", package = "candle-core" }
candle-nn = { path = "../../candle-nn", version = "0.2.1" }
candle = { path = "../../candle-core", version = "0.2.2", package = "candle-core" }
candle-nn = { path = "../../candle-nn", version = "0.2.2" }
num-traits = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }