mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-05-13 15:39:11 +00:00
Merge branch 'upstream' into concedo_experimental
This commit is contained in:
commit
8a4a9b8c19
3 changed files with 5 additions and 2 deletions
|
|
@ -977,6 +977,7 @@ static void gguf_check_reserved_keys(const std::string & key, const T val) {
|
|||
if constexpr (std::is_same<T, uint32_t>::value) {
|
||||
GGML_ASSERT(val > 0 && (val & (val - 1)) == 0 && GGUF_KEY_GENERAL_ALIGNMENT " must be power of 2");
|
||||
} else {
|
||||
GGML_UNUSED(val);
|
||||
GGML_ABORT(GGUF_KEY_GENERAL_ALIGNMENT " must be type u32");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue