llama_cpp_for_radxa_dragon_.../tests
Georgi Gerganov 418dea39ce
ggml/gguf : prevent integer overflows (#19856)
* gguf : prevent integer overflow for ggml_context mem size

* ggml : fix int overflows in ggml_new_object()

* gguf : prevent string exhaustion

* gguf : prevent array elements exhaustion

* ggml : fix negative tensor type oob

* py : assert that alignment is non-zero power of 2

* ggml : check int overflow in ggml_new_tensor_impl and ggml_new_object

* gguf-py : error on duplicate keys when reading

* py : restore tensor_fields

* enforce proper alignment in add_custom_alignment

* gguf : better name

* gguf : fix ctx size for no_alloc == true

* gguf : minor print fix

* ggml : print values when overflow

* ggml : remove deprecated ggml_type_sizef()

* ggml : relax ggml_type asserts to debug-only

* gguf : add mem_size overflow test

* gguf : add file size check for arrays

* ggml : relax asseerts for ggml_get_type_traits()

* flake8 fix

---------

Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com>
2026-02-24 20:17:11 +02:00
..
peg-parser common : implement new jinja template engine (#18462) 2026-01-16 11:22:06 +01:00
.gitignore
CMakeLists.txt cmake : add variable to skip installing tests (#19370) 2026-02-09 07:12:02 +01:00
get-model.cpp
get-model.h
run-json-schema-to-grammar.mjs
test-alloc.cpp
test-arg-parser.cpp ci, tests : use cmake to download models and remove libcurl dependency (#18791) 2026-01-14 07:46:27 +01:00
test-autorelease.cpp docs : Minor cleanups (#19252) 2026-02-02 08:38:55 +02:00
test-backend-ops.cpp test: mul_mat tests with huge batch size (#19519) 2026-02-19 20:08:25 -06:00
test-backend-sampler.cpp tests : fix typos in comments in test-backend-sampler [no ci] (#19824) 2026-02-23 17:12:02 +01:00
test-barrier.cpp
test-c.c
test-chat-parser.cpp cli : fix reasoning responses in CLI (#18961) 2026-01-20 18:23:25 +01:00
test-chat-peg-parser.cpp cli : fix reasoning responses in CLI (#18961) 2026-01-20 18:23:25 +01:00
test-chat-template.cpp jinja : do not pass empty tools and add some none filters (#19176) 2026-01-29 14:06:54 +01:00
test-chat.cpp common : merge qwen3-coder and nemotron nano 3 parsers (#19765) 2026-02-20 23:22:22 +01:00
test-double-float.cpp
test-gbnf-validator.cpp
test-gguf.cpp ggml/gguf : prevent integer overflows (#19856) 2026-02-24 20:17:11 +02:00
test-grammar-integration.cpp
test-grammar-llguidance.cpp
test-grammar-parser.cpp
test-jinja.cpp jinja: correct stats for tojson and string filters (#19785) 2026-02-22 21:08:23 +01:00
test-json-partial.cpp
test-json-schema-to-grammar.cpp
test-llama-grammar.cpp
test-log.cpp
test-lora-conversion-inference.sh
test-model-load-cancel.cpp
test-mtmd-c-api.c
test-opt.cpp
test-peg-parser.cpp
test-quantize-fns.cpp
test-quantize-perf.cpp
test-quantize-stats.cpp
test-regex-partial.cpp
test-rope.cpp
test-sampling.cpp
test-state-restore-fragmented.cpp
test-thread-safety.cpp
test-tokenizer-0.cpp
test-tokenizer-0.py
test-tokenizer-0.sh
test-tokenizer-1-bpe.cpp
test-tokenizer-1-spm.cpp
test-tokenizer-random.py
test-tokenizers-repo.sh
testing.h common : implement new jinja template engine (#18462) 2026-01-16 11:22:06 +01:00