Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1007 commits
Select commit Hold shift + click to select a range
0b71540
common : fix state save in common_prompt_batch_decode (#23468)
danbev Jun 2, 2026
2187e00
StepFun 3.5 MTP (#23274)
pwilkin Jun 2, 2026
bfb4308
model : support granite multilingual embeddings R2 (ibm-granite/grani…
hansolosan Jun 2, 2026
4fb16ec
model: add Mellum architecture (#23966)
Xarbirus Jun 2, 2026
5c394fd
hexagon: profiler output fix and script updates (#24042)
max-krasnyansky Jun 2, 2026
63e66fd
opencl: use flat variants of q4_K and q6_K gemv for very large M (#24…
lhez Jun 2, 2026
e366626
arg : removed unecesary mmproj download when users pass --no-mmproj (…
ryan-mangeno Jun 3, 2026
4da6370
ci : disable ccache for msvc windows release jobs (#23911)
ggerganov Jun 3, 2026
d545a2a
update BoringSSL to 0.20260526.0 (#23794)
cabelo Jun 3, 2026
06938ac
tests : add support for qwen3 SSM archs (#24031)
ggerganov Jun 3, 2026
f8f0a47
cuda: reserve space for quantize kv-cache at startup (#23907)
am17an Jun 3, 2026
3571fa5
ggml-cpu: use runtime SVE width in FWHT (#24059)
chaxu01 Jun 3, 2026
9e58d4d
Avoid PDL race conditions by disabling __restrict__ when PDL is used …
aendk Jun 3, 2026
ee4cf70
ui: Mermaid Diagrams in chat + interactive preview (#24032)
allozaur Jun 3, 2026
a731805
mtmd, model: allow skip build_vit() (#24077)
ngxson Jun 3, 2026
c8d6a00
mtmd: enable non-causal vision for gemma 4 unified (#24082)
ngxson Jun 3, 2026
166fe29
qwen35: use post-norm hidden state for MTP (#24025)
am17an Jun 3, 2026
94a220c
mtmd: fix Gemma 4 unified FPE (#24088)
abetlen Jun 3, 2026
f478f1b
sycl : Improve SYCL doc (#23025)
malsbat Jun 4, 2026
3c7450c
ggml-cpu: extend RVV quantization vec dot to higher VLENs (#22754)
rehan-10xengineer Jun 4, 2026
e8c5489
ggml-webgpu: FlashAttention refactor + standardize quantization suppo…
reeselevine Jun 4, 2026
3d19986
metal : reduce rset heartbeat from 500ms -> 5ms (#24074)
ggerganov Jun 4, 2026
65ef50a
tests : refactor test-save-load-state to accept token input (#24073)
ggerganov Jun 4, 2026
6ddc943
readme : add status badges (#24104)
ggerganov Jun 4, 2026
e3ba22d
fix(mtmd): handle Gemma 4 audio projector embedding size (#24091)
abetlen Jun 4, 2026
7ac5a42
cmake: skip cvector-generator and export-lora when CPU backend is dis…
arichiardi Jun 4, 2026
0066404
server : add header to tools/server/server-http.h (#24089)
abawany Jun 4, 2026
4d74287
build : use umbrella Headers directory for XCFramework module map (#2…
gmarzjr Jun 4, 2026
4586479
webui: fix tool selector toggle/counter, key tools by stable identity…
ServeurpersoCom Jun 4, 2026
a121232
agents: refactor, include more guidelines (#24111)
ngxson Jun 4, 2026
6f3a9f3
server: avoid unnecessary checkpoint restore when new tokens are pres…
Abioy Jun 4, 2026
4c51309
ggml: vectorize ggml_vec_dot_q4_1_q8_1 with WASM SIMD128 (#22209)
sirohikartik Jun 4, 2026
e802356
convert: Fix Gemma 4 Unified conversion (#24118)
pcuenca Jun 4, 2026
0dbfa66
return filter to save memory (#24125)
forforever73 Jun 4, 2026
5269770
ui: added single line reasoning preview (#23601)
gugugiyu Jun 4, 2026
21444c8
ui: Fixed packages (#24119)
allozaur Jun 4, 2026
e7bcf1c
Move duplicated imatrix code into single common imatrix-loader.cpp (#…
bartowski1182 Jun 4, 2026
42b2d60
webui: [a11y] fix keyboard navigation issues in chat interface and si…
vignesh191 Jun 4, 2026
260862b
arg: fix double mtp downloads (#24128)
ngxson Jun 4, 2026
7c158fb
server : disable on-device spec checkpoints (#24108)
ggerganov Jun 4, 2026
253b00a
vocab: add minicpm5 pre-tokenizer (#161)
ismail-codar Jun 4, 2026
02f9af6
fix(cuda): MTP + sm_89 compatibility fixes for GCC 12 host compiler (…
altifilmperisi Jun 4, 2026
8cc38c2
CUDA driver bug fixes for RTX 50xx (sm_100/sm_120) with NVIDIA driver…
aggroed Jun 4, 2026
9682c9b
spec: avoid all-token outputs during MTP prefill (#149)
claude-eric-steiner Jun 4, 2026
8e12d35
server: tighten cache_key slot reuse (#157)
ezcoder Jun 4, 2026
a62320c
mtmd: port gemma4uv/gemma4ua support — fixes Gemma 4 12B vision (#163…
TheTom Jun 5, 2026
7fe2ae4
sycl : port multi-column MMVQ from CUDA backend (#21845)
masonmilby Jun 5, 2026
46fa662
ci : build-msys job slimming [no ci] (#24157)
danbev Jun 5, 2026
2154a0f
CUDA: enroll mul_mat_vec_q_moe into pdl (#24087)
ORippler Jun 5, 2026
3ecfb15
kleidiai : dynamic chunck-based scheduling for hybrid execution (#23819)
chaxu01 Jun 5, 2026
7acb4e8
hparams : refactor `hparams.n_layer` (#24060)
ggerganov Jun 5, 2026
59917d3
minor : fix lint issues (#24165)
ggerganov Jun 5, 2026
ad1b88c
docs: Update quantization readme (#24133)
pcuenca Jun 5, 2026
cc7bef3
ui: add ignore-scripts=true to npmrc (#24149)
ngxson Jun 5, 2026
9c955c4
Fix link to available UI settings (#24169)
wariuccio Jun 5, 2026
c9aa86a
fix: add host-staged cross-GPU copy fallback for non-NVLink multi-GPU…
h4rm0n1c Jun 5, 2026
2016bf2
ui: run npm install when package-lock.json is newer than node_modules…
ServeurpersoCom Jun 5, 2026
96fbe00
model : fix llama_model::n_gpu_layers() (#24188)
ggerganov Jun 5, 2026
86591c7
cli: fix model params not propagated (#23893)
therealkenc Jun 5, 2026
6effcec
TP: round up granularity to 128 (#24180)
JohannesGaessler Jun 5, 2026
64086f2
model, mtmd: Granite4 Vision (#23545)
gabe-l-hart Jun 5, 2026
c4a278d
model: fix build failed (#24193)
ngxson Jun 5, 2026
e82beaa
vulkan: add fwht support for Intel with shmem reduction (#23964)
0cc4m Jun 5, 2026
da87e9b
common/chat : unify and fix LFM2/LFM2.5 tool parser (#24178)
tdakhran Jun 5, 2026
308f61c
opencl: improve get_rows, cpy, concat and q6_k flat gemv (#24160)
lhez Jun 5, 2026
7d9715f
server: fix router child process lifecycle deadlock (dining philosoph…
h4rm0n1c Jun 5, 2026
603300b
context : fix off-by-one comparisons to n_gpu_layers (#24208)
CISC Jun 6, 2026
5343f45
model : rename local n_layer_all variable (#24209)
CISC Jun 6, 2026
5a69c97
vulkan: check coopmat2 features before reporting support (#24186)
0cc4m Jun 6, 2026
f5c6ae1
mtmd, server: add "placeholder bitmap" for counting tokens , add */in…
ngxson Jun 6, 2026
588f0dc
completion : fix format specifier in LOG_INF (#24213)
angt Jun 6, 2026
6b80c74
completion : remove useless statics (#24226)
angt Jun 6, 2026
31e8249
mtmd: support "frame merge" for qwen-vl-based models (#21858)
ngxson Jun 6, 2026
98d5e8b
common/chat : fix LFM2/LFM2.5 reasoning round-trip and <think> leak (…
tdakhran Jun 6, 2026
3f7c79d
docker : bump cuda13 to 13.3.0 (#24228)
CISC Jun 7, 2026
f71af35
convert : fix Gemma4 with no audio encoder (#24242)
CISC Jun 7, 2026
465b1f0
arg: Skip mmproj download when user supplied mmproj (#24239)
konradmb Jun 7, 2026
8a091c4
spec : fix vocab compatibility check (#24256)
CISC Jun 7, 2026
04eb4c4
llama : add Gemma4 MTP (#23398)
am17an Jun 7, 2026
f0156d1
kv-cache: follow the source cache size when sharing cells (#24267)
ServeurpersoCom Jun 7, 2026
379ac66
kv-cache : avoid kv cells copies (#24277)
ggerganov Jun 7, 2026
8a963fc
convert : fix conversion for Mistral-Medium-3.5-128B (#24268)
dfriehs Jun 7, 2026
9e3b928
common : relax sampler name matching (#23744)
ddh0 Jun 7, 2026
d403f00
[SYCL] Update compute runtime version to 26.x in docker (#24070)
arthw Jun 8, 2026
daf6bc9
metal : fix im2col 1D case (audio models) (#24220)
ngxson Jun 8, 2026
19bba67
HIP: add gfx1152 and gfx1153 to RDNA3.5 (#24129)
harkgill-amd Jun 8, 2026
0f7fada
cuda: reset cuda context after reading memory size (#23935)
0cc4m Jun 8, 2026
c74759a
vulkan: Use cm2 decode_vector for mul_mat_id B matrix loads (#23991)
jeffbolznv Jun 8, 2026
715b86a
cli: fix spinner not show during prompt processing (#24283)
ngxson Jun 8, 2026
6a1de6f
ggml : bump version to 0.14.0 (ggml/1533)
ggerganov Jun 8, 2026
c2b1518
sync : ggml
ggerganov Jun 8, 2026
8f83d6c
mtmd : add video input support (#24269)
ngxson Jun 8, 2026
3ebe862
docker: install ffmpeg in the released image (#24302)
ngxson Jun 8, 2026
3b3da01
[ggml-webgpu] Implement 2D workgroups for scale, binary, and unary op…
nikhilJain17 Jun 8, 2026
1705d43
[ggml-webgpu] Handle buffer overlap / buffer aliasing for concat oper…
nikhilJain17 Jun 8, 2026
a66d505
graph: guard iswa kq_mask on its own buffer (#24294)
ServeurpersoCom Jun 8, 2026
47106bd
fork: drop pre-norm Qwen MTP (#149) ahead of upstream MTP lineage
TheTom Jun 8, 2026
19c7616
llama: avoid copying logits during prompt decode in MTP (#23198)
am17an May 17, 2026
672261e
llama : MTP clean-up (#23269)
ggerganov May 19, 2026
41aef76
model : clarify MTP layer comment in qwen35.cpp [no ci] (#23338)
danbev May 19, 2026
1c9f2df
common/speculative : fix nullptr crash in get_devices_str (#23386)
ggerganov May 20, 2026
697d19c
Move to backend sampling for MTP draft path (#23287)
gaugarg-nv May 20, 2026
57cffb2
llama-graph: fix null-buffer crash in llm_graph_input_attn_kv_iswa fo…
ssfdre38 May 21, 2026
676b3ed
mtp: use inp_out_ids for skipping logit computation (#23433)
am17an May 21, 2026
46cc11a
model : add NVFP4 MTP scale tensors (#23563)
michaelw9999 May 23, 2026
ab11a71
llama: add llm_graph_input_mtp (#23643)
am17an May 29, 2026
337e04c
speculative : fix n_outputs_max and remove draft-simple auto-enable (…
ggerganov Jun 1, 2026
7560617
tests : add support for qwen3 SSM archs (#24031)
ggerganov Jun 3, 2026
0c809f0
qwen35: use post-norm hidden state for MTP (#24025)
am17an Jun 3, 2026
d55c844
hparams : refactor `hparams.n_layer` (#24060)
ggerganov Jun 5, 2026
6d9a4a8
spec : fix vocab compatibility check (#24256)
CISC Jun 7, 2026
d1e70aa
llama : add Gemma4 MTP (#23398)
am17an Jun 7, 2026
2f756e6
fork: reconcile MTP lineage with TurboQuant+ KV cache
TheTom Jun 8, 2026
42a0afd
server : do not parse when flushing http headers (#24281)
aldehir Jun 8, 2026
7d2b45b
mtp: support for gemma-4 E2B and E4B assistants (#24282)
max-krasnyansky Jun 8, 2026
1e1aca0
ggml-webgpu: Improve prefill speeds for k-quants + refactor matmul fo…
yomaytk Jun 8, 2026
3ac3c20
ggml-webgpu: Add clang-format job (#24308)
reeselevine Jun 9, 2026
e3471b3
Remove case for GGML_TYPE_Q4_K in mvvq.cu (#23528)
ravel7524 Jun 9, 2026
fd3271e
ggml-cpu : fix rms_norm_back wrong output under in-place aliasing (#2…
devYRPauli Jun 9, 2026
f0152ef
models : fix plamo2 attention_key/value_length regression (#24317)
CISC Jun 9, 2026
961e9a3
server : do not clear slots without unified KV cache (#24190)
fiesh Jun 9, 2026
2602169
ggml : add GGML_OP_COL2IM_1D (#24206)
ServeurpersoCom Jun 9, 2026
efbacf8
ui: fix mobile chat form overflow and bust stale bundle cache (#24158)
ServeurpersoCom Jun 9, 2026
1e91256
server: log prompts to directory (#22031)
jacekpoplawski Jun 9, 2026
9682e35
mtmd: refactor video subproc handling (#24316)
ngxson Jun 9, 2026
ae735b1
ui: Fix excessive style recalculation on hover (#24243)
ntowle Jun 9, 2026
b4e3dc6
vulkan: add `v_dot2_f32_f16` support in matrix-matrix multiplication …
0cc4m Jun 9, 2026
d6d0ce8
vulkan: reduce iq1 shared memory usage for mul_mm (#24287)
jeffbolznv Jun 9, 2026
49f3542
mtmd: build_vit batching (#24352)
sfallah Jun 9, 2026
4836095
ui: add opt-in run_javascript frontend tool (#24244)
ServeurpersoCom Jun 9, 2026
e25a32e
ci : fix windows release (#24369)
CISC Jun 9, 2026
d73cd07
graph: Fix granite speech model inference by applying embedding scale…
arnu515 Jun 9, 2026
76da245
webui: implement pinned conversations support (#21387)
remeh Jun 9, 2026
de389e0
vulkan: fix f16vec4 casts in cm1 FA quantized K/V decode paths
TheTom Jun 9, 2026
469c9c4
mtp: fix standalone all-nextn draft KV cache (gemma4-assistant)
TheTom Jun 9, 2026
3c0efbd
HIP/MUSA: fix build break from unguarded 3D peer memcpy and bare cuda…
TheTom Jun 10, 2026
2e68087
Merge pull request #172 from TheTom/feat/gemma4-mtp
TheTom Jun 10, 2026
73eb521
CUDA/HIP: fix -Werror CI failures (unused warp_id, missing D=640 CDNA…
TheTom Jun 10, 2026
d2e22ed
speculative : fix "ngram-map-k4v" name in logging (#24253)
ddh0 Jun 10, 2026
039e20a
ci : bump komac version (#24396)
CISC Jun 10, 2026
0b8bdb2
server: fix abort on exact prompt-cache match with hybrid/recurrent m…
kmehan Jun 10, 2026
fb83cc9
CUDA: Fix ssm_scan_f32 data-races (#24360)
ORippler Jun 10, 2026
d2462f8
chat: fix LFM2/LFM2.5 ignoring json_schema (#24377)
tdakhran Jun 10, 2026
e95dae1
Remove padding and multiple D2D copies for MTP (#24086)
gaugarg-nv Jun 10, 2026
ac4cdde
vendor : update LibreSSL to 4.3.2 (#24397)
angt Jun 10, 2026
db94854
server : skip checkpoints beyond pos_next (#24411)
aldehir Jun 11, 2026
68f3066
vocab : refactor normalizer flags into options struct, add strip_acce…
o7si Jun 11, 2026
1bfbdb1
vocab : adopt leading TemplateProcessing special token as BOS (#24428)
o7si Jun 11, 2026
18ef86e
server: skip unused log lines on router mode (#24463)
ngxson Jun 11, 2026
1af154a
vulkan: use medium matmul tile on Asahi Linux (#24306)
xingjianll Jun 11, 2026
fdc3db9
vulkan: add fast path for contiguous buffer transfers (#23973)
winstonma Jun 11, 2026
17e59d6
ggml : bump version to 0.15.0 (ggml/1539)
ggerganov Jun 11, 2026
263cc04
sync : ggml
ggerganov Jun 11, 2026
4c65955
vulkan: ifdef eMesaHoneykrisp (build fix) (#24479)
jeffbolznv Jun 11, 2026
1593d56
docker : support specifying the GCC version for CUDA (#24447)
wencan Jun 11, 2026
ba1df05
opencl: add q5_0/q5_1 gemm and gemv kernels for Adreno (#24319)
shaofeiqi Jun 12, 2026
099ea76
[SYCL] Fix CI build & release for SYCL backend (#24387)
arthw Jun 12, 2026
85f99dc
ggml: support concat for scalar types at cuda backend (#24011)
zihaomu Jun 12, 2026
88a3927
spec: add EAGLE3 speculative decoding support (#18039)
ruixiang63 Jun 12, 2026
6471e3c
UI/jpeg exif orientation (#24196)
ServeurpersoCom Jun 12, 2026
70b54e1
vendor : update cpp-httplib to 0.47.0 (#24395)
angt Jun 12, 2026
e08c226
ggml : bump version to 0.15.1 (ggml/1541)
ggerganov Jun 12, 2026
f532be8
sync : ggml
ggerganov Jun 12, 2026
02182fc
fit : avoid including llama-ext.h in fit.h (#24506)
ggerganov Jun 12, 2026
f7ca93d
ui: PWA support (#23871)
allozaur Jun 12, 2026
3e7bd4f
vulkan: add pipeline barriers for memcpy read operations (#23770)
0cc4m Jun 12, 2026
ebc1077
server : fix reasoning budget WebUI precedence over model.ini (#24517)
ggerganov Jun 12, 2026
f0d5cc9
Merge pull request #175 from kmehan/fix/recurrent-seq-rm-exact-match-…
TheTom Jun 12, 2026
cd50446
ci : unbreak release (#24544)
CISC Jun 12, 2026
f58bad4
ci : unbreak release harder (#24545)
CISC Jun 12, 2026
e37abd6
mtmd: add batching API (#24384)
ngxson Jun 12, 2026
c34b922
fix sycl links in release notes (#24527)
muhammad-salem Jun 13, 2026
d8a24cc
fit : wrap llama_device_memory_data (#24522)
ggerganov Jun 13, 2026
57fe1f0
server: clean up static assets handling (#24550)
ngxson Jun 13, 2026
597b667
ui: keep original file name and path (#24568)
ngxson Jun 13, 2026
1a7718b
vulkan: support non-contig unary/glu ops (#24215)
jeffbolznv Jun 13, 2026
7985f6b
HIP: fix turbo KV decode crash under graph capture; batch-aware VEC/T…
KaiFelixBennett Jun 13, 2026
341babc
jinja : fix split and replace with empty first arg (#24574)
CISC Jun 13, 2026
e8067a8
ui: build-time gzip compression (#24571)
ngxson Jun 13, 2026
f05cf46
jinja : fix negative step slice with start/stop values (#24580)
CISC Jun 13, 2026
4988f6e
Add arch support for cohere2-MoE (#24260)
michaelw9999 Jun 13, 2026
53bd47e
ui : fix llama-ui-embed crash when no asset dir is given (#24597)
aldehir Jun 13, 2026
c2ba3e4
add sycl to check-release (#24583)
CISC Jun 14, 2026
4672211
ci : use CUDA label for cuda backend (#24594)
CISC Jun 14, 2026
8ed274e
Add cohere2moe to llama-vocab for TINY_AYA (#24601)
bartowski1182 Jun 14, 2026
6e14286
cli : fix not copying preserved tokens (#24258)
michaelw9999 Jun 14, 2026
acd79d6
jinja : add count/d/e filter aliases (#24606)
CISC Jun 14, 2026
1fd6dfe
ui : fix ui clipping in mobile due to incorrect height setup (#24605)
amoshydra Jun 14, 2026
d75ef87
Merge upstream/master into feature/turboquant-kv-cache
TheTom Jun 14, 2026
ed81ed0
CUDA/HIP: implement get_rows for TQ4_1S and TQ3_1S
TheTom Jun 17, 2026
7d5ac40
vulkan: fix botched-merge FA shader preprocessor + gate turbo FA
TheTom Jun 17, 2026
f94c3b8
vulkan: force f32 accumulation for quantized K/V flash attention
TheTom Jun 17, 2026
36dc8e2
rpc : update GGML_OP_COUNT assert for TURBO_WHT op (fixes RPC builds)
TheTom Jun 17, 2026
35ac80d
Merge pull request #182 from TheTom/tom/catchup-from-feature
TheTom Jun 17, 2026
8f3fbc0
fix: tolerate leading whitespace before <think> tags in all PEG parsers
h4rm0n1c Jun 17, 2026
2f86617
vulkan: fuse TurboQuant K/V dequant into flash attention
TheTom Jun 18, 2026
58d401e
Merge pull request #183 from h4rm0n1c/fix/think-whitespace
TheTom Jun 18, 2026
4595fff
Merge pull request #184 from TheTom/tom/vulkan-turbo-fa
TheTom Jun 18, 2026
d6ae83f
fix server checkpoints with parallel restore
Jake-K Jun 24, 2026
a33ef00
Merge pull request #193 from JakeATX/codex/checkpoint-restore-isolation
TheTom Jun 24, 2026
77ab7e9
turbo4: correct Lloyd-Max centroids (KLD/PPL fix), drop dead rnorm 68…
TheTom Jun 26, 2026
b3e51cf
feat(fattn): fused turbo4 MMA decode path (opt-in) — based on the spi…
TheTom Jun 26, 2026
38dc665
turbo4 MMA decode: default ON (GQA-packed tensor-core path, quality-n…
TheTom Jun 26, 2026
545092c
turbo3 centroids: re-derive to exact Lloyd-Max optimum (match reference)
TheTom Jun 26, 2026
4e223ee
fattn: extend fused MMA decode to turbo3 + turbo2 (parity on turbo4; …
TheTom Jun 26, 2026
539ce5d
fix(fattn): gate turbo2 fused-MMA decode to head_dim 128
TheTom Jun 27, 2026
0c8fcfe
Merge pull request #197 from TheTom/crush/turbo4
TheTom Jun 30, 2026
bb81d33
docs: add TurboQuant+ prebuild links
TheTom Jul 1, 2026
b01afef
metal: drop write to removed `rnorm` field in turbo4_0 (fixes Apple S…
auguststurm Jun 30, 2026
eb7e30f
ci: add Linux TurboQuant+ prebuilds
TheTom Jul 1, 2026
791713e
ci: add Linux asset uploader for TurboQuant releases
TheTom Jul 1, 2026
558c6b7
docs: add Linux prebuild links
TheTom Jul 1, 2026
3c2aabd
CUDA: only support F32/F16 for GGML_OP_REPEAT (#24533)
leonardHONG Jun 15, 2026
9fa94c2
chat: fix whitespace problems once and for all (#24624)
pwilkin Jun 15, 2026
45d1951
chat: fix an "oldie but goodie" grammar generator bug that surfaced d…
pwilkin Jun 15, 2026
75967d3
chat: harden peg-native tool call parsing (#24329)
ServeurpersoCom Jun 15, 2026
f6c8209
server: fix non-bound n_discard value (ctx shifting) (#24786)
ngxson Jun 19, 2026
3aab96e
server: fix edit_file crash on append at end of file (line_start -1) …
ServeurpersoCom Jun 22, 2026
10d18c9
vulkan: Apply bias before softmax in FA, to avoid overflow (#24909)
jeffbolznv Jun 24, 2026
667c60a
ggml : address integer overflows in binary ops CUDA implementation (#…
fairydreaming Jun 25, 2026
60afa2a
CUDA: fix Gemma E4B MTP FlashAttention (#25148)
JohannesGaessler Jun 30, 2026
b88f779
cuda : prevent integer truncation and overflow errors when using KQ m…
fairydreaming Jun 30, 2026
fa63687
ggml-cpu: fix SVE leftover path in ggml_vec_dot_f32 (#24699)
tdakhran Jun 26, 2026
78390ba
llama: add n_embd_inp_enc encoder-input hparams (DFlash dependency; e…
TheTom Jul 2, 2026
5d0c292
spec : add DFlash support (#22105)
ruixiang63 Jun 28, 2026
a4fd3ad
dflash: refactor draft model conversion (#25110)
ruixiang63 Jun 28, 2026
bc5c9c8
tests: cover turbo4 in SET_ROWS round-trip and flash-attn cross-backe…
Defilan Jul 4, 2026
03ff848
vulkan: drop removed rnorm field from turbo4_0 block (fix 66/68-byte …
Defilan Jul 4, 2026
175a652
vulkan: sync turbo4 centroid tables with the re-derived C reference
Defilan Jul 4, 2026
eaf98e6
server: persist context checkpoints in a sidecar file for slot save/r…
apollo-mg Jul 5, 2026
337f08e
Merge pull request #204 from Defilan/fix/vulkan-turbo4-block-layout
TheTom Jul 5, 2026
31e029d
Merge pull request #206 from apollo-mg/fix/slot-restore-checkpoint-si…
TheTom Jul 5, 2026
3d42fa1
docs: document server slot save/restore + context checkpoint sidecar …
TheTom Jul 5, 2026
7c97a87
fix: OOB reads in UGM tokenizer (precompiled_charsmap handling) (#18750)
hourhl Jul 8, 2026
380601f
speculative : fix out-of-bounds read in ngram-map on prompt shrink (#…
o7si Jul 7, 2026
47cb06a
vulkan: fix 32-bit integer overflow in CEIL_DIV (#25245)
hokanosekai Jul 6, 2026
9c1ddef
llama : add guard for K/V rotation input when buffer is unallocated (…
liminfei-amd Jul 4, 2026
172a2a7
ggml : fix tensor-parallel + -ncmoe crash on MoE models (#25028)
liminfei-amd Jul 5, 2026
212b49c
spec: support spec-draft-p-min in DFlash (#25246)
ruixiang63 Jul 3, 2026
a395d83
CUDA: extend K-type validation to V-types for flash attention (#24403)
sanmai Jul 6, 2026
a9c40da
Merge pull request #202 from TheTom/cherry-upstream-fixes
TheTom Jul 9, 2026
206e18e
Merge pull request #201 from TheTom/cherry-dflash
TheTom Jul 9, 2026
8e3c455
llama: fix NaN device-split when all devices report zero free memory …
TheTom Jul 9, 2026
c3e6dbb
Merge pull request #210 from TheTom/fix-209
TheTom Jul 9, 2026
59f8ab2
cuda: carve sm_60 out of FAST_FP16 paths (fp32 arithmetic like sm_61)
apollo-mg Jul 11, 2026
30d6881
Merge pull request #212 from apollo-mg/sm60-fp32-carveout
TheTom Jul 12, 2026
4503343
docs: point prebuilt table at tqp-v0.3.0
TheTom Jul 12, 2026
e15b824
Merge remote-tracking branch 'origin/pr-103' into turbo-dflash
giveen Jul 14, 2026
90a1f5d
dflash: port PR #103 to current feature/turboquant-kv-cache
giveen Jul 14, 2026
cde61eb
dflash: fix output_reserve assertion in llama-cli
giveen Jul 14, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
17 changes: 17 additions & 0 deletions .devops/cann.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
# Define the CANN base image for easier version updates later
ARG CHIP_TYPE=910b
ARG CANN_BASE_IMAGE=quay.io/ascend/cann:8.5.0-${CHIP_TYPE}-openeuler24.03-py3.11
ARG BUILD_DATE=N/A
ARG APP_VERSION=N/A
ARG APP_REVISION=N/A

# ==============================================================================
# BUILD STAGE
Expand Down Expand Up @@ -55,6 +58,7 @@ RUN mkdir -p /app/lib && \
RUN mkdir -p /app/full && \
cp build/bin/* /app/full/ && \
cp *.py /app/full/ && \
cp -r conversion /app/full/ && \
cp -r gguf-py /app/full/ && \
cp -r requirements /app/full/ && \
cp requirements.txt /app/full/
Expand All @@ -67,6 +71,19 @@ RUN mkdir -p /app/full && \
# ==============================================================================
FROM ${CANN_BASE_IMAGE} AS base

ARG BUILD_DATE=N/A
ARG APP_VERSION=N/A
ARG APP_REVISION=N/A
ARG IMAGE_URL=https://github.com/ggml-org/llama.cpp
ARG IMAGE_SOURCE=https://github.com/ggml-org/llama.cpp
LABEL org.opencontainers.image.created=$BUILD_DATE \
org.opencontainers.image.version=$APP_VERSION \
org.opencontainers.image.revision=$APP_REVISION \
org.opencontainers.image.title="llama.cpp" \
org.opencontainers.image.description="LLM inference in C/C++" \
org.opencontainers.image.url=$IMAGE_URL \
org.opencontainers.image.source=$IMAGE_SOURCE

# -- Install runtime dependencies --
RUN yum install -y libgomp curl && \
yum clean all && \
Expand Down
19 changes: 18 additions & 1 deletion .devops/cpu.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
ARG UBUNTU_VERSION=24.04
ARG BUILD_DATE=N/A
ARG APP_VERSION=N/A
ARG APP_REVISION=N/A

FROM ubuntu:$UBUNTU_VERSION AS build

Expand Down Expand Up @@ -27,6 +30,7 @@ RUN mkdir -p /app/lib && \
RUN mkdir -p /app/full \
&& cp build/bin/* /app/full \
&& cp *.py /app/full \
&& cp -r conversion /app/full \
&& cp -r gguf-py /app/full \
&& cp -r requirements /app/full \
&& cp requirements.txt /app/full \
Expand All @@ -35,8 +39,21 @@ RUN mkdir -p /app/full \
## Base image
FROM ubuntu:$UBUNTU_VERSION AS base

ARG BUILD_DATE=N/A
ARG APP_VERSION=N/A
ARG APP_REVISION=N/A
ARG IMAGE_URL=https://github.com/ggml-org/llama.cpp
ARG IMAGE_SOURCE=https://github.com/ggml-org/llama.cpp
LABEL org.opencontainers.image.created=$BUILD_DATE \
org.opencontainers.image.version=$APP_VERSION \
org.opencontainers.image.revision=$APP_REVISION \
org.opencontainers.image.title="llama.cpp" \
org.opencontainers.image.description="LLM inference in C/C++" \
org.opencontainers.image.url=$IMAGE_URL \
org.opencontainers.image.source=$IMAGE_SOURCE

RUN apt-get update \
&& apt-get install -y libgomp1 curl \
&& apt-get install -y libgomp1 curl ffmpeg \
&& apt autoremove -y \
&& apt clean -y \
&& rm -rf /tmp/* /var/tmp/* \
Expand Down
26 changes: 23 additions & 3 deletions .devops/cuda.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,26 @@
ARG UBUNTU_VERSION=24.04
# This needs to generally match the container host's environment.
ARG CUDA_VERSION=12.8.1
ARG GCC_VERSION=14
# Target the CUDA build image
ARG BASE_CUDA_DEV_CONTAINER=nvidia/cuda:${CUDA_VERSION}-devel-ubuntu${UBUNTU_VERSION}

ARG BASE_CUDA_RUN_CONTAINER=nvidia/cuda:${CUDA_VERSION}-runtime-ubuntu${UBUNTU_VERSION}

ARG BUILD_DATE=N/A
ARG APP_VERSION=N/A
ARG APP_REVISION=N/A

FROM ${BASE_CUDA_DEV_CONTAINER} AS build

ARG GCC_VERSION
# CUDA architecture to build for (defaults to all supported archs)
ARG CUDA_DOCKER_ARCH=default

RUN apt-get update && \
apt-get install -y gcc-14 g++-14 build-essential cmake python3 python3-pip git libssl-dev libgomp1
apt-get install -y gcc-${GCC_VERSION} g++-${GCC_VERSION} build-essential cmake python3 python3-pip git libssl-dev libgomp1

ENV CC=gcc-14 CXX=g++-14 CUDAHOSTCXX=g++-14
ENV CC=gcc-${GCC_VERSION} CXX=g++-${GCC_VERSION} CUDAHOSTCXX=g++-${GCC_VERSION}

WORKDIR /app

Expand All @@ -32,6 +38,7 @@ RUN mkdir -p /app/lib && \
RUN mkdir -p /app/full \
&& cp build/bin/* /app/full \
&& cp *.py /app/full \
&& cp -r conversion /app/full \
&& cp -r gguf-py /app/full \
&& cp -r requirements /app/full \
&& cp requirements.txt /app/full \
Expand All @@ -40,8 +47,21 @@ RUN mkdir -p /app/full \
## Base image
FROM ${BASE_CUDA_RUN_CONTAINER} AS base

ARG BUILD_DATE=N/A
ARG APP_VERSION=N/A
ARG APP_REVISION=N/A
ARG IMAGE_URL=https://github.com/ggml-org/llama.cpp
ARG IMAGE_SOURCE=https://github.com/ggml-org/llama.cpp
LABEL org.opencontainers.image.created=$BUILD_DATE \
org.opencontainers.image.version=$APP_VERSION \
org.opencontainers.image.revision=$APP_REVISION \
org.opencontainers.image.title="llama.cpp" \
org.opencontainers.image.description="LLM inference in C/C++" \
org.opencontainers.image.url=$IMAGE_URL \
org.opencontainers.image.source=$IMAGE_SOURCE

RUN apt-get update \
&& apt-get install -y libgomp1 curl \
&& apt-get install -y libgomp1 curl ffmpeg \
&& apt autoremove -y \
&& apt clean -y \
&& rm -rf /tmp/* /var/tmp/* \
Expand Down
51 changes: 42 additions & 9 deletions .devops/intel.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,22 @@
ARG ONEAPI_VERSION=2025.3.2-0-devel-ubuntu24.04
ARG ONEAPI_VERSION=2025.3.3-0-devel-ubuntu24.04
ARG BUILD_DATE=N/A
ARG APP_VERSION=N/A
ARG APP_REVISION=N/A

## Build Image

FROM intel/deep-learning-essentials:$ONEAPI_VERSION AS build

ARG GGML_SYCL_F16=OFF
ARG LEVEL_ZERO_VERSION=1.28.2
ARG LEVEL_ZERO_UBUNTU_VERSION=u24.04
RUN apt-get update && \
apt-get install -y git libssl-dev
apt-get install -y git libssl-dev wget ca-certificates && \
cd /tmp && \
wget -q "https://github.com/oneapi-src/level-zero/releases/download/v${LEVEL_ZERO_VERSION}/level-zero_${LEVEL_ZERO_VERSION}%2B${LEVEL_ZERO_UBUNTU_VERSION}_amd64.deb" -O level-zero.deb && \
wget -q "https://github.com/oneapi-src/level-zero/releases/download/v${LEVEL_ZERO_VERSION}/level-zero-devel_${LEVEL_ZERO_VERSION}%2B${LEVEL_ZERO_UBUNTU_VERSION}_amd64.deb" -O level-zero-devel.deb && \
apt-get -o Dpkg::Options::="--force-overwrite" install -y ./level-zero.deb ./level-zero-devel.deb && \
rm -f /tmp/level-zero.deb /tmp/level-zero-devel.deb

WORKDIR /app

Expand All @@ -26,18 +36,42 @@ RUN mkdir -p /app/lib && \
RUN mkdir -p /app/full \
&& cp build/bin/* /app/full \
&& cp *.py /app/full \
&& cp -r conversion /app/full \
&& cp -r gguf-py /app/full \
&& cp -r requirements /app/full \
&& cp requirements.txt /app/full \
&& cp .devops/tools.sh /app/full/tools.sh

FROM intel/deep-learning-essentials:$ONEAPI_VERSION AS base

ARG IGC_VERSION=v2.30.1
ARG IGC_VERSION_FULL=2_2.30.1+20950
ARG COMPUTE_RUNTIME_VERSION=26.09.37435.1
ARG COMPUTE_RUNTIME_VERSION_FULL=26.09.37435.1-0
ARG IGDGMM_VERSION=22.9.0
ARG BUILD_DATE=N/A
ARG APP_VERSION=N/A
ARG APP_REVISION=N/A
ARG IMAGE_URL=https://github.com/ggml-org/llama.cpp
ARG IMAGE_SOURCE=https://github.com/ggml-org/llama.cpp
LABEL org.opencontainers.image.created=$BUILD_DATE \
org.opencontainers.image.version=$APP_VERSION \
org.opencontainers.image.revision=$APP_REVISION \
org.opencontainers.image.title="llama.cpp" \
org.opencontainers.image.description="LLM inference in C/C++" \
org.opencontainers.image.url=$IMAGE_URL \
org.opencontainers.image.source=$IMAGE_SOURCE

#Following versions are for multiple GPUs, since 26.x has known issue:
# https://github.com/ggml-org/llama.cpp/issues/21747,
# https://github.com/intel/compute-runtime/issues/921.
#ARG IGC_VERSION=v2.20.5
#ARG IGC_VERSION_FULL=2_2.20.5+19972
#ARG COMPUTE_RUNTIME_VERSION=25.40.35563.10
#ARG COMPUTE_RUNTIME_VERSION_FULL=25.40.35563.10-0
#ARG IGDGMM_VERSION=22.8.2


ARG IGC_VERSION=v2.34.4
ARG IGC_VERSION_FULL=2_2.34.4+21428
ARG COMPUTE_RUNTIME_VERSION=26.18.38308.1
ARG COMPUTE_RUNTIME_VERSION_FULL=26.18.38308.1-0
ARG IGDGMM_VERSION=22.10.0
RUN mkdir /tmp/neo/ && cd /tmp/neo/ \
&& wget https://github.com/intel/intel-graphics-compiler/releases/download/$IGC_VERSION/intel-igc-core-${IGC_VERSION_FULL}_amd64.deb \
&& wget https://github.com/intel/intel-graphics-compiler/releases/download/$IGC_VERSION/intel-igc-opencl-${IGC_VERSION_FULL}_amd64.deb \
Expand All @@ -51,7 +85,7 @@ RUN mkdir /tmp/neo/ && cd /tmp/neo/ \
&& dpkg --install *.deb

RUN apt-get update \
&& apt-get install -y libgomp1 curl \
&& apt-get install -y libgomp1 curl ffmpeg \
&& apt autoremove -y \
&& apt clean -y \
&& rm -rf /tmp/* /var/tmp/* \
Expand Down Expand Up @@ -109,4 +143,3 @@ WORKDIR /app
HEALTHCHECK CMD [ "curl", "-f", "http://localhost:8080/health" ]

ENTRYPOINT [ "/app/llama-server" ]

17 changes: 17 additions & 0 deletions .devops/llama-cli-cann.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
ARG ASCEND_VERSION=8.5.0-910b-openeuler22.03-py3.10
ARG BUILD_DATE=N/A
ARG APP_VERSION=N/A
ARG APP_REVISION=N/A

FROM ascendai/cann:$ASCEND_VERSION AS build

Expand Down Expand Up @@ -28,6 +31,20 @@ RUN echo "Building with static libs" && \

# TODO: use image with NNRT
FROM ascendai/cann:$ASCEND_VERSION AS runtime

ARG BUILD_DATE=N/A
ARG APP_VERSION=N/A
ARG APP_REVISION=N/A
ARG IMAGE_URL=https://github.com/ggml-org/llama.cpp
ARG IMAGE_SOURCE=https://github.com/ggml-org/llama.cpp
LABEL org.opencontainers.image.created=$BUILD_DATE \
org.opencontainers.image.version=$APP_VERSION \
org.opencontainers.image.revision=$APP_REVISION \
org.opencontainers.image.title="llama.cpp" \
org.opencontainers.image.description="LLM inference in C/C++" \
org.opencontainers.image.url=$IMAGE_URL \
org.opencontainers.image.source=$IMAGE_SOURCE

COPY --from=build /app/build/bin/llama-cli /app/build/bin/llama-completion /

ENV LC_ALL=C.utf8
Expand Down
20 changes: 19 additions & 1 deletion .devops/musa.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ ARG BASE_MUSA_DEV_CONTAINER=mthreads/musa:${MUSA_VERSION}-devel-ubuntu${UBUNTU_V

ARG BASE_MUSA_RUN_CONTAINER=mthreads/musa:${MUSA_VERSION}-runtime-ubuntu${UBUNTU_VERSION}-amd64

ARG BUILD_DATE=N/A
ARG APP_VERSION=N/A
ARG APP_REVISION=N/A

FROM ${BASE_MUSA_DEV_CONTAINER} AS build

# MUSA architecture to build for (defaults to all supported archs)
Expand Down Expand Up @@ -37,6 +41,7 @@ RUN mkdir -p /app/lib && \
RUN mkdir -p /app/full \
&& cp build/bin/* /app/full \
&& cp *.py /app/full \
&& cp -r conversion /app/full \
&& cp -r gguf-py /app/full \
&& cp -r requirements /app/full \
&& cp requirements.txt /app/full \
Expand All @@ -45,8 +50,21 @@ RUN mkdir -p /app/full \
## Base image
FROM ${BASE_MUSA_RUN_CONTAINER} AS base

ARG BUILD_DATE=N/A
ARG APP_VERSION=N/A
ARG APP_REVISION=N/A
ARG IMAGE_URL=https://github.com/ggml-org/llama.cpp
ARG IMAGE_SOURCE=https://github.com/ggml-org/llama.cpp
LABEL org.opencontainers.image.created=$BUILD_DATE \
org.opencontainers.image.version=$APP_VERSION \
org.opencontainers.image.revision=$APP_REVISION \
org.opencontainers.image.title="llama.cpp" \
org.opencontainers.image.description="LLM inference in C/C++" \
org.opencontainers.image.url=$IMAGE_URL \
org.opencontainers.image.source=$IMAGE_SOURCE

RUN apt-get update \
&& apt-get install -y libgomp1 curl \
&& apt-get install -y libgomp1 curl ffmpeg \
&& apt autoremove -y \
&& apt clean -y \
&& rm -rf /tmp/* /var/tmp/* \
Expand Down
32 changes: 31 additions & 1 deletion .devops/nix/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
glibc,
config,
stdenv,
stdenvNoCC,
runCommand,
cmake,
ninja,
Expand All @@ -16,8 +17,12 @@
rocmPackages,
vulkan-headers,
vulkan-loader,
spirv-headers,
openssl,
shaderc,
spirv-headers,
nodejs,
importNpmLock,
useBlas ?
builtins.all (x: !x) [
useCuda
Expand Down Expand Up @@ -102,6 +107,7 @@ let
vulkan-headers
vulkan-loader
shaderc
spirv-headers
];
in

Expand All @@ -128,7 +134,31 @@ effectiveStdenv.mkDerivation (finalAttrs: {
src = lib.cleanSource ../../.;
};

postPatch = ''
# Builds the webui locally, taking care not to require updating any sha256 hash.
webui = stdenvNoCC.mkDerivation {
pname = "webui";
version = llamaVersion;
src = lib.cleanSource ../../tools/ui;

nativeBuildInputs = [
nodejs
importNpmLock.linkNodeModulesHook
];

# no sha256 required when using buildNodeModules
npmDeps = importNpmLock.buildNodeModules {
npmRoot = ../../tools/ui;
inherit nodejs;
};

installPhase = ''
LLAMA_UI_OUT_DIR=$out npm run build --offline
'';
};

postPatch = lib.optionalString useWebUi ''
cp -r ${finalAttrs.webui} tools/ui/dist
chmod -R u+w tools/ui/dist
'';

# With PR#6015 https://github.com/ggml-org/llama.cpp/pull/6015,
Expand Down
Loading