Skip to content

Commit a06016a

Browse files
committed
build: update deps
Signed-off-by: YdrMaster <[email protected]>
1 parent 11b0b54 commit a06016a

File tree

4 files changed

+65
-91
lines changed

4 files changed

+65
-91
lines changed

Cargo.lock

Lines changed: 57 additions & 83 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

llama.cu/Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ version = "0.0.0"
44
edition.workspace = true
55

66
[dependencies]
7-
operators = { git = "https://github.com/YdrMaster/operators-rs", rev = "01b39e8", default-features = false, features = [
7+
operators = { git = "https://github.com/YdrMaster/operators-rs", rev = "88c58bd", default-features = false, features = [
88
"nvidia-gpu",
99
] }
10-
nn = { git = "https://github.com/YdrMaster/InfiniNN", rev = "e3061d6" }
10+
nn = { git = "https://github.com/YdrMaster/InfiniNN", rev = "171c5b0" }
1111
ggus = { git = "https://github.com/InfiniTensor/gguf", rev = "23c362f" }
1212
tokeneer = { git = "https://github.com/InfiniTensor/tokeneer", rev = "c48f39f" }
1313

@@ -26,7 +26,7 @@ minijinja = { version = "2.11", default-features = false, features = [
2626

2727
[build-dependencies]
2828
build-script-cfg = "0.1"
29-
search-cuda-tools = { git = "https://github.com/YdrMaster/cuda-driver", rev = "c535e9f" }
30-
search-maca-tools = { git = "https://github.com/YdrMaster/cuda-driver", rev = "c535e9f" }
31-
search-corex-tools = { git = "https://github.com/YdrMaster/cuda-driver", rev = "c535e9f" }
32-
cuda-cc = { git = "https://github.com/YdrMaster/cuda-driver", rev = "c535e9f" }
29+
search-cuda-tools = { git = "https://github.com/YdrMaster/cuda-driver", rev = "31c8090" }
30+
search-maca-tools = { git = "https://github.com/YdrMaster/cuda-driver", rev = "31c8090" }
31+
search-corex-tools = { git = "https://github.com/YdrMaster/cuda-driver", rev = "31c8090" }
32+
cuda-cc = { git = "https://github.com/YdrMaster/cuda-driver", rev = "31c8090" }

llama.cu/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ fn main() {
99
let src_dir =
1010
PathBuf::from(&env::var_os("CARGO_MANIFEST_DIR").unwrap()).join("src/op/random_sample");
1111

12-
if let Some(maca_root) = find_maca_root() {
12+
if let Some((_, maca_root)) = find_maca_root() {
1313
nccl.define();
1414

1515
cuda_cc::Builder::new("random_sample", maca_root, "htgpu_llvm/bin/htcc")

llama.cu/src/exec/sample_manager.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ impl<'ctx> SampleManager<'ctx> {
4141

4242
let kv_pair_template = Tensor::from_dim_slice(KV_PAIR, []);
4343
let kv_pair = stream.malloc::<KVPair>(out_len);
44-
for (i, (id, info)) in config.into_iter().enumerate() {
44+
for (i, (id, info)) in config.iter().enumerate() {
4545
let logits = logits.clone().transform(|layout| layout.index(0, i));
4646
let SampleInfo {
4747
args,

0 commit comments

Comments
 (0)