Skip to content

Commit d09ae61

Browse files
committed
assuming avx512f is appropriate for AVX-512
1 parent d807090 commit d09ae61

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llama-cpp-2/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ sampler = []
2323
llama-cpp-sys-2 = { path = "../llama-cpp-sys-2", features = ["avx"] }
2424
[target.'cfg(target_feature = "avx2")'.dependencies]
2525
llama-cpp-sys-2 = { path = "../llama-cpp-sys-2", features = ["avx2"] }
26+
[target.'cfg(target_feature = "avx512f")'.dependencies]
27+
llama-cpp-sys-2 = { path = "../llama-cpp-sys-2", features = ["avx512"] }
2628
[target.'cfg(target_feature = "avx512vbmi")'.dependencies]
2729
llama-cpp-sys-2 = { path = "../llama-cpp-sys-2", features = ["avx512_vmbi"] }
2830
[target.'cfg(target_feature = "avx512vnni")'.dependencies]

0 commit comments

Comments
 (0)