Skip to content

Commit

Permalink
Handle CUDA_NVCC_FLAGS in flash attn v3
Browse files Browse the repository at this point in the history
  • Loading branch information
EricLBuehler committed Feb 25, 2025
1 parent 3ecc604 commit 8d3ea29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions candle-flash-attn-v3/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,8 @@ fn main() -> Result<()> {

// https://github.com/EricLBuehler/mistral.rs/issues/286
if let Some(cuda_nvcc_flags_env) = CUDA_NVCC_FLAGS {
command = command.arg("--compiler-options");
command = command.arg(cuda_nvcc_flags_env);
command.arg("--compiler-options");
command.arg(cuda_nvcc_flags_env);
}

let output = command
Expand Down

0 comments on commit 8d3ea29

Please sign in to comment.