chore: fix some typos in comments (#2121)

Signed-off-by: hardlydearly <799511800@qq.com>
This commit is contained in:
hardlydearly
2024-04-28 14:34:32 +08:00
committed by GitHub
parent e5c8b88f90
commit c68ed8963f
4 changed files with 5 additions and 5 deletions

View File

@ -55,7 +55,7 @@ fn quantized_matmul_neg() -> Result<()> {
Ok(())
}
/// Creates a vector simillarly to the one used in GGML unit tests: https://github.com/ggerganov/llama.cpp/blob/master/tests/test-quantize-fns.cpp#L26-L30
/// Creates a vector similarly to the one used in GGML unit tests: https://github.com/ggerganov/llama.cpp/blob/master/tests/test-quantize-fns.cpp#L26-L30
fn create_ggml_like_vector(offset: f32) -> Vec<f32> {
const GGML_TEST_SIZE: usize = 32 * 128;
(0..GGML_TEST_SIZE)