This repository was archived by the owner on Jun 24, 2024. It is now read-only.
This repository was archived by the owner on Jun 24, 2024. It is now read-only.
build fails on arch linux #33
Closed
Description
Hi, building with arch linux fails and provides this output
warning: ggml/ggml.c: In function ‘quantize_row_q4_0’:
warning: ggml/ggml.c:413:13: warning: unused variable ‘pp’ [-Wunused-variable]
warning: 413 | uint8_t pp[QK/2];
warning: | ^~
warning: ggml/ggml.c: In function ‘ggml_vec_dot_q4_0’:
warning: ggml/ggml.c:1422:18: warning: unused variable ‘countBlocks’ [-Wunused-variable]
warning: 1422 | const size_t countBlocks = nb;
warning: | ^~~~~~~~~~~
Compiling llama-rs v0.1.0 (/home/user/opt/llama/llama-rs/llama-rs)
error[E0658]: let...else statements are unstable
--> llama-rs/src/lib.rs:492:17
|
492 | / let Some(tensor) = model.tensors.get(&tensor_name)
493 | | else {
494 | | return Err(LoadError::UnknownTensor { tensor_name, path: part_path });
495 | | };
| |______________________^
|
= note: see issue #87335 <https://github.com/rust-lang/rust/issues/87335> for more information
For more information about this error, try rustc --explain E0658.
error: could not compile llama-rs due to previous error
Metadata
Metadata
Assignees
Labels
No labels