whisper.cpp/ggml/src/ggml-cpu
lnigam b7ea8b19bf ggml : recurrent state rollback for ggml_ssm_scan (llama/26623)
* Initial changes for Recurrent state rollback for nemotron for cpu and cuda

* Removing CPU RS rollback. Will enable it in subsequent PRs

* addition of test case

* Removing assert and calling runtime API to check if op is supported

* removing extra API and updating the call sites for K

* replace static cuda detection to runtime fused_op api

* address review comments and fallback when SSM rollback not supprted

* Adding changes for supporting RS-rollback in CPU. Also added test-backend-ops for cpu and cuda

* removing memory manipulation as rs rollback is now supported in CPU

* removing the static probe which is not needed now

* correcting the format

* address review comments

* enabling test for all the backends, unsupported backends will fallback to CPU

* Apply suggestions from code review

Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>

* choose different graph based on the result of fused_ssm_op is supported or not and also handled memory->n_rs_seq >1 case incase of op is not supported

* Support K > 1 in ssm_scan for all backends

* Fix CI Issues

---------

Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
Co-authored-by: Gaurav Garg <gaugarg@nvidia.com>
2026-08-14 22:16:06 +03:00
..
amx ggml : optimize AMX (llama/24806) 2026-06-26 16:03:57 +03:00
arch ggml : fix arm builds, unused var (llama/26991) 2026-08-14 22:16:06 +03:00
cmake ggml-cpu: Add IME2 Instruction Support for the SpacemiT Backend (llama/22863) 2026-05-25 12:26:07 +03:00
kleidiai ggml : fix arm builds, unused var (llama/26991) 2026-08-14 22:16:06 +03:00
llamafile sync : ggml (#3962) 2026-07-31 09:11:28 +02:00
spacemit ggml-cpu : fix missing Q5_0 dispatch in SpaceMiT backend (llama/26792) 2026-08-14 22:16:06 +03:00
CMakeLists.txt sync : ggml (#3962) 2026-07-31 09:11:28 +02:00
arch-fallback.h Add Q2_0 quantization: type definition and CPU backend (llama/24448) 2026-07-10 13:06:42 +03:00
binary-ops.cpp ggml : extend bin bcast for permuted src1 (llama/19484) 2026-02-15 21:44:37 +02:00
binary-ops.h cpu: de-duplicate some of the operators and refactor (ggml/1144) 2025-03-31 14:56:53 +03:00
common.h ggml-cpu: FA add GEMM microkernel (llama/19422) 2026-02-27 20:57:58 +02:00
ggml-cpu-impl.h ggml : fix ARM NEON nvfp4 dot product on non-dotprod targets (llama/21559) 2026-04-30 11:29:08 +03:00
ggml-cpu.c ggml: force single thread on wasi (llama/25686) 2026-08-14 22:16:06 +03:00
ggml-cpu.cpp ggml : recurrent state rollback for ggml_ssm_scan (llama/26623) 2026-08-14 22:16:06 +03:00
hbm.cpp ggml-cpu : split arch-specific implementations (llama/13892) 2025-06-10 12:40:33 +03:00
hbm.h ggml-cpu : split arch-specific implementations (llama/13892) 2025-06-10 12:40:33 +03:00
ops.cpp ggml : recurrent state rollback for ggml_ssm_scan (llama/26623) 2026-08-14 22:16:06 +03:00
ops.h sync : ggml (#3962) 2026-07-31 09:11:28 +02:00
quants.c Add Q2_0 quantization: type definition and CPU backend (llama/24448) 2026-07-10 13:06:42 +03:00
quants.h Add Q2_0 quantization: type definition and CPU backend (llama/24448) 2026-07-10 13:06:42 +03:00
repack.cpp sync : ggml (#3962) 2026-07-31 09:11:28 +02:00
repack.h ggml-cpu: add RVV repack GEMM and GEMV for quantization types (llama/19121) 2026-03-16 13:10:15 +02:00
simd-gemm.h ggml : fix A indexing in simd_gemm scalar tail-column path (llama/25390) 2026-07-10 13:06:42 +03:00
simd-mappings.h ggml-cpu: use UE4M3 LUT in ARM NVFP4 dot product (llama/25331) 2026-07-10 13:06:42 +03:00
traits.cpp ggml : fix fallback to CPU for ununsupported ops (llama/15118) 2025-08-18 20:30:45 +03:00
traits.h ggml : fix fallback to CPU for ununsupported ops (llama/15118) 2025-08-18 20:30:45 +03:00
unary-ops.cpp ggml : unary ops support non-cont src0 + metal F16 unary ops (llama/19511) 2026-02-15 21:44:37 +02:00
unary-ops.h ggml : add ops SOFTPLUS, EXPM1, TRI, SOLVE_TRI, CUMSUM (llama/17063) 2025-11-17 21:05:46 +02:00
vec.cpp ggml-cpu: fix SVE leftover path in ggml_vec_dot_f32 (llama/24699) 2026-06-26 16:03:57 +03:00
vec.h ggml: fixed Arm SVE usage bug in vec.h, vec.cpp (llama/22841) 2026-05-29 09:47:30 +03:00