Bump the crate versions to v0.2.3. (#886)
* Bump the crate version. * Also update the python bindings.
This commit is contained in:
parent
12696b7b2d
commit
7dd8e12472
16
CHANGELOG.md
16
CHANGELOG.md
|
@ -1,13 +1,27 @@
|
|||
# Changelog
|
||||
This documents the main changes to the `candle` crate.
|
||||
|
||||
## v0.2.2 - Unreleased
|
||||
## v0.2.3 - Unreleased
|
||||
|
||||
### Added
|
||||
|
||||
### Modified
|
||||
|
||||
## v0.2.2 - 2023-09-18
|
||||
|
||||
### Added
|
||||
- Support for `top_p` sampling
|
||||
[819](https://github.com/huggingface/candle/pull/819).
|
||||
- T5 model including decoding
|
||||
[864](https://github.com/huggingface/candle/pull/864).
|
||||
- 1-d upsampling
|
||||
[839](https://github.com/huggingface/candle/pull/839).
|
||||
|
||||
### Modified
|
||||
- Bugfix for conv2d
|
||||
[820](https://github.com/huggingface/candle/pull/820).
|
||||
- Support tensor based indexing using `.i`
|
||||
[842](https://github.com/huggingface/candle/pull/842).
|
||||
|
||||
## v0.2.1 - 2023-09-11
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ exclude = [
|
|||
resolver = "2"
|
||||
|
||||
[workspace.package]
|
||||
version = "0.2.2"
|
||||
version = "0.2.3"
|
||||
edition = "2021"
|
||||
description = "Minimalist ML framework."
|
||||
repository = "https://github.com/huggingface/candle"
|
||||
|
|
|
@ -11,11 +11,11 @@ readme = "README.md"
|
|||
|
||||
[dependencies]
|
||||
accelerate-src = { workspace = true, 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 }
|
||||
candle = { path = "../candle-core", version = "0.2.3", package = "candle-core" }
|
||||
candle-datasets = { path = "../candle-datasets", version = "0.2.3" }
|
||||
candle-nn = { path = "../candle-nn", version = "0.2.3" }
|
||||
candle-transformers = { path = "../candle-transformers", version = "0.2.3" }
|
||||
candle-flash-attn = { path = "../candle-flash-attn", version = "0.2.3", optional = true }
|
||||
safetensors = { workspace = true }
|
||||
serde = { workspace = true }
|
||||
serde_json = { workspace = true }
|
||||
|
|
|
@ -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.2", optional = true }
|
||||
candle-kernels = { path = "../candle-kernels", version = "0.2.3", optional = true }
|
||||
cudarc = { workspace = true, optional = true }
|
||||
gemm = { workspace = true }
|
||||
half = { workspace = true }
|
||||
|
|
|
@ -11,8 +11,8 @@ readme = "README.md"
|
|||
|
||||
[dependencies]
|
||||
byteorder = { workspace = true }
|
||||
candle = { path = "../candle-core", version = "0.2.2", package = "candle-core" }
|
||||
candle-nn = { path = "../candle-nn", version = "0.2.2" }
|
||||
candle = { path = "../candle-core", version = "0.2.3", package = "candle-core" }
|
||||
candle-nn = { path = "../candle-nn", version = "0.2.3" }
|
||||
hf-hub = { workspace = true}
|
||||
intel-mkl-src = { workspace = true, optional = true }
|
||||
memmap2 = { workspace = true }
|
||||
|
|
|
@ -11,11 +11,11 @@ readme = "README.md"
|
|||
|
||||
[dependencies]
|
||||
accelerate-src = { workspace = true, optional = true }
|
||||
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" }
|
||||
candle = { path = "../candle-core", version = "0.2.3", package = "candle-core" }
|
||||
candle-datasets = { path = "../candle-datasets", version = "0.2.3" }
|
||||
candle-flash-attn = { path = "../candle-flash-attn", version = "0.2.3", optional = true }
|
||||
candle-nn = { path = "../candle-nn", version = "0.2.3" }
|
||||
candle-transformers = { path = "../candle-transformers", version = "0.2.3" }
|
||||
cudarc = { workspace = true, optional = true }
|
||||
half = { workspace = true, optional = true }
|
||||
image = { workspace = true }
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "candle-flash-attn"
|
||||
version = "0.2.2"
|
||||
version = "0.2.3"
|
||||
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.2", package = "candle-core" }
|
||||
candle = { path = "../candle-core", features = ["cuda"], version = "0.2.3", 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.2", features = ["cuda"] }
|
||||
candle-nn = { path = "../candle-nn", version = "0.2.3", features = ["cuda"] }
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "candle-kernels"
|
||||
version = "0.2.2"
|
||||
version = "0.2.3"
|
||||
edition = "2021"
|
||||
|
||||
description = "CUDA kernels for Candle"
|
||||
|
|
|
@ -11,7 +11,7 @@ readme = "README.md"
|
|||
|
||||
[dependencies]
|
||||
accelerate-src = { workspace = true, optional = true }
|
||||
candle = { path = "../candle-core", version = "0.2.2", package = "candle-core" }
|
||||
candle = { path = "../candle-core", version = "0.2.3", package = "candle-core" }
|
||||
half = { workspace = true }
|
||||
thiserror = { workspace = true }
|
||||
intel-mkl-src = { workspace = true, optional = true }
|
||||
|
|
|
@ -14,8 +14,8 @@ name = "candle"
|
|||
crate-type = ["cdylib"]
|
||||
|
||||
[dependencies]
|
||||
candle = { path = "../candle-core", version = "0.2.2", package = "candle-core" }
|
||||
candle-nn = { path = "../candle-nn", version = "0.2.2" }
|
||||
candle = { path = "../candle-core", version = "0.2.3", package = "candle-core" }
|
||||
candle-nn = { path = "../candle-nn", version = "0.2.3" }
|
||||
half = { workspace = true }
|
||||
pyo3 = { version = "0.19.0", features = ["extension-module"] }
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
[project]
|
||||
name = 'candle-pyo3'
|
||||
name = 'candle-nn'
|
||||
requires-python = '>=3.7'
|
||||
authors = [
|
||||
{name = 'Laurent Mazare', email = ''},
|
||||
{name = 'The Candle Team'},
|
||||
]
|
||||
|
||||
dynamic = [
|
||||
|
@ -27,4 +27,4 @@ features = ["pyo3/extension-module"]
|
|||
|
||||
[tool.black]
|
||||
line-length = 119
|
||||
target-version = ['py35']
|
||||
target-version = ['py35']
|
||||
|
|
|
@ -11,8 +11,8 @@ readme = "README.md"
|
|||
|
||||
[dependencies]
|
||||
accelerate-src = { workspace = true, optional = true }
|
||||
candle = { path = "../candle-core", version = "0.2.2", package = "candle-core" }
|
||||
candle-nn = { path = "../candle-nn", version = "0.2.2" }
|
||||
candle = { path = "../candle-core", version = "0.2.3", package = "candle-core" }
|
||||
candle-nn = { path = "../candle-nn", version = "0.2.3" }
|
||||
intel-mkl-src = { workspace = true, optional = true }
|
||||
num-traits = { workspace = true }
|
||||
rand = { workspace = true }
|
||||
|
|
|
@ -9,9 +9,9 @@ categories.workspace = true
|
|||
license.workspace = true
|
||||
|
||||
[dependencies]
|
||||
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" }
|
||||
candle = { path = "../../candle-core", version = "0.2.3", package = "candle-core" }
|
||||
candle-nn = { path = "../../candle-nn", version = "0.2.3" }
|
||||
candle-transformers = { path = "../../candle-transformers", version = "0.2.3" }
|
||||
num-traits = { workspace = true }
|
||||
tokenizers = { workspace = true, features = ["unstable_wasm"] }
|
||||
|
||||
|
|
|
@ -9,9 +9,9 @@ categories.workspace = true
|
|||
license.workspace = true
|
||||
|
||||
[dependencies]
|
||||
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" }
|
||||
candle = { path = "../../candle-core", version = "0.2.3", package = "candle-core" }
|
||||
candle-nn = { path = "../../candle-nn", version = "0.2.3" }
|
||||
candle-transformers = { path = "../../candle-transformers", version = "0.2.3" }
|
||||
num-traits = { workspace = true }
|
||||
|
||||
# App crates.
|
||||
|
|
|
@ -9,8 +9,8 @@ categories.workspace = true
|
|||
license.workspace = true
|
||||
|
||||
[dependencies]
|
||||
candle = { path = "../../candle-core", version = "0.2.2", package = "candle-core" }
|
||||
candle-nn = { path = "../../candle-nn", version = "0.2.2" }
|
||||
candle = { path = "../../candle-core", version = "0.2.3", package = "candle-core" }
|
||||
candle-nn = { path = "../../candle-nn", version = "0.2.3" }
|
||||
num-traits = { workspace = true }
|
||||
tokenizers = { workspace = true, features = ["unstable_wasm"] }
|
||||
|
||||
|
|
|
@ -9,8 +9,8 @@ categories.workspace = true
|
|||
license.workspace = true
|
||||
|
||||
[dependencies]
|
||||
candle = { path = "../../candle-core", version = "0.2.2", package = "candle-core" }
|
||||
candle-nn = { path = "../../candle-nn", version = "0.2.2" }
|
||||
candle = { path = "../../candle-core", version = "0.2.3", package = "candle-core" }
|
||||
candle-nn = { path = "../../candle-nn", version = "0.2.3" }
|
||||
num-traits = { workspace = true }
|
||||
serde = { workspace = true }
|
||||
serde_json = { workspace = true }
|
||||
|
|
Loading…
Reference in New Issue