Skip to content

Commit

Permalink
v0.7.3
Browse files Browse the repository at this point in the history
  • Loading branch information
EricLBuehler committed Oct 27, 2024
1 parent 7e3e5f9 commit fc3efc5
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "ebcandle-examples/examples/flash-attn/cutlass"]
[submodule "ebcandle-flash-attn/cutlass"]
path = ebcandle-flash-attn/cutlass
url = https://github.com/NVIDIA/cutlass.git
20 changes: 10 additions & 10 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ exclude = [
resolver = "2"

[workspace.package]
version = "0.7.2"
version = "0.7.3"
edition = "2021"
description = "Minimalist ML framework."
repository = "https://github.com/huggingface/ebcandle"
Expand All @@ -33,14 +33,14 @@ ab_glyph = "0.2.23"
accelerate-src = { version = "0.3.2" }
anyhow = { version = "1", features = ["backtrace"] }
byteorder = "1.4.3"
ebcandle = { path = "./ebcandle-core", package = "ebcandle-core", version = "0.7.2" }
ebcandle-datasets = { path = "./ebcandle-datasets", version = "0.7.2" }
ebcandle-flash-attn = { path = "./ebcandle-flash-attn", version = "0.7.2" }
ebcandle-kernels = { path = "./ebcandle-kernels", version = "0.7.2" }
ebcandle-metal-kernels = { path = "./ebcandle-metal-kernels", version = "0.7.2" }
ebcandle-nn = { path = "./ebcandle-nn", version = "0.7.2" }
ebcandle-onnx = { path = "./ebcandle-onnx", version = "0.7.2" }
ebcandle-transformers = { path = "./ebcandle-transformers", version = "0.7.2" }
ebcandle = { path = "./ebcandle-core", package = "ebcandle-core", version = "0.7.3" }
ebcandle-datasets = { path = "./ebcandle-datasets", version = "0.7.3" }
ebcandle-flash-attn = { path = "./ebcandle-flash-attn", version = "0.7.3" }
ebcandle-kernels = { path = "./ebcandle-kernels", version = "0.7.3" }
ebcandle-metal-kernels = { path = "./ebcandle-metal-kernels", version = "0.7.3" }
ebcandle-nn = { path = "./ebcandle-nn", version = "0.7.3" }
ebcandle-onnx = { path = "./ebcandle-onnx", version = "0.7.3" }
ebcandle-transformers = { path = "./ebcandle-transformers", version = "0.7.3" }
clap = { version = "4.2.4", features = ["derive"] }
criterion = { version = "0.5.1", default-features=false }
cudarc = { version = "0.12.1", features = ["std", "cublas", "cublaslt", "curand", "driver", "nvrtc", "f16", "cuda-version-from-build-system", "dynamic-linking"], default-features=false }
Expand Down Expand Up @@ -74,7 +74,7 @@ tracing-subscriber = "0.3.7"
ug = "0.0.2"
ug-cuda = "0.0.2"
ug-metal = "0.0.2"
yoke = { version = "0.7.2", features = ["derive"] }
yoke = { version = "0.7.3", features = ["derive"] }
zip = { version = "1.1.1", default-features = false }
metal = { version = "0.27.0", features = ["mps"]}

Expand Down
1 change: 1 addition & 0 deletions ebcandle-core/src/cuda_backend/device.rs
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ impl CudaDevice {
device,
blas: Arc::new(blas),
curand: Arc::new(Mutex::new(CudaRng(curand))),
seed_value: Arc::new(RwLock::new(299792458)),
})
}
}
Expand Down
4 changes: 2 additions & 2 deletions ebcandle-flash-attn/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ebcandle-flash-attn"
version = "0.7.2"
version = "0.7.3"
edition = "2021"

description = "Flash attention layer for the ebcandle ML framework."
Expand All @@ -11,7 +11,7 @@ license = "MIT OR Apache-2.0"
readme = "README.md"

[dependencies]
ebcandle = { path = "../ebcandle-core", features = ["cuda"], package = "ebcandle-core", version = "0.7.2" }
ebcandle = { path = "../ebcandle-core", features = ["cuda"], package = "ebcandle-core", version = "0.7.3" }
half = { version = "2.3.1", features = ["num-traits"] }

[build-dependencies]
Expand Down
1 change: 1 addition & 0 deletions ebcandle-flash-attn/cutlass
Submodule cutlass added at e8a8b6
2 changes: 1 addition & 1 deletion ebcandle-kernels/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ebcandle-kernels"
version = "0.7.2"
version = "0.7.3"
edition = "2021"

description = "CUDA kernels for Candle"
Expand Down
2 changes: 1 addition & 1 deletion ebcandle-metal-kernels/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ebcandle-metal-kernels"
version = "0.7.2"
version = "0.7.3"
edition = "2021"

description = "Metal kernels for Candle"
Expand Down
6 changes: 3 additions & 3 deletions ebcandle-onnx/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ebcandle-onnx"
version = "0.7.2"
version = "0.7.3"
edition = "2021"

description = "ONNX support for Candle"
Expand All @@ -10,8 +10,8 @@ categories = ["science"]
license = "MIT OR Apache-2.0"

[dependencies]
ebcandle = { path = "../ebcandle-core", package = "ebcandle-core", version = "0.7.2" }
ebcandle-nn = { path = "../ebcandle-nn", version = "0.7.2" }
ebcandle = { path = "../ebcandle-core", package = "ebcandle-core", version = "0.7.3" }
ebcandle-nn = { path = "../ebcandle-nn", version = "0.7.3" }
prost = "0.12.1"

[build-dependencies]
Expand Down

0 comments on commit fc3efc5

Please sign in to comment.