llama_cpp_for_radxa_dragon_.../src
Juk Armstrong daa422881a
llama : DeepSeek V2/V3 MLA implementation (#12801)
* Merged using squash to remove all noise commit messages

* Force flash attention off for `LLM_ARCH_DEEPSEEK2` - embedding too large

* Removed 3 conts (2x RoPE and 1x RMS-norm)

* Changed to use `<cmath>` instead of `<math.h>`

* Reverted removal of the 3 conts

* Used `reshape` in `llm_graph_context::build_attn_mha()`

* Use `k_pe = ggml_reshape`

* Removed the 3 conts again

* Removed the 3D views of `wk_b` and `wv_b`, and just save and 3D in GGUF

* Removed MQA optimisation from `build_attn_mha()` as no gains now

* Simplified `is_mla` branch in `llm_build_deepseek2()`

* Removed `build_attn_mla` and added `nullptr` to all `build_atnn` calls

* Fixed call to `build_attn` in `llm_build_t5_enc`
2025-04-15 09:49:57 +03:00
..
CMakeLists.txt ci: detach common from the library (#12827) 2025-04-09 10:11:11 +02:00
llama-adapter.cpp llama : make loras compatible with repacking (#12593) 2025-03-27 08:24:10 +02:00
llama-adapter.h llama : refactor llama_context, llama_kv_cache, llm_build_context (#12181) 2025-03-13 12:35:44 +02:00
llama-arch.cpp llama : DeepSeek V2/V3 MLA implementation (#12801) 2025-04-15 09:49:57 +03:00
llama-arch.h llama : DeepSeek V2/V3 MLA implementation (#12801) 2025-04-15 09:49:57 +03:00
llama-batch.cpp llama : refactor src/llama.cpp (#10902) 2025-01-03 10:18:53 +02:00
llama-batch.h llama : refactor llama_context, llama_kv_cache, llm_build_context (#12181) 2025-03-13 12:35:44 +02:00
llama-chat.cpp llama : Support llama 4 text-only (#12791) 2025-04-07 23:06:44 +02:00
llama-chat.h llama : Support llama 4 text-only (#12791) 2025-04-07 23:06:44 +02:00
llama-context.cpp llama : DeepSeek V2/V3 MLA implementation (#12801) 2025-04-15 09:49:57 +03:00
llama-context.h Load all MoE experts during warmup (#11571) 2025-03-14 13:47:05 +01:00
llama-cparams.cpp llama : refactor src/llama.cpp (#10902) 2025-01-03 10:18:53 +02:00
llama-cparams.h Load all MoE experts during warmup (#11571) 2025-03-14 13:47:05 +01:00
llama-grammar.cpp tool-call: fix Qwen 2.5 Coder support, add micro benchmarks, support trigger patterns for lazy grammars (#12034) 2025-03-05 13:05:13 +00:00
llama-grammar.h tool-call: fix Qwen 2.5 Coder support, add micro benchmarks, support trigger patterns for lazy grammars (#12034) 2025-03-05 13:05:13 +00:00
llama-graph.cpp llama : DeepSeek V2/V3 MLA implementation (#12801) 2025-04-15 09:49:57 +03:00
llama-graph.h llama : DeepSeek V2/V3 MLA implementation (#12801) 2025-04-15 09:49:57 +03:00
llama-hparams.cpp hparams : add SWA rope parameters (#12374) 2025-03-14 09:03:24 +02:00
llama-hparams.h llama : DeepSeek V2/V3 MLA implementation (#12801) 2025-04-15 09:49:57 +03:00
llama-impl.cpp GGUF: C++ refactor, backend support, misc fixes (#11030) 2025-01-07 18:01:58 +01:00
llama-impl.h cleanup: fix compile warnings associated with gnu_printf (#11811) 2025-02-12 10:06:53 -04:00
llama-io.cpp llama : refactor llama_context, llama_kv_cache, llm_build_context (#12181) 2025-03-13 12:35:44 +02:00
llama-io.h llama : refactor llama_context, llama_kv_cache, llm_build_context (#12181) 2025-03-13 12:35:44 +02:00
llama-kv-cache.cpp llama : DeepSeek V2/V3 MLA implementation (#12801) 2025-04-15 09:49:57 +03:00
llama-kv-cache.h kv-cache : simplify + fix warning for recurrent models (#12756) 2025-04-04 21:48:10 +03:00
llama-memory.cpp llama : refactor llama_context, llama_kv_cache, llm_build_context (#12181) 2025-03-13 12:35:44 +02:00
llama-memory.h kv-cache : simplify + fix warning for recurrent models (#12756) 2025-04-04 21:48:10 +03:00
llama-mmap.cpp mmap : skip resource limit checks on AIX (#12541) 2025-03-24 12:17:10 +02:00
llama-mmap.h llama-mmap: fix missing include (#11796) 2025-02-10 20:58:18 +02:00
llama-model-loader.cpp model : print tensor size during load (#12711) 2025-04-02 16:38:54 +03:00
llama-model-loader.h llama : add option to override model tensor buffers (#11397) 2025-04-02 14:52:01 +02:00
llama-model.cpp llama : DeepSeek V2/V3 MLA implementation (#12801) 2025-04-15 09:49:57 +03:00
llama-model.h llama : DeepSeek V2/V3 MLA implementation (#12801) 2025-04-15 09:49:57 +03:00
llama-quant.cpp quantize: Handle user-defined quantization levels for additional tensors (#12511) 2025-04-13 21:29:28 +03:00
llama-quant.h llama : refactor src/llama.cpp (#10902) 2025-01-03 10:18:53 +02:00
llama-sampling.cpp llama: fix error on bad grammar (#12628) 2025-03-28 18:08:52 +01:00
llama-sampling.h llama : add llama_vocab, functions -> methods, naming (#11110) 2025-01-12 11:32:42 +02:00
llama-vocab.cpp llama-model : add Glm4Model implementation for GLM-4-0414 (#12867) 2025-04-11 12:10:10 +02:00
llama-vocab.h llama : remove notion of CLS token (#11064) 2025-01-12 12:15:53 +02:00
llama.cpp llama : add option to override model tensor buffers (#11397) 2025-04-02 14:52:01 +02:00
unicode-data.cpp server : better security control for public deployments (#9776) 2024-10-08 13:27:04 +02:00
unicode-data.h llama : reduce compile time and binary size (#9712) 2024-10-02 15:49:55 +02:00
unicode.cpp repo : update links to new url (#11886) 2025-02-15 16:40:57 +02:00
unicode.h unicode : improve naming style (#10838) 2024-12-16 12:31:45 +02:00