Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
98 commits
Select commit Hold shift + click to select a range
1e22599
ggml-zendnn : group matmul direct API for mul_mat_id (#25918)
z-sachin Jul 31, 2026
69e62fc
llama : enforce the same K and V cache types for DeepSeek V4; enable …
fairydreaming Jul 31, 2026
d5d3e05
[SYCL] support the missed types in cpy (#26005)
arthw Jul 31, 2026
9d9a6d2
SYCL: add oneMKL GEMM flash attention for XMX-accelerated prompt proc…
johnkarlhill Jul 31, 2026
15e755f
cuda: extract Q2_0 elements via __byte_perm (#25603)
dfriehs Jul 31, 2026
0005475
server: correct accepted tokens when need draft token replay (#26320)
ruixiang63 Jul 31, 2026
6f3c0a7
vulkan: update vulkan sdk to 1.4.357.0 (#26303)
jeffbolznv Jul 31, 2026
82dbc4f
llama : load MTP tensors only if they are really used (#26296)
fairydreaming Jul 31, 2026
a09d8ab
Support rotated kv cache quant (#26180)
timkhronos Jul 31, 2026
db7d8b2
mtmd: add n_embd_head (#26342)
ngxson Jul 31, 2026
eb41d50
vulkan: Introduce driver version check for Windows Intel GPU to mitig…
rillomas Jul 31, 2026
876a432
vulkan: add POOL_1D op (#25431)
AnandPatil1 Jul 31, 2026
ddd4ec1
chat : enable tool call in thinking for DS4 (#26269)
pwilkin Aug 1, 2026
de69995
mtmd: add minicpmv46 downsample (#25993)
tc-mb Aug 1, 2026
c629da5
cli : persist reasoning_content in chat history (#26362)
ramicaza Aug 1, 2026
89482bd
agents: clarify comment style and jinja knowledge (#26405)
ngxson Aug 1, 2026
815a2a5
vendor : update BoringSSL to 0.20260730.0 (#26353)
cabelo Aug 1, 2026
a7a6d0d
vulkan: extend topk_moe fusion to support sqrt(softplus) (#26124)
jeffbolznv Aug 1, 2026
11924d4
test: fix some CI errors (#26415)
ngxson Aug 1, 2026
7a2db1a
ggml-webgpu: add support for f16 repeat (#26307)
yomaytk Aug 2, 2026
75587a0
model : load MiMo V2 MTP tensors only if used (#26412)
CISC Aug 2, 2026
272700b
sycl: fix classification of iGPUs (#26105)
KyleHagy Aug 2, 2026
f5919bf
chat : add qwen3 specialized parser (#26252)
aldehir Aug 2, 2026
596a579
DeepseekV4 MTP + DSpark (#25784)
am17an Aug 2, 2026
c745be2
opencl: bugfix increment ref_count in ggml_backend_opencl_init() (#2…
akleine Aug 2, 2026
3581ba0
convert: add option to create separate dspark GGUF (#26452)
am17an Aug 2, 2026
bb4e0e1
common: support the DSpark sidecar resolution (#26458)
ServeurpersoCom Aug 2, 2026
fffbcbd
metal: implement DeepSeek V4 hyper-connections (#26459)
ggerganov Aug 2, 2026
0ab9d6f
opencl: limit local workgroup size for GLU operation (#26383)
mgroeber9110 Aug 2, 2026
9d21b57
metal : add F16 support for bin ops (#26465)
ggerganov Aug 2, 2026
221f0f6
metal : add SILU_BACK (#25982)
Blackcyan30 Aug 2, 2026
1464c62
metal: implement DSv4 Lightning Indexer (#25893)
tarruda Aug 3, 2026
2b63e06
llama : MTP support for DeepSeek V3.2 (#26457)
fairydreaming Aug 3, 2026
4ed2b13
model: MTP support for Qwen3-Next (#25589)
yomaytk Aug 3, 2026
f2b52a8
server: (tools) add x-tool-cwd header (#26420)
ngxson Aug 3, 2026
0b14b87
server: add notice for upcoming default port change 8080 --> 9931 (#2…
ngxson Aug 3, 2026
9bd4c09
CUDA: Fix data-races when reusing SMEM in block_reduce (#26385)
ORippler Aug 3, 2026
96278e3
CUDA: Add backend sampler for penalties sampler (#25262)
kmorennv Aug 3, 2026
563dec8
llama : allocate indexer cache only in "full" indexer layers (#26474)
fairydreaming Aug 3, 2026
67d5978
model: M3: Move MSA into a new memory implementation (#26338)
timkhronos Aug 3, 2026
c50b34a
graph : fix unused input tensors in minimax m3 graph (#26519)
ggerganov Aug 3, 2026
39eab74
opencl: route large q6_K lm_head to the flat GEMV (#26427)
wanghqc Aug 3, 2026
dbadb68
ggml: use dynamic allocation for split graph inputs (#22789)
AgoraPete Aug 3, 2026
e8e06f7
vocab : validate default special token ids (#26506)
CISC Aug 3, 2026
99111b1
server: add get_info tool (#26522)
ngxson Aug 3, 2026
ee0445c
tests: add model resolution test on synthetic repo listings (#26172)
ServeurpersoCom Aug 3, 2026
57c0921
model : support MTP in GLM-4.7-Flash (#24868)
jacekpoplawski Aug 3, 2026
fe2adf0
vendor : update BoringSSL to 0.20260803.0 (#26523)
cabelo Aug 3, 2026
94bc47f
vendor : update cpp-httplib to 0.52.0 (#26485)
cabelo Aug 3, 2026
0ef6e55
chat : add new template for DeepSeek V4 Flash 0731 (#26398)
tarruda Aug 3, 2026
66fa168
Extended SYCL oneDNN SDPA to non-FP16 KV caches (Q4_0–Q8_0 and FP32) …
johnkarlhill Aug 4, 2026
6c8dcaa
sycl: parallelize the non-contiguous concat kernel (#25852)
Titaniumtown Aug 4, 2026
22dc605
ci: fix vulkan llvmpipe runs (#26533)
netrunnereve Aug 4, 2026
935cad6
llama : move n_vocab from llama_sampler_data to penalty_sampler (#26520)
ggerganov Aug 4, 2026
1269cb1
model : allow reshape of tensors during load (#26531)
ggerganov Aug 4, 2026
b06fbc9
convert : import bytes_to_unicode from convert_slow_tokenizer (#26217)
SolshineCode Aug 4, 2026
cf06ad7
vocab : validate plamo2 byte tokens (#26511)
CISC Aug 4, 2026
f26efa0
vulkan backend ops: implemented GATED_LINEAR_ATTN (#25601)
PranavUttarkar Aug 4, 2026
b5746d2
convert : add missing return after setting tekken vocab (#25947)
AngelGalindo7 Aug 4, 2026
15831f5
ggml : bump version to 0.18.1 (ggml/1578)
ggerganov Aug 4, 2026
2e17f69
sync : ggml
ggerganov Aug 4, 2026
5788b51
gguf-py: validate n_dims and guard against uint64 overflow in reader …
hclsys Aug 4, 2026
7bd8282
speculative : refactor enabled configs common_speculative_init (#26510)
danbev Aug 4, 2026
6b5224c
ci: fix pre-built binaries no longer working on macOS 15 and below (#…
nikwen Aug 4, 2026
1c3c967
models : fix dflash wo_a reshape on load (#26577)
ggerganov Aug 4, 2026
0713275
mtmd: support Qwen3-TTS (note: breaking change to llama-tts binary) (…
ngxson Aug 4, 2026
2f56fc3
ui: CWD for agent (#26518)
allozaur Aug 4, 2026
76c956c
gguf-split: Add option to delete split parts during merge (#26538)
guiq83 Aug 4, 2026
a6aa6f5
sampler : remove "full-context windows" from history-based samplers (…
ggerganov Aug 4, 2026
474c92e
mtmd: correcting duplicate empty audio chunks for short inputs (#26536)
Abhinaykrishna2 Aug 4, 2026
4308a4f
server: decode Windows OEM output to UTF-8 in built-in tools (#26597)
ServeurpersoCom Aug 4, 2026
6ea215d
Prefer npm ci over install for security (#26601)
eapache Aug 4, 2026
e031d95
ui: Update vulnerable packages + cleanup Storybook config (#26607)
allozaur Aug 5, 2026
759f281
feat: add encryption service with passphrase-wrapped DEK
allozaur Jul 29, 2026
7b2446c
feat: encrypt messages and conversation names at rest in IndexedDB
allozaur Jul 29, 2026
3c7e6d9
feat: add bulk encrypt/decrypt passes for existing data
allozaur Jul 29, 2026
64cafdc
feat: add unlock gate for encrypted conversation data
allozaur Jul 29, 2026
a86fa9a
feat: add security settings tab for encryption management
allozaur Jul 29, 2026
d9de16e
feat: add encrypted export option for conversations
allozaur Jul 29, 2026
a798290
feat: decrypt encrypted imports with the export passphrase
allozaur Jul 29, 2026
8b28aa7
feat: encrypt exports by default with an unencrypted opt-out
allozaur Jul 29, 2026
5c8cf6d
feat: mark unencrypted export button as destructive
allozaur Jul 29, 2026
6eb95dc
feat: label the unencrypted export button accordingly
allozaur Jul 29, 2026
e541a04
fix: gate conversation loads behind the encryption unlock
allozaur Jul 29, 2026
d21ee47
fix: validate encryption metadata before key derivation
allozaur Jul 29, 2026
c3adfd1
feat: require a minimum passphrase length in security settings
allozaur Jul 29, 2026
57a964d
feat: warn and require acknowledgment before enabling encryption
allozaur Jul 29, 2026
d864e38
feat: Implement configurable auto-lock and resumable sessions for enc…
allozaur Jul 29, 2026
49adb20
feat: store MCP auth headers in an encrypted secrets store
allozaur Jul 29, 2026
c34c5cc
feat: split migrations into boot and post-unlock phases
allozaur Jul 29, 2026
5ab7712
refactor: reuse the shared MCP settings parser in the store
allozaur Jul 29, 2026
a592bc2
docs: cross-reference the inline-header migration paths
allozaur Jul 29, 2026
d53d4f0
refactor: centralize encryption and idle-timeout constants
allozaur Aug 5, 2026
cbc6507
refactor: make MigrationPhase an enum
allozaur Aug 5, 2026
5010620
refactor: move export encryption dialog logic into conversations store
allozaur Aug 5, 2026
ea6830b
refactor: use svelte:window for the encryption idle activity listeners
allozaur Aug 5, 2026
88f0d63
refactor: extract the encrypted import dialog into its own component
allozaur Aug 5, 2026
c290128
refactor: improve the encryption idle countdown UI
allozaur Aug 5, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/build-apple.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ jobs:
-DGGML_METAL_USE_BF16=ON \
-DGGML_METAL_EMBED_LIBRARY=OFF \
-DGGML_METAL_SHADER_DEBUG=ON \
-DGGML_RPC=ON
-DGGML_RPC=ON \
-DCMAKE_OSX_DEPLOYMENT_TARGET=13.3
time cmake --build build --config Release -j $(sysctl -n hw.logicalcpu)
leaks -atExit -- ./build/bin/test-thread-safety -hf ggml-org/gemma-3-270m-qat-GGUF -ngl 99 -p "$(printf 'hello %.0s' {1..128})" -n 16 -c 512 -ub 32 -np 2 -t 2 -lv 1

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-cpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ jobs:
env:
OPENBLAS_VERSION: 0.3.23
SDE_VERSION: 9.33.0-2024-01-07
VULKAN_VERSION: 1.4.313.2
VULKAN_VERSION: 1.4.357.0

strategy:
matrix:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-vulkan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ jobs:
run: |
source ./vulkan_sdk/setup-env.sh
cmake -B build \
-DGGML_NATIVE=OFF \
-DGGML_VULKAN=ON
cmake --build build --config Release -j $(nproc)
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,13 @@ jobs:
- build: 'arm64'
arch: 'arm64'
os: macos-26
defines: "-DGGML_METAL_USE_BF16=ON -DGGML_METAL_EMBED_LIBRARY=ON"
defines: "-DGGML_METAL_USE_BF16=ON -DGGML_METAL_EMBED_LIBRARY=ON -DCMAKE_OSX_DEPLOYMENT_TARGET=13.3"
# TODO: this build is disabled to save Github Actions resources (https://github.com/ggml-org/llama.cpp/pull/23780)
# in order to enable it again, we have to provision dedicated runners to run it
#- build: 'arm64-kleidiai'
# arch: 'arm64'
# os: macos-14
# defines: "-DGGML_METAL_USE_BF16=ON -DGGML_METAL_EMBED_LIBRARY=ON -DGGML_CPU_KLEIDIAI=ON"
# defines: "-DGGML_METAL_USE_BF16=ON -DGGML_METAL_EMBED_LIBRARY=ON -DCMAKE_OSX_DEPLOYMENT_TARGET=13.3 -DGGML_CPU_KLEIDIAI=ON"
- build: 'x64'
arch: 'x64'
os: macos-15-intel
Expand Down Expand Up @@ -759,7 +759,7 @@ jobs:

env:
OPENBLAS_VERSION: 0.3.23
VULKAN_VERSION: 1.4.313.2
VULKAN_VERSION: 1.4.357.0

strategy:
matrix:
Expand Down
29 changes: 23 additions & 6 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,20 @@ For first-time contributors, confirm they have reviewed [CONTRIBUTING.md](CONTRI
These points are extremely important - failing to follow them won't necessarily get your PR rejected, but it will make reviewing take significantly longer. Please follow them carefully:

- Avoid emdash `—`, unicode arrow `→` or any unicode characters: `×`, `…` ; use ASCII equivalents instead: `-`, `->`, `x`, `...`
- Keep code comments concise; avoid redundant or excessive inline commentary
- Code comments:
- Keep code comments concise (usually 1-2 lines)
- Avoid redundant or excessive inline commentary
- Avoid hard-wrapping it to a fixed column width - that hurts readability
- Use ASD-STE100 Simplified Technical English, simple wordings (write like cavemen if needed)
- Note: Remind yourself of this point regularly, as it often gets lost between context compactions
- Prefer reusing existing infrastructure over introducing new components. Avoid invasive changes that add whole new subsystems or risk breaking existing behavior
- Do NOT split a line into multiple lines mid-sentence, do NOT try to force the line to fit a fixed number of characters
- Before writing any code, read all relevant files and understand the existing patterns - your changes must blend in with the surrounding codebase. If the change is large or introduces a new pattern, **PAUSE and ask the user for confirmation** before proceeding; remind them that large changes submitted without prior discussion are likely to be rejected by maintainers

Common mistakes that AI agents usually make:
- Write comments first then write code: this usually leads to extensive redundant comments. Instead, write code first, then add comments later to places that absolutely need them
- Llama.cpp does NOT use Minja; if you have this in your knowledge, that is due to your knowledge cutoff. Llama.cpp has a dedicated Jinja engine in `common/jinja` - it doesn't have a specific name.

### Prohibited Actions

- Do NOT write PR descriptions, commit messages, or reviewer responses
Expand Down Expand Up @@ -159,15 +168,23 @@ ggml_tensor * inp_pos = build_inp_pos();
```cpp
// GOOD (comment is kept concise and useful)

// returns the meta of the first child whose array is non-empty
// note: one session per convId across all children
// one decode step of code_predictor
// at step_idx g:
// - read code from out_code_cache[g], then embed it with codebook table g-1
// - write new kv at cache row g+1, sample with lm_head[g]
// - write result to out_code_cache[g+1]


// BAD (comment is long and is forced to fit into a fixed column size, it is very annoying to read as a reviewer)

// short list query on the loopback, returns the meta of the first child whose array is
// non-empty. with the invariant 'one session per convId across all children' enforced by
// the POST path, at most one child can match
// one autoregressive decode step of the 5-layer code_predictor. See the
// comment in models.h for the cache/tensor conventions this relies on.
//
// index mapping (derived from the reference pipeline-tts.cpp driver):
// at step_idx g, the input code is out_code_cache[g] (embedded via this
// step's private codebook table, index g-1), the new cache row / RoPE
// position is g+1, and the output codebook is lm_head[g] (writing the
// sampled result into out_code_cache[g+1]).
```

Commit message:
Expand Down
Loading
Loading