Skip to content

Commit

Permalink
fix(llama-cl): fix for opencl
Browse files Browse the repository at this point in the history
Signed-off-by: YdrMaster <ydrml@hotmail.com>
  • Loading branch information
YdrMaster committed Dec 29, 2024
1 parent 4247ad5 commit 4a19e67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ tensor.path = "tensor"
causal-lm.path = "causal-lm"
test-utils = { path = "test-utils", default-features = false }

ggus = "0.3"
ggus = "0.4"
ndarray-layout = "0.0"
log = "0.4"
regex = "1.11"
Expand Down
2 changes: 1 addition & 1 deletion models/llama/opencl/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ impl WeightLoader for Weights {
BlkWeight::AttnQKV => &blk.attn_qkv,
BlkWeight::AttnO => &blk.attn_o,
BlkWeight::FfnNorm => &blk.ffn_norm,
BlkWeight::FfnGateInp => blk.ffn_gate_inp.as_ref().unwrap(),
BlkWeight::FfnGateInp => &blk.ffn_gate_inp,
BlkWeight::FfnGateUp => &blk.ffn_gate_up,
BlkWeight::FfnDown => &blk.ffn_down,
}
Expand Down

0 comments on commit 4a19e67

Please sign in to comment.