Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
436 commits
Select commit Hold shift + click to select a range
8d2e580
metal : add f16 and bf16 support for concat operator (#24724)
ggerganov Jun 17, 2026
0843245
metal : implement rope_back operator (#24725)
ggerganov Jun 17, 2026
2e88c49
ggml-cpu: Conditionally enable power11 backend based on compiler supp…
shalinib-ibm Jun 17, 2026
f3e1828
mtmd: llava_uhd should no longer use batch dim (#24732)
ngxson Jun 17, 2026
cae0a3b
metal : check for BF16 support in concat kernel (#24747)
ggerganov Jun 18, 2026
4a79037
ci : fix Windows x64 (OpenVINO) release link (#24731)
ravi9 Jun 18, 2026
0b73fc7
ui: Update code formatting command in pre-commit hook (#24685)
allozaur Jun 18, 2026
6f1034b
[SYCL] support OPs: conv_2d, conv_2d_dw, conv2d_transpose (#24600)
arthw Jun 18, 2026
32e806b
ci : fix check-release message parsing (#24751)
CISC Jun 18, 2026
6ec59dd
app : enable self-update only when built with llama-install.sh (#24754)
angt Jun 18, 2026
dd69db2
sycl : support MUL_MAT and OUT_PROD with Q1_0 (#24721)
arthw Jun 18, 2026
9724f66
[SYCL] rename GGML_SYCL_SUPPORT_LEVEL_ZERO (#24719)
arthw Jun 18, 2026
24bba7b
mtmd: refactor preprocessor, add mtmd_image_preproc_out (#24736)
ngxson Jun 18, 2026
968c438
server: fix router args not being forwarded to child instances (#24760)
ngxson Jun 18, 2026
552258c
server: (router) rework -hf preset repo (#24739)
ngxson Jun 18, 2026
1078621
server : return HTTP 400 on invalid grammar (#24144) (#24154)
Anuj-Attri Jun 18, 2026
2083217
ui: provide touch accessible model selection UI (#24604)
amoshydra Jun 18, 2026
0802307
server : add last-5-seconds generation speed display (#24291)
akx Jun 18, 2026
e1efd09
server: add "schema" and validation (#24150)
ngxson Jun 18, 2026
fe7c8b2
server: (router) fix stopping_thread potentially hang (#24728)
ngxson Jun 18, 2026
7b6c5a2
docs: fix export-lora --lora-scaled syntax [no release] (#24703)
kkkzbh Jun 18, 2026
d2c6795
hexagon: support for op-trace (fine-grain tracing of HVX/HMX/DMA eve…
max-krasnyansky Jun 18, 2026
060ce1b
mtmd: refactor llava-uhd overview image handling (always use ov_img_f…
ngxson Jun 18, 2026
32eddaf
cmake : fix ui build with read-only source (#24752)
o7si Jun 18, 2026
a6b3260
mtmd: add batching for mtmd-cli, add video tests (#24778)
ngxson Jun 18, 2026
40f3aaf
server: add "X-Accel-Buffering": "no" header to streaming endpoints (…
regunakyle Jun 18, 2026
3a3edc9
Ggml/cuda col2im 1d (#24417)
ServeurpersoCom Jun 18, 2026
db52540
mtmd: add batching support for internvl (#24775)
ngxson Jun 18, 2026
8141e73
ggml-cpu: support K tails in power10 Q8/Q4 MMA matmul (#24753)
shalinib-ibm Jun 19, 2026
80452d6
server : consolidate slot selection into get_available_slot (#24755)
ggerganov Jun 19, 2026
5bd21b8
pi : remove docs from system prompt (#24791)
ggerganov Jun 19, 2026
1868af1
ggml : bump version to 0.15.2 (ggml/1548)
ggerganov Jun 19, 2026
5fd2dc2
sync : ggml
ggerganov Jun 19, 2026
159d093
server: fix non-bound n_discard value (ctx shifting) (#24786)
ngxson Jun 19, 2026
b14e3fb
spec: support eagle3 for qwen3.5 & 3.6 (#24593)
ruixiang63 Jun 19, 2026
e2e7a9b
mtmd: several bug fixes (#24784)
ngxson Jun 19, 2026
38724ab
docker : build the UI (#24794)
aldehir Jun 19, 2026
8c2d6f6
server: add --agent arg, remove redundant webui naming compat (#24801)
ngxson Jun 19, 2026
0d2d9cc
vendor : update cpp-httplib to 0.48.0 (#24787)
cabelo Jun 19, 2026
fabde3b
arg: Add comment line support to --api-key-file (#23168)
kucharskim Jun 19, 2026
175147e
server: remove all internal mentions about "webui" (#24817)
ngxson Jun 19, 2026
e475fa2
mtmd, arg: fix utf8 handling on windows (#24779)
ngxson Jun 19, 2026
4b48a53
server : optimize get_token_probabilities (#24796)
angt Jun 19, 2026
2b686a9
server: refactor child --> router communication (#24821)
ngxson Jun 19, 2026
f449e05
ggml-webgpu: add adapter toggles for F16 on Vulkan + NVIDIA
yomaytk Jun 19, 2026
f4043fe
convert : more consistent handling of rope_parameters (#24833)
CISC Jun 20, 2026
37a77fb
ggml : optimize AMX (#24806)
angt Jun 20, 2026
796f41b
model : glm-dsa load DSA indexer tensors as optional (#24770)
davidrhodus Jun 20, 2026
67e9fd3
docker : prebuild web UI for s390x build [no release] (#24829)
aldehir Jun 20, 2026
e27f308
server: avoid forwarding auth headers in CORS proxy (#24373)
ItsMatti4 Jun 20, 2026
8452824
release: add missing link for win opencl adreno arm64 (#24809)
muhammad-salem Jun 20, 2026
75f460a
arg: try fixing test-args-parser randomly fails (#24826)
ngxson Jun 20, 2026
84de01a
llama : use LLM_KV for quantization_version & file_type (#24802)
angt Jun 20, 2026
4a80943
fix(hexagon): use padded stride for ssm-conv weights (#24470)
BiReRa Jun 20, 2026
c576070
common/json-schema-to-grammar : align spacing rules with parsers (#24…
aldehir Jun 20, 2026
063d9c1
common/peg : refactor until gbnf grammar generation (#24839)
aldehir Jun 21, 2026
d789527
spec : Support Step3.5/3.7 flash mtp3 (#24340)
forforever73 Jun 21, 2026
8a118ee
minor : clean-up whitespaces (#24862)
ggerganov Jun 21, 2026
d6d8995
server: real-time model load progress tracking via /models/sse (#24828)
ngxson Jun 21, 2026
bfa3219
server: add "verbose" field to schema (#24864)
ngxson Jun 21, 2026
2f89acc
mtmd: add load progress callback (#24865)
ngxson Jun 21, 2026
bf53382
jinja : implement call statement (#24847)
CISC Jun 21, 2026
0d135df
mtmd: fix mtmd_get_memory_usage (#24867)
ngxson Jun 21, 2026
bddfd2b
server: refactor batch construction (#24843)
ngxson Jun 21, 2026
7c082bc
server: fix report progress for loading spec models, add "stages" lis…
ngxson Jun 21, 2026
52b3df0
common/peg : implement ac parser for stricter grammar generation (#24…
aldehir Jun 21, 2026
0ef6f06
docs/android.md: Add dependency `libandroid-spawn` for building in te…
aafsmarak Jun 22, 2026
d0f9d2e
server: fix edit_file crash on append at end of file (line_start -1) …
ServeurpersoCom Jun 22, 2026
37957e8
sampling : remove unconditional softmax+sort in top-n-sigma sampler (…
TimNN Jun 22, 2026
f8cc15f
[SYCL] support bf16 on bin_bcast OP and unary OPs (#24838)
arthw Jun 22, 2026
099b579
ui: model status and load progress via /models/sse feed (#24878)
ServeurpersoCom Jun 22, 2026
6ee0f65
server: refactor/generalize input file schema (#24299)
ngxson Jun 22, 2026
721354f
server: (router) move model downloading to dedicated process (#24834)
ngxson Jun 22, 2026
9c0ac88
ui: Prioritize favorite models in model selection (#24766)
mahdiou Jun 22, 2026
dec5ca5
server : Add id to tool call responses api (#24882)
boondocklabs Jun 22, 2026
23ee879
opencl: q8_0 gemv precision improvement (#24923)
shawngu-quic Jun 23, 2026
73618f2
server: improve user message detection and create checkpoints at ever…
aldehir Jun 23, 2026
035cd8f
codeowners: add yomaytk to ggml-webgpu (#24930)
yomaytk Jun 23, 2026
7c90850
ggml-webgpu: improve MTP inference by using mat-vec path for small ba…
yomaytk Jun 23, 2026
a3900a6
model: Granite Speech Plus (#24818)
gabe-l-hart Jun 23, 2026
c926ad0
vulkan: link ggml-cpu when GGML_VULKAN_CHECK_RESULTS / RUN_TESTS are …
Detensable Jun 23, 2026
75ad0b2
server: fix remote preset handling, add test (#24938)
ngxson Jun 23, 2026
0eb874d
vulkan: make mul_mm ALIGNED a spec constant (#24689)
jeffbolznv Jun 23, 2026
c560636
vulkan: support CONV_3D (#24612)
jeffbolznv Jun 23, 2026
92e854a
vulkan: Support GET_ROWS_BACK (#24883)
jeffbolznv Jun 23, 2026
72a9269
vulkan: support all backend tests for SQR/SQRT/SIN/COS/CLAMP/LEAKY_RE…
jeffbolznv Jun 23, 2026
be4a6a6
server : check draft context creation error (#24922)
Kononnable Jun 23, 2026
ac4105d
vulkan: Apply bias before softmax in FA, to avoid overflow (#24909)
jeffbolznv Jun 24, 2026
88636e1
model : Add LFM2.5-ColBERT-350M and LFM2.5-Embedding-350M (#24913)
tdakhran Jun 24, 2026
ef9c13d
ui: New Logo + Navigation cleanup & Mobile UI/UX improvements (#24897)
allozaur Jun 24, 2026
00139b6
ui: loading bar below the model picker (#24931)
ServeurpersoCom Jun 24, 2026
1191758
vulkan: fail the build when a shader fails to compile (#24450)
liminfei-amd Jun 24, 2026
51eae8c
vulkan: allow reducing the graph submission batches to avoid timeouts…
wbruna Jun 24, 2026
fb40104
common: remove unused json-partial (#24968)
ngxson Jun 24, 2026
894bb27
mtmd: model: unlimited-ocr: converter + parity test (#24969)
sfallah Jun 24, 2026
8be759e
hexagon: MUL_MAT and MUL_MAT_ID rework : 32x32 tiled weight repack, k…
max-krasnyansky Jun 24, 2026
09cedfd
chat: harden caps check (#24973)
pwilkin Jun 25, 2026
fdb2c11
opencl: support non-contig rows in norm (#24965)
lhez Jun 25, 2026
9c10954
sycl : fix the failed UT cases of conv_3d (#24900)
arthw Jun 25, 2026
e9fb3b3
sycl : support --split-mode tensor (#24152)
Spruill-1 Jun 25, 2026
b3ce5ce
quant : fix quantizing moe with mtp (#24986)
CISC Jun 25, 2026
e12a012
build: include libmtmd in Apple XCFramework (#21935)
theabecaster Jun 25, 2026
fdbd6ab
tests : synchronize contexts at end of test-thread-safety (#24935)
krystophny Jun 25, 2026
3e61ea0
ui: fix always-show-sidebar-on-desktop setting after navigation refac…
ServeurpersoCom Jun 25, 2026
f728ada
ggml : address integer overflows in binary ops CUDA implementation (#…
fairydreaming Jun 25, 2026
683b04c
app : add the llama download subcommand (#24982)
angt Jun 25, 2026
e8ecce5
docs : Eagle3 qwen3 draft model support (#24977)
kashif Jun 25, 2026
60bc886
common: refactor model handling (#24980)
ngxson Jun 25, 2026
099bf06
misc: update lables (#24920)
ngxson Jun 25, 2026
e9d1b76
server: use status code 403 for disabled features (#24970)
ngxson Jun 25, 2026
c7cddef
misc: fix labeler (#25012)
ngxson Jun 25, 2026
1ec44d1
CUDA: Various fixes to `cpy.cu` (#25000)
ORippler Jun 25, 2026
9d5d882
model : Add label for LFM2.5-230M (#25008)
tdakhran Jun 25, 2026
beac530
xcframework : disable mtmd video on i/tv/visionos (#25018)
CISC Jun 25, 2026
5c7c22c
opencl: flush profiling batch at shutdown for incomplete batches (#25…
shaofeiqi Jun 26, 2026
960d628
mamba2: remove hardcoded 2x expansion factor and invalid d_inner % d_…
limloop Jun 26, 2026
f818065
CUDA: batch out_prod broadcast (dps2>1) path with cublasSgemmBatched …
leonardHONG Jun 26, 2026
b11f7c1
mtmd: add more validations (#25013)
ngxson Jun 26, 2026
e7e3f35
sycl : clamp softmax input to avoid underflow (#24941)
Jassieluo Jun 26, 2026
1a87dcd
server + ui: SSE Replay Buffer (#23226)
ServeurpersoCom Jun 26, 2026
c16c35b
ggml-cpu: fix SVE leftover path in ggml_vec_dot_f32 (#24699)
tdakhran Jun 26, 2026
2f18fe1
CUDA: add cublasSgemmBatched mapping for HIP/MUSA vendor headers (#25…
leonardHONG Jun 26, 2026
9df0680
vulkan: Workaround compiler bug in conv2d coopmat2 path (#24924)
jeffbolznv Jun 26, 2026
ded1561
ui: fix accessibility for hover-gated interactive elements assisted b…
sanjayahari Jun 26, 2026
5a6a0dd
vulkan: add INTEL_XE1 arch enum and enable coopmat1 on Intel Xe-LPG P…
fish-jiang Jun 26, 2026
487a6cc
vulkan: opt mul_mat_vecq for mi50 (#22933)
chraac Jun 26, 2026
96183e9
ggml : bump version to 0.15.3 (ggml/1550)
ggerganov Jun 26, 2026
e7ea94a
sync : ggml
ggerganov Jun 26, 2026
5397c36
openvino: Update to OV 2026.2.1, self-contained release packages, ope…
ravi9 Jun 26, 2026
024930c
arg: fix handling --spec-draft-hf and --hf-repo-v (#25043)
ngxson Jun 26, 2026
5d8ccdf
devops : add llama in all docker images (#25035)
angt Jun 26, 2026
3fc4e10
sched : reintroduce less synchronizations during split compute (#20793)
aendk Jun 26, 2026
050ee92
app : allow --version, --licenses & --help (#25054)
angt Jun 26, 2026
83d385b
tests : fix test-chat-template --no-common option (#25075)
CISC Jun 27, 2026
0275c0f
ci : add windows-openvino to check-release (#25022)
CISC Jun 27, 2026
c299a92
binaries : Improve rpc-server and export-graph-ops names. (#25045)
ckastner Jun 27, 2026
0b6529d
vulkan: fix step operator for 0 input (#25036)
0cc4m Jun 27, 2026
9bebfcb
sycl : fix failed ut cases of norm (#25044)
arthw Jun 27, 2026
0ed235e
[CUDA] Added a cudaMemcpy2DAsync fast path to ggml_cuda_cpy (#25057)
gaugarg-nv Jun 27, 2026
ebd048f
opencl: flash attention improvement (#25069)
wanghqc Jun 27, 2026
27c8bb4
logs : reduce v2 (#25078)
ggerganov Jun 28, 2026
c1a1c8e
common : allow --offline in llama download (#25091)
angt Jun 28, 2026
d1b3425
spec : add DFlash support (#22105)
ruixiang63 Jun 28, 2026
f68a788
jinja: add --dump-prog for debugging (#25086)
ngxson Jun 28, 2026
c818263
chat : implement minicpm5 parser (#24889)
aldehir Jun 28, 2026
fa72bc6
dflash: refactor draft model conversion (#25110)
ruixiang63 Jun 28, 2026
7cb8576
ui: fix stop and reasoning skip in single-model mode (#25084)
ServeurpersoCom Jun 28, 2026
dbdaece
Revert "ui: fix accessibility for hover-gated interactive elements as…
allozaur Jun 28, 2026
b3fed31
jinja, chat: add --reasoning-preserve flag (#25105)
ngxson Jun 28, 2026
277a105
common : remove unused regex-partial (#25118)
o7si Jun 29, 2026
6cb18b2
tools/ui: restore Tailwind scanning in ignored worktrees (#24879)
seryogakovalyov Jun 29, 2026
8c146a8
DeepSeek V4 (#24162)
am17an Jun 29, 2026
25a1d63
vulkan: use flops instead of weight tensor size for submission heuris…
0cc4m Jun 29, 2026
6f4f53f
common : dedup preset and cached model entries in /v1/models (#25131)
angt Jun 29, 2026
86b9470
Revert "sched : reintroduce less synchronizations during split comput…
ORippler Jun 30, 2026
6c5de1c
ggml-webgpu: add support for NVFP4 (#25143)
yomaytk Jun 30, 2026
d9df110
HIP: use hipBLAS for dense prefill on gfx900, keep MMQ for MoE (#24588)
DEV-DUFORD Jun 30, 2026
f708a5b
vulkan: roll bk loop in matmul for asahi linux (#24663)
xingjianll Jun 30, 2026
1ef3d97
Merge ggml-org/llama.cpp:master into beellama.cpp
Jun 30, 2026
77def13
Add GGML_CUDA guards for HIP/ROCm compatibility
Jun 30, 2026
89b815d
Fix: add missing return statement in llama_model_default_params
Jun 30, 2026
d69103d
Fix failing tests:
Jun 30, 2026
13949c7
Fix test-cpu-out-prod: skip entire F16 test (CPU out_prod F16 not imp…
Jul 1, 2026
32d26b2
Fix CI compilation errors:
Jul 1, 2026
d58cef8
WIP: Apply divergent-branch-merge skill methodology
Jul 1, 2026
1075cbd
WIP: Fix constructor signatures and remove invalid build_graph override
Jul 1, 2026
a5a16d7
WIP: Task tracker installed, 151 errors after reverting constructor fix
Jul 1, 2026
c4da0c4
WIP: Fixed compilation errors - 0 compile errors, linker errors remain
Jul 1, 2026
1cf8cf4
WIP: Added DFlash implementations - 0 compile errors, linker errors f…
Jul 1, 2026
65e04f7
Fix build: 0 errors after resolving n_layer(), ggml_gated_delta_net K…
Jul 2, 2026
1e3aeee
WIP: Fixed test-ggml-op-coverage (missing OP_SYMBOL entries), test-df…
Jul 2, 2026
2f096f1
Fix Gated Delta Net snapshot slot mapping (35B-A3B fix)
Jul 2, 2026
d1fb2b6
Phase 1-2: Copy DFlash dependency headers and add missing types
Jul 2, 2026
9aa6299
Phase 3: Create dflash-server-utils module
Jul 2, 2026
4cf05de
Phase 4a: Add DFlash lifecycle hooks (init/shutdown)
Jul 2, 2026
cedbbc9
Phase 4b: Add slot and post-decode DFlash hooks
Jul 2, 2026
bafa713
Phase 5b: Add DFlash model loading and slot state management
Jul 2, 2026
d50c918
Phase 5b fix: Correct cleanup_slot_dflash to check token pointer
Jul 2, 2026
4630fce
Phase 5c: Integrate DFlash slot state with server_slot
Jul 2, 2026
6060d48
Phase 5d: Add DFlash draft generation and rollback stubs
Jul 2, 2026
894485e
Phase 5d: Add draft_tokens member and improve stubs
Jul 2, 2026
03d2c61
Phase 5d: Implement DFlash decode integration
Jul 2, 2026
fa4faee
Phase 5e: Activate DFlash decode integration hooks
Jul 2, 2026
deaea8d
Phase 5e fix: Fix draft token position increment
Jul 2, 2026
0ddf59a
Phase 5f: Fix critical DFlash decode bugs + add unit tests
Jul 2, 2026
f7588b7
Phase 5f: Use real DFlash cross-attention (remove redundant parallel …
Jul 2, 2026
add3d58
Update TASK_PROGRESS.md: Phase 5f HIGH/MEDIUM issues resolved
Jul 2, 2026
2a5904d
Restructure TASK_PROGRESS.md per persistent-task-tracker schema
Jul 2, 2026
4b5c22f
tests: fix test-quantize-fns segfault + port test-dflash-plumbing, fi…
Jul 2, 2026
67893e8
tests: split DFlash/mtmd plumbing per GLM Option C — clean CI
Jul 2, 2026
2e84f5c
Update TASK_PROGRESS: Phase 5g unit-test verification (98% CI pass)
Jul 2, 2026
33227c7
tests: delete test-mtmd-plumbing text-grep guards (GLM Option C: dele…
Jul 2, 2026
616b588
mtmd: port fork decoder_n_ubatch feature for non-causal image decode
Jul 2, 2026
09ab064
Update TASK_PROGRESS: Phase 5h mtmd decoder_n_ubatch ported
Jul 2, 2026
92a00eb
docs: record push policy (track gboddaer/merge_llama_into_beellama_2,…
Jul 2, 2026
861401b
docs: record gboddaer/main reset to pre-exercise state (adb92b36a)
Jul 2, 2026
49da28e
fix(msvc): make dflash_rollback noinline portable; fix %ld for int64_t
Jul 3, 2026
1e64f48
fix(ci): gate test-dflash-plumbing off WIN32+BUILD_SHARED_LIBS (LNK2019)
Jul 3, 2026
679226a
fix(ci): fix 2 remaining test failures (both pre-existing upstream ba…
Jul 3, 2026
9a67f56
fix(dflash): restore DFlash speculative decoding initialization (4 fi…
Jul 4, 2026
b878e64
fix(dflash): dispatch common_speculative_init by speculative type (GL…
Jul 4, 2026
805e156
fix(dflash): size dparams to n_parallel in 3-arg common_speculative_init
Jul 4, 2026
f03cbd0
docs: update TASK_PROGRESS — DFlash decode works with --parallel 1 (c…
Jul 4, 2026
064164a
docs: TASK_PROGRESS — DFlash impl identical fork-vs-merge; quality/mu…
Jul 4, 2026
6e46fef
docs: TASK_PROGRESS — GLM port strategy (HF-026/027); Step 1 span-sch…
Jul 4, 2026
ee9b221
fix(dflash): add prefill span scheduling + update_logits ring append …
Jul 4, 2026
cec71db
fix(dflash): use deferred_dflash_kv update_logits variant (matches fork)
Jul 4, 2026
9b90779
docs: TASK_PROGRESS — Step 1 progress (ring grows); remaining quality…
Jul 4, 2026
87be163
fix(dflash): port fork drafter ctx sizing (n_ctx=256, n_ubatch, kv_un…
Jul 4, 2026
b79c9ec
docs: TASK_PROGRESS — exhaustive Step 1 investigation; remaining susp…
Jul 4, 2026
6f886b7
fix(dflash): add n_min=0 to draft_params (no impact - 1-arg draft doe…
Jul 4, 2026
e079437
docs: update TASK_PROGRESS — Step 2: switch to 6-arg common_speculati…
Jul 4, 2026
7acb1f9
feat(dflash): add ring data dump for merge-vs-fork comparison (GGML_D…
Jul 4, 2026
79658f8
docs: update TASK_PROGRESS — HF-028 ring data comparison merge vs fork
Jul 5, 2026
5dc5c94
docs: update TASK_PROGRESS — HF-029 GDB flow comparison merge vs fork
Jul 5, 2026
bd489cf
docs: update TASK_PROGRESS — HF-030 GLM review of GDB findings
Jul 5, 2026
1dde67e
feat(dflash): add KV cache trace (GGML_DFLASH_KV_TRACE=1) — found roo…
Jul 5, 2026
71d761e
feat(dflash): add KV trace after decode (GGML_DFLASH_KV_TRACE=1)
Jul 5, 2026
9948dcc
feat(dflash): ROOT CAUSE FOUND — drafter produces ALL ZEROS
Jul 5, 2026
35c5f8f
fix(dflash): add llama_model_share_tensors — ROOT CAUSE of quality ga…
Jul 5, 2026
2911b27
docs: update TASK_PROGRESS — HF-031 ROOT CAUSE FOUND AND FIXED
Jul 5, 2026
f9e71a6
docs: HF-032 profit controller is NOT the remaining gap
Jul 5, 2026
ff1eb8c
docs: HF-033 prefill capture investigation — chat template is the rem…
Jul 5, 2026
ad46a87
feat(dflash): multi-slot per-slot spec architecture + seq_id fix
Jul 5, 2026
398f7dd
docs: HF-034 multi-slot DFlash — single-slot works, multi-slot 0 draf…
Jul 5, 2026
b18b600
fix(dflash): add llama_dflash_allocate_slots + set_active_slot for mu…
Jul 5, 2026
5e3faf0
fix(dflash): guard allocate_slots for multi-slot only, restore active…
Jul 5, 2026
47a41d9
docs: HF-035 multi-slot DFlash — proven facts vs hypotheses
Jul 5, 2026
e025164
docs: HF-036 lesson — longer tests needed for certainty + single-slot…
Jul 5, 2026
9610a50
fix(dflash): use ring_state_save/load instead of TODO stubs for check…
Jul 5, 2026
31c8605
docs: HF-037 DFlash quality regression — n_outputs_max is the root cause
Jul 5, 2026
5d14eec
fix(dflash): drafter n_outputs_max + ring_state_save/load + workaroun…
Jul 5, 2026
d82d04c
docs: HF-038 quality regression root cause — n_outputs_max corrupts g…
Jul 5, 2026
b6d4c9a
docs: HF-039 ROOT CAUSE — GPU-embedded hidden capture broken in merge
Jul 6, 2026
c602e87
feat(dflash): port GPU-embedded hidden capture to qwen35.cpp + graph …
Jul 6, 2026
d5c80cb
Merge commit '130ea2480bee8268907a102bd814e276f4e88bdf' into merge_ll…
Jul 8, 2026
0fe0bf5
docs: plan DFlash merge regression investigation
Jul 9, 2026
c5c1718
dflash: record merge regression diagnostics
Jul 9, 2026
a3732a5
dflash(vulkan): fix gated_delta_net snapshot slot ordering (primary D…
Jul 9, 2026
100a9ae
dflash(server): add verify_pre/verify_post QA trace for n_past/seq_ba…
Jul 9, 2026
18becc0
docs(dflash): record Phase 2 multi-piece port attempt + reversion (ro…
Jul 10, 2026
e7e206d
docs(dflash): record full coordinated Phase 2 port attempt - tape not…
Jul 10, 2026
d042743
docs(dflash): plan execution - tape populates (n_tokens>0) but rollba…
Jul 10, 2026
a200924
docs(dflash): one-position offset disproven; rollback RESTORE itself …
Jul 10, 2026
1ea80f5
docs(dflash): empirical dump - recurrent state correct, full-attentio…
Jul 10, 2026
f9138d4
docs(dflash): KV dump - BOTH recurrent + KV correct after rollback; g…
Jul 10, 2026
4fd08a3
docs(dflash): H-GHOST disproven; root cause = id_last double-decode +…
Jul 10, 2026
32e99d3
docs(dflash): full state-value comparison - re-decode cell-pos misali…
Jul 10, 2026
23f07ad
docs(dflash): cell-pos trim fix - PARTIAL improvement (8→1 line diver…
Jul 10, 2026
37a89c8
dflash(vulkan): fix rollback corruption — skip tape_replay (double-ad…
Jul 11, 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
  •  
  •  
  •  
20 changes: 18 additions & 2 deletions .devops/cann.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,20 @@ ARG APP_REVISION=N/A
# BUILD STAGE
# Compile all binary files and libraries
# ==============================================================================
ARG NODE_VERSION=24

FROM docker.io/node:$NODE_VERSION AS web

ARG APP_VERSION

WORKDIR /app/tools/ui

COPY tools/ui/package.json tools/ui/package-lock.json ./
RUN npm ci

COPY tools/ui/ ./
RUN LLAMA_BUILD_NUMBER="$APP_VERSION" npm run build

FROM ${CANN_BASE_IMAGE} AS build

# -- Install build dependencies --
Expand All @@ -26,6 +40,8 @@ WORKDIR /app
# -- Copy project files --
COPY . .

COPY --from=web /app/tools/ui/dist tools/ui/dist

# -- Set CANN environment variables (required for compilation) --
# Using ENV instead of `source` allows environment variables to persist across the entire image layer
ENV ASCEND_TOOLKIT_HOME=/usr/local/Ascend/ascend-toolkit/latest
Expand Down Expand Up @@ -129,7 +145,7 @@ ENTRYPOINT ["/app/tools.sh"]
# ==============================================================================
FROM base AS light

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

ENTRYPOINT [ "/app/llama-cli" ]

Expand All @@ -140,7 +156,7 @@ FROM base AS server

ENV LLAMA_ARG_HOST=0.0.0.0

COPY --from=build /app/full/llama-server /app
COPY --from=build /app/full/llama /app/full/llama-server /app

HEALTHCHECK --interval=5m CMD [ "curl", "-f", "http://localhost:8080/health" ]

Expand Down
38 changes: 34 additions & 4 deletions .devops/cpu.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,21 @@

ARG UBUNTU_VERSION=24.04

FROM ubuntu:$UBUNTU_VERSION AS build
ARG NODE_VERSION=24

FROM docker.io/node:$NODE_VERSION AS web

ARG APP_VERSION

WORKDIR /app/tools/ui

COPY tools/ui/package.json tools/ui/package-lock.json ./
RUN npm ci

COPY tools/ui/ ./
RUN LLAMA_BUILD_NUMBER="$APP_VERSION" npm run build

FROM docker.io/ubuntu:$UBUNTU_VERSION AS build

ARG TARGETARCH

Expand All @@ -20,6 +34,11 @@ COPY . .
RUN --mount=type=cache,target=/root/.ccache \
if [ "$TARGETARCH" = "amd64" ] || [ "$TARGETARCH" = "arm64" ]; then \
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DGGML_NATIVE=OFF -DLLAMA_BUILD_TESTS=OFF -DGGML_BACKEND_DL=ON -DGGML_CPU_ALL_VARIANTS=ON -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache; \

COPY --from=web /app/tools/ui/dist tools/ui/dist

RUN if [ "$TARGETARCH" = "amd64" ] || [ "$TARGETARCH" = "arm64" ]; then \
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DGGML_NATIVE=OFF -DLLAMA_BUILD_TESTS=OFF -DGGML_BACKEND_DL=ON -DGGML_CPU_ALL_VARIANTS=ON; \
else \
echo "Unsupported architecture"; \
exit 1; \
Expand All @@ -40,7 +59,7 @@ RUN mkdir -p /app/full \
&& cp .devops/tools.sh /app/full/tools.sh

## Base image
FROM ubuntu:$UBUNTU_VERSION AS base
FROM docker.io/ubuntu:$UBUNTU_VERSION AS base

RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
--mount=type=cache,target=/var/lib/apt/lists,sharing=locked \
Expand All @@ -63,6 +82,17 @@ LABEL org.opencontainers.image.created=$BUILD_DATE \
org.opencontainers.image.url=$IMAGE_URL \
org.opencontainers.image.source=$IMAGE_SOURCE


RUN apt-get update \
&& apt-get install -y libgomp1 curl ffmpeg \
&& apt autoremove -y \
&& apt clean -y \
&& rm -rf /tmp/* /var/tmp/* \
&& find /var/cache/apt/archives /var/lib/apt/lists -not -name lock -type f -delete \
&& find /var/cache -type f -delete

COPY --from=build /app/lib/ /app

### Full
FROM base AS full

Expand All @@ -89,7 +119,7 @@ ENTRYPOINT ["/app/tools.sh"]
### Light, CLI only
FROM base AS light

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

WORKDIR /app

Expand All @@ -100,7 +130,7 @@ FROM base AS server

ENV LLAMA_ARG_HOST=0.0.0.0

COPY --from=build /app/full/llama-server /app
COPY --from=build /app/full/llama /app/full/llama-server /app

WORKDIR /app

Expand Down
51 changes: 47 additions & 4 deletions .devops/cuda.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,36 @@
ARG UBUNTU_VERSION=22.04
# This needs to generally match the container host's environment.
ARG CUDA_VERSION=12.4.1

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_DEV_CONTAINER=docker.io/nvidia/cuda:${CUDA_VERSION}-devel-ubuntu${UBUNTU_VERSION}

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


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

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

FROM docker.io/node:$NODE_VERSION AS web

ARG APP_VERSION

WORKDIR /app/tools/ui

COPY tools/ui/package.json tools/ui/package-lock.json ./
RUN npm ci

COPY tools/ui/ ./
RUN LLAMA_BUILD_NUMBER="$APP_VERSION" npm run build

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
# CMake target to build. Keep "all" for full/local images; CI server images set this to llama-server.
Expand All @@ -22,12 +45,21 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \

ENV CC=gcc CXX=g++ CUDAHOSTCXX=g++ CCACHE_SLOPPINESS=time_macros CCACHE_MAXSIZE=5G

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

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

WORKDIR /app

COPY . .

RUN --mount=type=cache,target=/root/.ccache \
if [ "${CUDA_DOCKER_ARCH}" != "default" ]; then \

COPY --from=web /app/tools/ui/dist tools/ui/dist

RUN if [ "${CUDA_DOCKER_ARCH}" != "default" ]; then \
export CMAKE_ARGS="-DCMAKE_CUDA_ARCHITECTURES=${CUDA_DOCKER_ARCH}"; \
fi && \
cmake -S . -B build -G Ninja \
Expand Down Expand Up @@ -86,6 +118,17 @@ LABEL org.opencontainers.image.created=$BUILD_DATE \
org.opencontainers.image.url=$IMAGE_URL \
org.opencontainers.image.source=$IMAGE_SOURCE


RUN apt-get update \
&& apt-get install -y libgomp1 curl ffmpeg \
&& apt autoremove -y \
&& apt clean -y \
&& rm -rf /tmp/* /var/tmp/* \
&& find /var/cache/apt/archives /var/lib/apt/lists -not -name lock -type f -delete \
&& find /var/cache -type f -delete

COPY --from=build /app/lib/ /app

### Full
FROM base AS full

Expand Down Expand Up @@ -113,7 +156,7 @@ ENTRYPOINT ["/app/tools.sh"]
### Light, CLI only
FROM base AS light

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

WORKDIR /app

Expand All @@ -124,7 +167,7 @@ FROM base AS server

ENV LLAMA_ARG_HOST=0.0.0.0

COPY --from=build /app/full/llama-server /app
COPY --from=build /app/full/llama /app/full/llama-server /app

WORKDIR /app

Expand Down
68 changes: 63 additions & 5 deletions .devops/intel.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,26 @@ ARG ONEAPI_VERSION=2025.3.3-0-devel-ubuntu24.04

## Build Image

FROM intel/deep-learning-essentials:$ONEAPI_VERSION AS build
ARG NODE_VERSION=24

ARG GGML_SYCL_F16=OFF
ARG SYCL_BUILD_TARGET=all

FROM docker.io/node:$NODE_VERSION AS web

ARG APP_VERSION

WORKDIR /app/tools/ui

COPY tools/ui/package.json tools/ui/package-lock.json ./
RUN npm ci

COPY tools/ui/ ./
RUN LLAMA_BUILD_NUMBER="$APP_VERSION" npm run build

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

ARG GGML_SYCL_F16=ON
ARG LEVEL_ZERO_VERSION=1.28.2
ARG LEVEL_ZERO_UBUNTU_VERSION=u24.04
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
Expand All @@ -28,8 +44,13 @@ COPY . .

RUN --mount=type=cache,target=/root/.ccache \
if [ "${GGML_SYCL_F16}" = "ON" ]; then \

COPY --from=web /app/tools/ui/dist tools/ui/dist

RUN if [ "${GGML_SYCL_F16}" = "ON" ]; then \
echo "GGML_SYCL_F16 is set" \
&& export OPT_SYCL_F16="-DGGML_SYCL_F16=ON"; \
&& export OPT_SYCL_F16="-DGGML_SYCL_F16=ON" \
&& export SYCL_PROGRAM_COMPILE_OPTIONS="-cl-fp32-correctly-rounded-divide-sqrt"; \
fi && \
echo "Building with dynamic libs" && \
cmake -B build \
Expand Down Expand Up @@ -63,13 +84,42 @@ RUN mkdir -p /app/full \
&& cp requirements.txt /app/full \
&& cp .devops/tools.sh /app/full/tools.sh

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

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 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 Down Expand Up @@ -101,6 +151,14 @@ LABEL org.opencontainers.image.created=$BUILD_DATE \
org.opencontainers.image.url=$IMAGE_URL \
org.opencontainers.image.source=$IMAGE_SOURCE

RUN apt-get update \
&& apt-get install -y libgomp1 curl ffmpeg \
&& apt autoremove -y \
&& apt clean -y \
&& rm -rf /tmp/* /var/tmp/* \
&& find /var/cache/apt/archives /var/lib/apt/lists -not -name lock -type f -delete \
&& find /var/cache -type f -delete

### Full
FROM base AS full

Expand Down Expand Up @@ -133,7 +191,7 @@ ENTRYPOINT ["/app/tools.sh"]
FROM base AS light

COPY --from=build /app/lib/ /app
COPY --from=build /app/full/llama-cli /app/full/llama-completion /app
COPY --from=build /app/full/llama /app/full/llama-cli /app/full/llama-completion /app

WORKDIR /app

Expand All @@ -145,7 +203,7 @@ FROM base AS server
ENV LLAMA_ARG_HOST=0.0.0.0

COPY --from=build /app/lib/ /app
COPY --from=build /app/full/llama-server /app
COPY --from=build /app/full/llama /app/full/llama-server /app

WORKDIR /app

Expand Down
4 changes: 2 additions & 2 deletions .devops/llama-cli-cann.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ARG BUILD_DATE=N/A
ARG APP_VERSION=N/A
ARG APP_REVISION=N/A

FROM ascendai/cann:$ASCEND_VERSION AS build
FROM docker.io/ascendai/cann:$ASCEND_VERSION AS build

WORKDIR /app

Expand All @@ -30,7 +30,7 @@ RUN echo "Building with static libs" && \
cmake --build build --config Release --target llama-completion

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

ARG BUILD_DATE=N/A
ARG APP_VERSION=N/A
Expand Down
Loading
Loading