Skip to content

Commit

Permalink
Merge pull request #68 from edgenai/fix/cuda-build
Browse files Browse the repository at this point in the history
updated build.rs
  • Loading branch information
pedro-devv authored Mar 26, 2024
2 parents 491f69a + b18e03a commit 9dd2b22
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 9dd2b22

Please sign in to comment.