Skip to content

Commit

Permalink
updated build.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
pedro-devv committed Mar 26, 2024
1 parent 491f69a commit b18e03a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/llama_cpp_sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ fn compile_cuda(cx: &mut Build, cxx: &mut Build, featless_cxx: Build) -> &'stati
let mut nvcc = featless_cxx;
nvcc.cuda(true)
.flag("--forward-unknown-to-host-compiler")
.flag("-arch=native")
.flag("-arch=all")
.define("K_QUANTS_PER_ITERATION", Some("2"))
.define("GGML_CUDA_PEER_MAX_BATCH_SIZE", Some("128"));

Expand Down

0 comments on commit b18e03a

Please sign in to comment.