mirror of
https://github.com/huggingface/candle.git
synced 2025-06-15 18:28:24 +00:00
Bump the crate versions to v0.2.3. (#886)
* Bump the crate version. * Also update the python bindings.
This commit is contained in:
16
CHANGELOG.md
16
CHANGELOG.md
@ -1,13 +1,27 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
This documents the main changes to the `candle` crate.
|
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
|
### Added
|
||||||
- Support for `top_p` sampling
|
- Support for `top_p` sampling
|
||||||
[819](https://github.com/huggingface/candle/pull/819).
|
[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
|
### 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
|
## v0.2.1 - 2023-09-11
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ exclude = [
|
|||||||
resolver = "2"
|
resolver = "2"
|
||||||
|
|
||||||
[workspace.package]
|
[workspace.package]
|
||||||
version = "0.2.2"
|
version = "0.2.3"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = "Minimalist ML framework."
|
description = "Minimalist ML framework."
|
||||||
repository = "https://github.com/huggingface/candle"
|
repository = "https://github.com/huggingface/candle"
|
||||||
|
@ -11,11 +11,11 @@ readme = "README.md"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
accelerate-src = { workspace = true, optional = true }
|
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" }
|
||||||
candle-datasets = { path = "../candle-datasets", version = "0.2.2" }
|
candle-datasets = { path = "../candle-datasets", version = "0.2.3" }
|
||||||
candle-nn = { path = "../candle-nn", version = "0.2.2" }
|
candle-nn = { path = "../candle-nn", version = "0.2.3" }
|
||||||
candle-transformers = { path = "../candle-transformers", version = "0.2.2" }
|
candle-transformers = { path = "../candle-transformers", version = "0.2.3" }
|
||||||
candle-flash-attn = { path = "../candle-flash-attn", version = "0.2.2", optional = true }
|
candle-flash-attn = { path = "../candle-flash-attn", version = "0.2.3", optional = true }
|
||||||
safetensors = { workspace = true }
|
safetensors = { workspace = true }
|
||||||
serde = { workspace = true }
|
serde = { workspace = true }
|
||||||
serde_json = { workspace = true }
|
serde_json = { workspace = true }
|
||||||
|
@ -12,7 +12,7 @@ readme = "README.md"
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
accelerate-src = { workspace = true, optional = true }
|
accelerate-src = { workspace = true, optional = true }
|
||||||
byteorder = { workspace = 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 }
|
cudarc = { workspace = true, optional = true }
|
||||||
gemm = { workspace = true }
|
gemm = { workspace = true }
|
||||||
half = { workspace = true }
|
half = { workspace = true }
|
||||||
|
@ -11,8 +11,8 @@ readme = "README.md"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
byteorder = { workspace = true }
|
byteorder = { workspace = true }
|
||||||
candle = { path = "../candle-core", version = "0.2.2", package = "candle-core" }
|
candle = { path = "../candle-core", version = "0.2.3", package = "candle-core" }
|
||||||
candle-nn = { path = "../candle-nn", version = "0.2.2" }
|
candle-nn = { path = "../candle-nn", version = "0.2.3" }
|
||||||
hf-hub = { workspace = true}
|
hf-hub = { workspace = true}
|
||||||
intel-mkl-src = { workspace = true, optional = true }
|
intel-mkl-src = { workspace = true, optional = true }
|
||||||
memmap2 = { workspace = true }
|
memmap2 = { workspace = true }
|
||||||
|
@ -11,11 +11,11 @@ readme = "README.md"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
accelerate-src = { workspace = true, optional = true }
|
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" }
|
||||||
candle-datasets = { path = "../candle-datasets", version = "0.2.2" }
|
candle-datasets = { path = "../candle-datasets", version = "0.2.3" }
|
||||||
candle-flash-attn = { path = "../candle-flash-attn", version = "0.2.2", optional = true }
|
candle-flash-attn = { path = "../candle-flash-attn", version = "0.2.3", optional = true }
|
||||||
candle-nn = { path = "../candle-nn", version = "0.2.2" }
|
candle-nn = { path = "../candle-nn", version = "0.2.3" }
|
||||||
candle-transformers = { path = "../candle-transformers", version = "0.2.2" }
|
candle-transformers = { path = "../candle-transformers", version = "0.2.3" }
|
||||||
cudarc = { workspace = true, optional = true }
|
cudarc = { workspace = true, optional = true }
|
||||||
half = { workspace = true, optional = true }
|
half = { workspace = true, optional = true }
|
||||||
image = { workspace = true }
|
image = { workspace = true }
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "candle-flash-attn"
|
name = "candle-flash-attn"
|
||||||
version = "0.2.2"
|
version = "0.2.3"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
description = "Flash attention layer for the candle ML framework."
|
description = "Flash attention layer for the candle ML framework."
|
||||||
@ -11,7 +11,7 @@ license = "MIT OR Apache-2.0"
|
|||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
|
||||||
[dependencies]
|
[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"] }
|
half = { version = "2.3.1", features = ["num-traits"] }
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
@ -21,4 +21,4 @@ rayon = "1.7.0"
|
|||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
anyhow = { version = "1", features = ["backtrace"] }
|
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]
|
[package]
|
||||||
name = "candle-kernels"
|
name = "candle-kernels"
|
||||||
version = "0.2.2"
|
version = "0.2.3"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
description = "CUDA kernels for Candle"
|
description = "CUDA kernels for Candle"
|
||||||
|
@ -11,7 +11,7 @@ readme = "README.md"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
accelerate-src = { workspace = true, optional = true }
|
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 }
|
half = { workspace = true }
|
||||||
thiserror = { workspace = true }
|
thiserror = { workspace = true }
|
||||||
intel-mkl-src = { workspace = true, optional = true }
|
intel-mkl-src = { workspace = true, optional = true }
|
||||||
|
@ -14,8 +14,8 @@ name = "candle"
|
|||||||
crate-type = ["cdylib"]
|
crate-type = ["cdylib"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
candle = { path = "../candle-core", version = "0.2.2", package = "candle-core" }
|
candle = { path = "../candle-core", version = "0.2.3", package = "candle-core" }
|
||||||
candle-nn = { path = "../candle-nn", version = "0.2.2" }
|
candle-nn = { path = "../candle-nn", version = "0.2.3" }
|
||||||
half = { workspace = true }
|
half = { workspace = true }
|
||||||
pyo3 = { version = "0.19.0", features = ["extension-module"] }
|
pyo3 = { version = "0.19.0", features = ["extension-module"] }
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
[project]
|
[project]
|
||||||
name = 'candle-pyo3'
|
name = 'candle-nn'
|
||||||
requires-python = '>=3.7'
|
requires-python = '>=3.7'
|
||||||
authors = [
|
authors = [
|
||||||
{name = 'Laurent Mazare', email = ''},
|
{name = 'The Candle Team'},
|
||||||
]
|
]
|
||||||
|
|
||||||
dynamic = [
|
dynamic = [
|
||||||
@ -27,4 +27,4 @@ features = ["pyo3/extension-module"]
|
|||||||
|
|
||||||
[tool.black]
|
[tool.black]
|
||||||
line-length = 119
|
line-length = 119
|
||||||
target-version = ['py35']
|
target-version = ['py35']
|
||||||
|
@ -11,8 +11,8 @@ readme = "README.md"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
accelerate-src = { workspace = true, optional = true }
|
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" }
|
||||||
candle-nn = { path = "../candle-nn", version = "0.2.2" }
|
candle-nn = { path = "../candle-nn", version = "0.2.3" }
|
||||||
intel-mkl-src = { workspace = true, optional = true }
|
intel-mkl-src = { workspace = true, optional = true }
|
||||||
num-traits = { workspace = true }
|
num-traits = { workspace = true }
|
||||||
rand = { workspace = true }
|
rand = { workspace = true }
|
||||||
|
@ -9,9 +9,9 @@ categories.workspace = true
|
|||||||
license.workspace = true
|
license.workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
candle = { path = "../../candle-core", version = "0.2.2", package = "candle-core" }
|
candle = { path = "../../candle-core", version = "0.2.3", package = "candle-core" }
|
||||||
candle-nn = { path = "../../candle-nn", version = "0.2.2" }
|
candle-nn = { path = "../../candle-nn", version = "0.2.3" }
|
||||||
candle-transformers = { path = "../../candle-transformers", version = "0.2.2" }
|
candle-transformers = { path = "../../candle-transformers", version = "0.2.3" }
|
||||||
num-traits = { workspace = true }
|
num-traits = { workspace = true }
|
||||||
tokenizers = { workspace = true, features = ["unstable_wasm"] }
|
tokenizers = { workspace = true, features = ["unstable_wasm"] }
|
||||||
|
|
||||||
|
@ -9,9 +9,9 @@ categories.workspace = true
|
|||||||
license.workspace = true
|
license.workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
candle = { path = "../../candle-core", version = "0.2.2", package = "candle-core" }
|
candle = { path = "../../candle-core", version = "0.2.3", package = "candle-core" }
|
||||||
candle-nn = { path = "../../candle-nn", version = "0.2.2" }
|
candle-nn = { path = "../../candle-nn", version = "0.2.3" }
|
||||||
candle-transformers = { path = "../../candle-transformers", version = "0.2.2" }
|
candle-transformers = { path = "../../candle-transformers", version = "0.2.3" }
|
||||||
num-traits = { workspace = true }
|
num-traits = { workspace = true }
|
||||||
|
|
||||||
# App crates.
|
# App crates.
|
||||||
|
@ -9,8 +9,8 @@ categories.workspace = true
|
|||||||
license.workspace = true
|
license.workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
candle = { path = "../../candle-core", version = "0.2.2", package = "candle-core" }
|
candle = { path = "../../candle-core", version = "0.2.3", package = "candle-core" }
|
||||||
candle-nn = { path = "../../candle-nn", version = "0.2.2" }
|
candle-nn = { path = "../../candle-nn", version = "0.2.3" }
|
||||||
num-traits = { workspace = true }
|
num-traits = { workspace = true }
|
||||||
tokenizers = { workspace = true, features = ["unstable_wasm"] }
|
tokenizers = { workspace = true, features = ["unstable_wasm"] }
|
||||||
|
|
||||||
|
@ -9,8 +9,8 @@ categories.workspace = true
|
|||||||
license.workspace = true
|
license.workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
candle = { path = "../../candle-core", version = "0.2.2", package = "candle-core" }
|
candle = { path = "../../candle-core", version = "0.2.3", package = "candle-core" }
|
||||||
candle-nn = { path = "../../candle-nn", version = "0.2.2" }
|
candle-nn = { path = "../../candle-nn", version = "0.2.3" }
|
||||||
num-traits = { workspace = true }
|
num-traits = { workspace = true }
|
||||||
serde = { workspace = true }
|
serde = { workspace = true }
|
||||||
serde_json = { workspace = true }
|
serde_json = { workspace = true }
|
||||||
|
Reference in New Issue
Block a user