whisper.cpp/ggml/src
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
..
ggml-blas llama: add default load-mode auto, which avoids mmap on iGPUs (llama/26081) 2026-08-14 22:16:06 +03:00
ggml-cann llama: add default load-mode auto, which avoids mmap on iGPUs (llama/26081) 2026-08-14 22:16:06 +03:00
ggml-cpu ggml : recurrent state rollback for ggml_ssm_scan (llama/26623) 2026-08-14 22:16:06 +03:00
ggml-cuda ggml : recurrent state rollback for ggml_ssm_scan (llama/26623) 2026-08-14 22:16:06 +03:00
ggml-et ggml : recurrent state rollback for ggml_ssm_scan (llama/26623) 2026-08-14 22:16:06 +03:00
ggml-hexagon llama: add default load-mode auto, which avoids mmap on iGPUs (llama/26081) 2026-08-14 22:16:06 +03:00
ggml-hip ggml-hip : remove -funsafe-math-optimizations (llama/26696) 2026-08-14 22:16:06 +03:00
ggml-metal ggml : recurrent state rollback for ggml_ssm_scan (llama/26623) 2026-08-14 22:16:06 +03:00
ggml-musa ggml-cuda: native bf16 flash attention for vec kernel (llama/20525) 2026-03-29 15:04:36 +03:00
ggml-opencl opencl: default FA c8 cluster width to 16 on X1E (llama/26433) 2026-08-14 22:16:06 +03:00
ggml-openvino OpenVINO: Qwen3.5, memory optimization, and test-recurrent-state-rollback (llama/26952) 2026-08-14 22:16:06 +03:00
ggml-rpc llama: add default load-mode auto, which avoids mmap on iGPUs (llama/26081) 2026-08-14 22:16:06 +03:00
ggml-sycl ggml : recurrent state rollback for ggml_ssm_scan (llama/26623) 2026-08-14 22:16:06 +03:00
ggml-virtgpu llama: add default load-mode auto, which avoids mmap on iGPUs (llama/26081) 2026-08-14 22:16:06 +03:00
ggml-vulkan ggml : recurrent state rollback for ggml_ssm_scan (llama/26623) 2026-08-14 22:16:06 +03:00
ggml-webgpu ggml : recurrent state rollback for ggml_ssm_scan (llama/26623) 2026-08-14 22:16:06 +03:00
ggml-zdnn llama: add default load-mode auto, which avoids mmap on iGPUs (llama/26081) 2026-08-14 22:16:06 +03:00
ggml-zendnn llama: add default load-mode auto, which avoids mmap on iGPUs (llama/26081) 2026-08-14 22:16:06 +03:00
CMakeLists.txt sync : ggml (#3962) 2026-07-31 09:11:28 +02:00
ggml-alloc.c ggml-alloc: fix out-of-bounds read in ggml_dyn_tallocr_remove_block (ggml/1492) 2026-05-25 12:26:07 +03:00
ggml-backend-dl.cpp hexagon: enable offloading to Hexagon on Windows on Snapdragon (llama/19150) 2026-01-30 15:56:40 +02:00
ggml-backend-dl.h hexagon: enable offloading to Hexagon on Windows on Snapdragon (llama/19150) 2026-01-30 15:56:40 +02:00
ggml-backend-impl.h ggml: backend-agnostic tensor parallelism (experimental) (llama/19378) 2026-04-30 11:29:05 +03:00
ggml-backend-meta.cpp llama: add default load-mode auto, which avoids mmap on iGPUs (llama/26081) 2026-08-14 22:16:06 +03:00
ggml-backend-reg.cpp sync : ggml (#3962) 2026-07-31 09:11:28 +02:00
ggml-backend.cpp ggml: use dynamic allocation for split graph inputs (llama/22789) 2026-08-04 13:37:47 +03:00
ggml-common.h Add Q2_0 quantization: type definition and CPU backend (llama/24448) 2026-07-10 13:06:42 +03:00
ggml-feats.h ggml : fix arm builds, unused var (llama/26991) 2026-08-14 22:16:06 +03:00
ggml-impl.h ggml: add graph_reused (llama/21764) 2026-04-30 11:29:11 +03:00
ggml-opt.cpp fix: free ctx_copy in ggml_opt_free to plug per-training-session leak (llama/21592) 2026-04-30 11:29:03 +03:00
ggml-quants.c Add Q2_0 quantization: type definition and CPU backend (llama/24448) 2026-07-10 13:06:42 +03:00
ggml-quants.h Add Q2_0 quantization: type definition and CPU backend (llama/24448) 2026-07-10 13:06:42 +03:00
ggml-threading.cpp ggml : build backends as libraries (llama/10256) 2024-11-20 21:00:08 +02:00
ggml-threading.h remove CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS (llama/10797) 2024-12-18 12:52:16 +02:00
ggml.c ggml : recurrent state rollback for ggml_ssm_scan (llama/26623) 2026-08-14 22:16:06 +03:00
ggml.cpp ggml : Print backtrace on uncaught C++ exceptions (ggml/1232) 2025-05-29 09:56:26 +03:00
gguf.cpp gguf : harden loader against malformed tensor dims and metadata types (llama/25596) 2026-08-14 22:16:06 +03:00