llama.cpp/tests
Piotr Wilkin (ilintar) 2a335259ca
ggml/CUDA+HIP: Flash Attention with indexed bias (#33063)
* cuda : port indexed bias FA onto the refactored loaders

Replays the #32740 bias support on the shared typed tile loader, adds bias
in F32 to match the CPU reference and routes rows via KV_indirection.

* cuda : return zeros for a fully masked FA query row

An all -inf mask row has a zero softmax sum, which divided gave NaN. Guard
the tile, vec and results-combine divisions so it gives zeros, as ggml-cpu.

* Code review from Fable
* fixup! cuda : port indexed bias FA onto the refactored loaders
2026-11-26 21:13:03 +01:00
..
fusion tests : take the test-fusion moe flag from the fixture name (#33104) 2026-11-26 14:44:02 +02:00
llama-context llama : fix seq state restore with ON_DEVICE (#30318) 2026-11-25 16:48:55 +01:00
peg-parser chat : implement token aware parsing (#29307) 2026-11-22 11:36:03 -06:00
snapshots tests : update Qwen3.6-27B snapshot (#32845) 2026-11-23 11:45:31 +01:00
.gitignore tests : consolidate context state tests into test-llama-context (#30023) 2026-10-13 16:21:55 +03:00
CMakeLists.txt quantize: add option to automatically choose optimal quant types to reach a file/bpw target size at lowest error (#15550) 2026-11-23 18:06:26 +01:00
gguf-model-data.cpp tests : drop u8path() (#31755) 2026-11-05 23:06:51 +01:00
gguf-model-data.h tests : add unit test coverage for llama_tensor_get_type (#20112) 2026-04-02 22:53:58 +02:00
test-alloc.cpp ggml: allow input async copies (#30685) 2026-11-25 16:56:15 +08:00
test-arg-parser.cpp server : return 400 when grammar and ignore_eos are on (#32377) 2026-11-17 17:03:21 +01:00
test-autorelease.cpp tests : avoid building get-model.cpp many times (#26317) 2026-07-30 19:34:04 +03:00
test-backend-ops.cpp ggml/CUDA+HIP: Flash Attention with indexed bias (#33063) 2026-11-26 21:13:03 +01:00
test-backend-sampler.cpp sampling : use greedy selection for eligible temperature-zero chains (#29797) 2026-10-07 13:34:18 +03:00
test-backend-sched.cpp ggml: allow input async copies (#30685) 2026-11-25 16:56:15 +08:00
test-backend-tensor.cpp ggml-backend : generic fallback in ggml_backend_tensor_memset (#32574) 2026-11-23 09:48:16 +09:00
test-barrier.cpp Fix race conditions in threadpool when dealing with dynamic/frequent n_threads changes (#17748) 2025-12-10 12:32:23 -08:00
test-batch-alloc.cpp tests : fix MSVC static build of test-batch-alloc and test-server-component (#32870) 2026-11-25 00:20:46 +01:00
test-c.c ggml : remove kompute backend (#14501) 2025-07-03 07:48:32 +03:00
test-chat-analysis.cpp chat: replace output string with parts (#30389) 2026-10-14 01:03:56 +02:00
test-chat-auto-parser.cpp chat: replace output string with parts (#30389) 2026-10-14 01:03:56 +02:00
test-chat-peg-parser.cpp common/peg : handle invalid utf-8 sequences in the AST (#29161) 2026-09-20 06:51:40 -05:00
test-chat-template.cpp chat: replace output string with parts (#30389) 2026-10-14 01:03:56 +02:00
test-chat.cpp model : add RAON-1-mini-preview support (#32176) 2026-11-25 19:38:12 +01:00
test-col2im-1d.cpp ggml : add GGML_OP_COL2IM_1D (#24206) 2026-06-09 12:01:37 +03:00
test-conv-1d.cpp ggml: fix conv_1d result layout for batched input (#28738) 2026-10-14 14:16:08 +03:00
test-double-float.cpp ggml : minor naming changes (#8433) 2024-07-12 10:46:02 +03:00
test-export-graph-ops.cpp tests: export-graph-ops: exit gracefully when called w/o arguments (#25619) 2026-07-14 13:15:41 +03:00
test-fp8.cpp test-fp8.cpp: use only the public ggml API (#32083) 2026-11-11 13:33:12 +02:00
test-fusion.cpp tests : take the test-fusion moe flag from the fixture name (#33104) 2026-11-26 14:44:02 +02:00
test-gbnf-validator.cpp cmake : do not include ./src as public for libllama (#13062) 2025-04-24 16:00:10 +03:00
test-gelu-quick.cpp ggml-cpu : compute f32 gelu_quick and geglu_quick without the fp16 table (#30737) 2026-10-21 09:34:37 +02:00
test-gguf-model-data.cpp tests : add unit test coverage for llama_tensor_get_type (#20112) 2026-04-02 22:53:58 +02:00
test-gguf.cpp gguf : reject tensor size that wraps after padding (#26979) 2026-09-29 22:46:20 +02:00
test-grammar-integration.cpp chat : implement token aware parsing (#29307) 2026-11-22 11:36:03 -06:00
test-grammar-llguidance.cpp tool/ex/tests: consistently free ctx, then model (#18168) 2025-12-22 11:00:37 +01:00
test-grammar-parser.cpp chat : implement token aware parsing (#29307) 2026-11-22 11:36:03 -06:00
test-host-buffer-release.cpp ggml : use vm_allocate instead of posix_memalign on all Apple platforms (#31437) 2026-11-02 14:08:21 +02:00
test-jinja.cpp mtmd: support Minimax-Music3 (#32435) 2026-11-17 12:53:19 +01:00
test-json-schema-to-grammar.cpp common/json-schema : fix allOf with plain types (e.g. integer) generating an empty object grammar (#31834) 2026-11-10 09:57:35 +02:00
test-json-schema.cpp common : accept boolean "value": true JSON schema (#32908) 2026-11-25 10:35:44 +02:00
test-kv-cache.cpp kv-cells: avoid an O(n_cells) scan per sequence removal (#32380) 2026-11-16 10:52:09 +01:00
test-llama-archs.cpp tests : add RPC support to test-llama-archs (#33112) 2026-11-26 14:57:25 +02:00
test-llama-context.cpp tests : override hardware_concurrency in CI (#31797) 2026-11-06 14:52:26 +02:00
test-llama-grammar.cpp chat : implement token aware parsing (#29307) 2026-11-22 11:36:03 -06:00
test-llama-mmap.cpp Windows unbuffered model load (#26014) 2026-11-09 19:22:08 +01:00
test-log.cpp common: Intentionally leak logger instance to fix hanging on Windows (#22273) 2026-04-29 10:58:43 +03:00
test-lora-conversion-inference.sh cli: new CLI experience (#17824) 2025-12-10 15:28:59 +01:00
test-metal-graph-optimize.cpp metal : few-row MMA mat-mul (#29869) 2026-10-05 08:29:13 +03:00
test-model-load-cancel.cpp tests : avoid building get-model.cpp many times (#26317) 2026-07-30 19:34:04 +03:00
test-model-resolution.cpp common : do not allow _ in sidecar (#31639) 2026-11-04 10:32:45 +02:00
test-mtmd-c-api.c mtmd: add mtmd_tokenize_from_parts() (#28250) 2026-09-02 21:20:10 +02:00
test-mtmd-impl.cpp mtmd: speed up shared audio FFT (#32815) 2026-11-22 22:04:24 +01:00
test-opt.cpp tests : fix test-opt with GGML_BACKEND_DL (#15599) 2025-08-26 22:14:38 +02:00
test-peg-parser.cpp chat : refactor API (#30210) 2026-10-09 10:06:22 -05:00
test-quant-type-selection.cpp tests : fix typo in test-quant-type-selection for nemotron 3 nano (#28835) 2026-09-13 18:50:46 +02:00
test-quantize-be.sh ci: move test models to ggml-org-dev (#32096) 2026-11-11 21:17:16 +01:00
test-quantize-fns.cpp tests : qualify isnan and signbit with std:: (#31791) 2026-11-06 14:53:04 +02:00
test-quantize-perf.cpp ci: run the x64 and arm ci on the github machines instead (#16183) 2025-09-25 08:06:06 +03:00
test-quantize-stats.cpp cmake : introduce semantic versioning (#26839) 2026-08-12 14:15:03 +02:00
test-quantize-target.cpp quantize: add option to automatically choose optimal quant types to reach a file/bpw target size at lowest error (#15550) 2026-11-23 18:06:26 +01:00
test-reasoning-budget.cpp common : end reasoning budget forcing on an end tag from the prompt (#31374) 2026-10-29 19:27:50 -05:00
test-rope.cpp ggml : support truncate=false for YaRN (#30206) 2026-11-05 12:02:05 +02:00
test-rpc-multi-server.cpp rpc: include nb in the get_alloc_size cache key and floor the result at ggml_nbytes (#29283) 2026-09-25 10:35:09 +03:00
test-rpc-multi-server.sh rpc: avoid serializing buffers from other servers (#26500) 2026-08-30 20:26:16 +03:00
test-rpc-unreachable.cpp ggml-rpc : fail gracefully on unreachable endpoints and failed handshakes (#30415) 2026-11-10 09:40:35 +02:00
test-rset-release.cpp tests : avoid building get-model.cpp many times (#26317) 2026-07-30 19:34:04 +03:00
test-sampling.cpp llama : add missing headers (#28566) 2026-09-08 12:59:53 +02:00
test-server-component.cpp tests : fix MSVC static build of test-batch-alloc and test-server-component (#32870) 2026-11-25 00:20:46 +01:00
test-sleep.cpp ggml : add backend scheduler tests (#27258) 2026-11-19 16:40:13 +02:00
test-speculative-rejection-sampling.cpp tests : add speculative rejection draft sampling test (#30213) 2026-10-24 12:47:49 +03:00
test-thread-safety.cpp vulkan : fix concurrent first device init (#29766) 2026-10-15 10:37:35 +02:00
test-tiled-mulmat.cpp ggml-cpu: tiled mul_mat for k-quants (#27851) 2026-09-26 08:38:57 +03:00
test-tokenizer-0.cpp vocab : add clean_spaces GGUF key (#30940) 2026-10-22 09:58:08 +02:00
test-tokenizer-0.py ci : bump ty to 0.0.100 (#32030) 2026-11-10 21:54:14 +01:00
test-tokenizer-0.sh model : add Jina Embeddings v5 Nano (partial EuroBERT) support (#19826) 2026-02-26 12:14:09 +01:00
test-tokenizer-1-bpe.cpp tool/ex/tests: consistently free ctx, then model (#18168) 2025-12-22 11:00:37 +01:00
test-tokenizer-1-spm.cpp llama : honor metaspace_prepend_scheme for SPM (#31986) 2026-11-25 14:59:00 +01:00
test-tokenizer-random.py model: add Domyn Edge 4B Model (#32559) 2026-11-20 09:51:41 +02:00
test-tokenizers-repo.sh devops: add s390x & ppc64le CI (#15925) 2025-09-27 02:03:33 +08:00
test-unicode.cpp unicode : reject overlong UTF-8 and out-of-range codepoints (#30485) 2026-10-15 10:12:56 +03:00
test_conversion_fp8.py convert : fix FP8 qwen4exp checkpoints (n-gram table scale, block-scaled FP8) (#32476) 2026-11-17 22:25:01 +08:00
test_kv_cache_scales.py llama : Add FP8 KV-cache support (#28392) 2026-11-10 18:08:32 +02:00
testing.h tests : link each test against only the libraries it uses (#30299) 2026-10-12 13:32:56 +03:00