From 2a2852d1c1d176181a0b0d64569044356ab330c1 Mon Sep 17 00:00:00 2001 From: Laurent Mazare Date: Tue, 28 Jan 2025 18:49:46 +0100 Subject: [PATCH] Fix flash-attn build. (#2754) --- candle-flash-attn/build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/candle-flash-attn/build.rs b/candle-flash-attn/build.rs index 18694524..e6cefb92 100644 --- a/candle-flash-attn/build.rs +++ b/candle-flash-attn/build.rs @@ -73,7 +73,7 @@ fn main() -> Result<()> { }; let kernels = KERNEL_FILES.iter().collect(); - let builder = bindgen_cuda::Builder::default() + let mut builder = bindgen_cuda::Builder::default() .kernel_paths(kernels) .out_dir(build_dir.clone()) .arg("-std=c++17")