fix some warnings from gcc and clang-tidy #3038
build : silence misleading -Warray-bounds warning
ceee3a6c
llama : fix some -Wunused warnings
1dd3fd93
.clang-tidy : update checks
688aae46
fix some unidiomatic conditions (clang-tidy)
aae2be0f
prefer const reference parameters (clang-tidy)
0b0fe663
server : make token_with_probs non-const (clang-tidy)
49a700cc
ggml-alloc : remove useless assignment (clang-tidy)
f7586561
train : remove inaccurate my_llama_hparams::operator== (clang-tidy)
87b90f50
do not throw unhandled exceptions (clang-tidy)
22ff1408
grammar-parser : reserve space in vector (clang-tidy)
b3d79bd3
quantize : do not use 'else' after 'return' (clang-tidy)
6a9d1bd0
save-load-state : remove a redundant c_str() call (clang-tidy)
4c703231
train : use std::lround instead of add + cast (clang-tidy)
3d0d55f2
ggerganov
approved these changes
on 2023-09-07
slaren
commented
on 2023-09-07
fix error message in ggml_allocr_alloc to display actual max_avail
c472ab4f
cebtenzzre
merged
00d62adb
into master 2 years ago
cebtenzzre
deleted the warnings-and-tidy branch 2 years ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub