From 5ca123c599c4e1407cf253ec810a1c85bca8cca2 Mon Sep 17 00:00:00 2001 From: Ulrik Sverdrup Date: Thu, 16 Jul 2026 21:53:20 +0200 Subject: [PATCH 1/2] Enable AVX-512 in matrixmultiply The new version of matrixmultiply supports AVX-512 (by the usual target feature detection), as a default feature (but ndarray needs to turn it back on). --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index f3522b214..8cd9c33ce 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -46,7 +46,7 @@ rayon = { version = "1.10.0", optional = true } cblas-sys = { workspace = true, optional = true } libc = { version = "0.2.82", optional = true } -matrixmultiply = { version = "0.3.2", default-features = false, features=["cgemm"] } +matrixmultiply = { version = "0.3.11", default-features = false, features=["avx512", "cgemm"] } serde = { version = "1.0", optional = true, default-features = false, features = ["alloc"] } rawpointer = { version = "0.2" } From aae58b670d59e1939e45f466ac947d111cefb510 Mon Sep 17 00:00:00 2001 From: Ulrik Sverdrup Date: Sat, 18 Jul 2026 13:52:45 +0200 Subject: [PATCH 2/2] Update Cargo.lock for matrixmultiply --- Cargo.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 78ad9b972..80f39d692 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -478,9 +478,9 @@ checksum = "953f07c43838f8e6f9758cab68bf5bed85465e7587ebe0b823f1bcd81978ad3a" [[package]] name = "matrixmultiply" -version = "0.3.10" +version = "0.3.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a06de3016e9fae57a36fd14dba131fccf49f74b40b7fbdb472f96e361ec71a08" +checksum = "3f607c237553f086e7043417a51df26b2eb899d3caff94e6a67592ff992fedc7" dependencies = [ "autocfg", "num_cpus",