llama.cpp/tests
anujj 0fb8f15770
Title: CUDA: few-row MMQ for BS 2-24 (#31533)
* CUDA: few-row MMQ for 2-24 src1 columns

New int8 MMA kernel for quantized mat-muls with 2-24 src1 columns, e.g. speculative decoding verify passes.
Supports Q8_0, Q3_K, Q4_K, Q5_K, Q6_K, IQ3_S, IQ4_NL and IQ4_XS on NVIDIA GPUs from Ampere on.

* nit fixes

* CUDA-only guard for few-row MMQ, weights flag in test_mul_mat

* few-row quantize: DS4 sum from the quantized values, as in #31247

* few-row MMQ: clearer HIP/MUSA abort, test_mul_mat two-context build

* few-row MMQ: dispatch order MMVQ, few-row, MMQ
2026-11-12 21:12:45 +08:00
..
fusion model: add Kimi-K3.1-Pro text model (#31779) 2026-11-06 23:42:46 +01:00
llama-context memory: refuse rollbacks past the snapshots of the last ubatch (#31368) 2026-10-30 10:11:58 +02:00
peg-parser common, grammar: add recursive depth limit, make it a requirement (#31153) 2026-10-25 23:53:08 +01:00
snapshots llama-quant : fix 4D tensor quantization using ggml_nrows() and name-based expert detection (#30820) 2026-10-25 13:28:38 +02:00
.gitignore tests : consolidate context state tests into test-llama-context (#30023) 2026-10-13 16:21:55 +03:00
CMakeLists.txt ci: move test models to ggml-org-dev (#32096) 2026-11-11 21:17:16 +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 : add alloc_buffer_n to buffer type interface (#23671) 2026-10-02 11:08:08 +03:00
test-arg-parser.cpp feat: external PLE file loading (#31185) 2026-11-09 19:41:01 +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 Title: CUDA: few-row MMQ for BS 2-24 (#31533) 2026-11-12 21:12:45 +08: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-tensor.cpp cuda : gather batched tensor reads into mapped host memory (PR to master) (#31391) 2026-11-03 15:31:50 +05:30
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 spec: properly handle mtmd input for mtp (#30257) 2026-10-10 11:22:38 +02: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 chat : refactor gemma4 to build loose schema rules and clean up (#31915) 2026-11-12 09:44:42 +02: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 : catch vanished rows in the fusion baseline (#30618) 2026-10-16 09:35:19 +03: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 common, grammar: add recursive depth limit, make it a requirement (#31153) 2026-10-25 23:53:08 +01: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 grammar: limit recursion depth to prevent stack overflow (#29495) (#29755) 2026-10-25 12:10:10 +01: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 jinja : support chained comparisons and argument unpacking (#32072) 2026-11-11 11:53:04 -06: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 : implement common_schema internal representation for JSON schemas (#28736) 2026-09-12 16:14:50 -05:00
test-kv-cache.cpp tests : use only the public ggml API (#32077) 2026-11-11 12:01:24 +02:00
test-llama-archs.cpp tests : keep dummy ffn.act scales away from zero (#31940) 2026-11-09 14:54:27 +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 common/grammar: fix grammar parsing issues to prevent stack overflow and hangs (#18604) 2026-03-21 18:43:35 +01: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: add mtmd_helper_resampler (#31964) 2026-11-09 23:04:39 +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-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 server: add oai-compat /v1/audio/speech endpoint (#31763) 2026-11-09 23:58:52 +01: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 tool/ex/tests: consistently free ctx, then model (#18168) 2025-12-22 11:00:37 +01:00
test-tokenizer-random.py requirements : update transformers to 5.5.1 (#21617) 2026-04-09 12:36:29 +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 Quant: OCP FP8 E4M3 support (#27512) 2026-10-29 18:14:37 +01: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