]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/log
pkg/ggml/sources/llama.cpp
3 months agoui: Refactor `isMobile` as reactive value in `viewport` store (#23330)
Aleksander Grygier [Wed, 20 May 2026 08:52:00 +0000 (10:52 +0200)]
ui: Refactor `isMobile` as reactive value in `viewport` store (#23330)

* refactor: `isMobile` as reactive value in `viewport` store

* refactor: Use Svelte media query for the viewport store

3 months agofix: Div wrapper no pointer events on hidden (#23390)
Aleksander Grygier [Wed, 20 May 2026 07:46:31 +0000 (09:46 +0200)]
fix: Div wrapper no pointer events on hidden (#23390)

3 months agometal : optimize pad + cpy (#23354)
Georgi Gerganov [Wed, 20 May 2026 06:42:00 +0000 (09:42 +0300)]
metal : optimize pad + cpy (#23354)

* metal : optimize pad

* metal : optinmize cpy

* cont : better row packing in threadgroup

3 months agosnapdragon: update toolchain to v0.6 (#23369)
Max Krasnyansky [Wed, 20 May 2026 05:04:04 +0000 (22:04 -0700)]
snapdragon: update toolchain to v0.6 (#23369)

* snapdragon: update compiler flags to enable all CPU features

* snapdragon: update readme to point to toolchain v0.6

* snapdragon: bump toolchain docker to v0.6

3 months agoggml-cuda: tune RDNA3 Q6_K MMVQ nwarps (#23349)
ravel7524 [Wed, 20 May 2026 01:52:21 +0000 (03:52 +0200)]
ggml-cuda: tune RDNA3 Q6_K MMVQ nwarps (#23349)

3 months agoopencl: add MoE support for q4_k, q5_k, q6_k on Adreno (#23303)
shaofeiqi [Tue, 19 May 2026 21:29:00 +0000 (14:29 -0700)]
opencl: add MoE support for q4_k, q5_k, q6_k on Adreno (#23303)

* opencl: add q4_k moe support

* opencl: add q5_k moe support

* opencl: add q6_k moe support

* opencl: adjust format

---------

Co-authored-by: Li He <redacted>
3 months agohexagon: add MROPE and IMROPE support in HTP rope op (#23317)
Aparna M P [Tue, 19 May 2026 21:10:13 +0000 (02:40 +0530)]
hexagon: add MROPE and IMROPE support in HTP rope op (#23317)

3 months agorefactor: Chat Screen UI rendering (#23333)
Aleksander Grygier [Tue, 19 May 2026 20:38:42 +0000 (22:38 +0200)]
refactor: Chat Screen UI rendering (#23333)

3 months agogithub: mention --log-file in issue templates (#23277)
Johannes Gäßler [Tue, 19 May 2026 19:35:10 +0000 (21:35 +0200)]
github: mention --log-file in issue templates (#23277)

3 months agocommon: fix --help for --verbosity (#23278)
Johannes Gäßler [Tue, 19 May 2026 19:34:04 +0000 (21:34 +0200)]
common: fix --help for --verbosity (#23278)

3 months agocommon: fix --fit verbosity with --verbosity 4 (#23282)
Johannes Gäßler [Tue, 19 May 2026 19:33:23 +0000 (21:33 +0200)]
common: fix --fit verbosity with --verbosity 4 (#23282)

3 months agoconvert : update mtp related help (#23334)
Sigbjørn Skjæret [Tue, 19 May 2026 19:16:58 +0000 (21:16 +0200)]
convert : update mtp related help (#23334)

* update mtp related help

* remove outdated experimental text

3 months agohexagon: enable support for NORM op (#23319)
Aparna M P [Tue, 19 May 2026 16:48:21 +0000 (22:18 +0530)]
hexagon: enable support for NORM op (#23319)

3 months agomodel : clarify MTP layer comment in qwen35.cpp [no ci] (#23338)
Daniel Bevenius [Tue, 19 May 2026 16:41:44 +0000 (18:41 +0200)]
model : clarify MTP layer comment in qwen35.cpp [no ci] (#23338)

This commit attempts to clarify a code comment in graph_mtp regarding
where the MTP layer is stored.

The motivation for this is that it was not obvious to me what the
original comment meant and hopefully this makes it clearer.

3 months agollama : MTP clean-up (#23269)
Georgi Gerganov [Tue, 19 May 2026 12:32:58 +0000 (15:32 +0300)]
llama : MTP clean-up (#23269)

* llama : disable equal splits for recurrent memory with partial rollback

* spec : re-enable p-min with MTP drafts

* spec : re-enable ngram spec in combination with RS rollback

* spec : fix ngram-map-* params

* spec : fix acceptance logic in combined ngram + draft configs

* graph : fix reuse for combined `token` + `embd` batches

* spec : log parameters for each speculative implementation

- add LOG_INF in each constructor with implementation type and parameters
- extract device string logic into common_speculative_get_devices_str()
- move 'adding speculative implementation' log from init into constructors

Assisted-by: llama.cpp:local pi
* spec : extend --spec-default with ngram-map-k4v

Assisted-by: llama.cpp:local pi
* minor : fix n_embd log

* args : update draft.n_max == 3 + regen docs

* spec : relax ngram-mod rejection thold to 0.25 @ 5 low

* logs : improve

* docs : update speculative decoding CLI argument documentation

- Add missing draft model CPU scheduling and tensor override parameters
- Update --spec-type to include all available types (excluding draft-eagle3 WIP)
- Fix default values to match implementation (n_max=3, n_min=0, p_min=0.0)
- Remove deprecated options (spec-draft-ctx-size, spec-draft-replace)
- Add environment variables for new parameters

Assisted-by: llama.cpp:local pi
* arg : step-back on adding k4v to the default spec config

* cont : fix name

3 months agoui: Bump packages + address build warnings (#23300)
Aleksander Grygier [Tue, 19 May 2026 08:16:04 +0000 (10:16 +0200)]
ui: Bump packages + address build warnings (#23300)

* chore: Update vulnerable packages

* chore: Formatting

* refactor: Update Tailwind CSS imports

* ci: Use `ubuntu-latest` for Unit/E2E UI tests

* chore: Bump package

* fix: Add missing tag

* refactor: Enums files naming

3 months agoci : install libssl-dev (#23325)
Sigbjørn Skjæret [Tue, 19 May 2026 08:11:04 +0000 (10:11 +0200)]
ci : install libssl-dev (#23325)

3 months agoci : install server kleidiai runner dependencies (#23259)
Sigbjørn Skjæret [Tue, 19 May 2026 07:06:56 +0000 (09:06 +0200)]
ci : install server kleidiai runner dependencies (#23259)

3 months agoserver-context: guarantee there is at least 1 token to decode (#23280)
Pascal [Tue, 19 May 2026 06:49:01 +0000 (08:49 +0200)]
server-context: guarantee there is at least 1 token to decode (#23280)

3 months agoserver : print graphs reused in slot timings (#23279)
Georgi Gerganov [Tue, 19 May 2026 06:46:58 +0000 (09:46 +0300)]
server : print graphs reused in slot timings (#23279)

Add graphs reused counter to the per-slot timing output, printed via
llama_perf_context().

Assisted-by: llama.cpp:local pi
Co-authored-by: ggerganov <redacted>
3 months agosave-load-state : refactor tests and improve readability (#23196)
Georgi Gerganov [Tue, 19 May 2026 06:46:34 +0000 (09:46 +0300)]
save-load-state : refactor tests and improve readability (#23196)

* save-load-state : refactor into separate phase functions

- Split monolithic main() into 4 self-contained phase functions, each
  managing its own context/sampler/batch lifecycle
- Each function tokenizes internally using its local ctx instance
- main() is now a clean orchestrator: init -> run phases -> assert results
- Proper resource cleanup on every exit path (return {} on error)

Assisted-by: llama.cpp:local pi
* save-load-state : use params.out_file instead of separate state_file

- Remove state_file parameter from all phase functions
- Each function accesses params.out_file directly
- Initialize params.out_file in main alongside params.prompt

Assisted-by: llama.cpp:local pi
* save-load-state : use smart pointers for ctx and smpl

- Replace raw llama_context* with llama_context_ptr
- Replace raw llama_sampler* with llama_sampler_ptr
- Remove all manual llama_free() and llama_sampler_free() calls
- Keep llama_batch as raw (managed manually with llama_batch_free)

Assisted-by: llama.cpp:local pi
* save-load-state : add local llama_batch_ptr RAII wrapper

- Add llama_batch_ptr struct holding llama_batch by value
- Calls llama_batch_free() in destructor
- Eliminates all manual llama_batch_free() calls

Assisted-by: llama.cpp:local pi
* save-load-state : replace printf/fprintf with logging macros

- Add log.h include
- Replace fprintf(stderr, ...) errors with LOG_ERR
- Replace fprintf(stderr, ...) info with LOG_TRC
- Replace printf output with LOG

Assisted-by: llama.cpp:local pi
* save-load-state : refactor tests to check results inline

Each follow-up phase now accepts an expected result and performs
the comparison internally instead of collecting results in main().

Assisted-by: llama.cpp:local pi
* save-load-state : improve test output readability

Add phase labels, remove redundant run prefixes, and show
PASS after each test.

Assisted-by: llama.cpp:local pi
* pi : add rule about git signing

* save-load-state : simplify llama_batch_ptr

Change get() to return a reference and remove operator*().
Use batch.get() throughout for consistency.

Assisted-by: llama.cpp:local pi
* save-load-state : extract generate_tokens helper

Factor out the repeated token generation loop into a shared
helper function used by all phases.

Assisted-by: llama.cpp:local pi
* save-load-state : update comments to use test terminology

Replace "Phase" with "Test" and list each test's steps
as bullet points.

Assisted-by: llama.cpp:local pi
* save-load-state : rename test functions

Rename to test_baseline, test_state_load, test_seq_cp_host,
test_seq_cp_device. Update comments and logs accordingly.

Assisted-by: llama.cpp:local pi
* pi : add rule to never git push without confirmation

Assisted-by: llama.cpp:local pi
* common : add model_only option to common_init_from_params

Add bool model_only parameter to skip context creation,
sampler init, and context-dependent setup.

Use in save-load-state to initialize only the model,
with each test creating its own context.

Assisted-by: llama.cpp:local pi
---------

Co-authored-by: ggerganov <redacted>
3 months agollama-eval : add per-task summary stats (#23151)
Georgi Gerganov [Tue, 19 May 2026 06:46:05 +0000 (09:46 +0300)]
llama-eval : add per-task summary stats (#23151)

* llama-eval : add per-problem summary table to HTML reports

- Add chunk_idx and problem_idx to TaskState and saved case dicts
- Group completed cases by problem_idx in dump_html()
- Render per-problem summary table before individual task table
  - Columns: Problem (zero-padded), Runs, Correct (n/r),
    Tokens (min/avg/max), T/s (min/avg/max), Gen s (min/avg/max)
  - Sorted by problem index, monospace font, right-aligned numbers
  - Colspan headers for grouped stats, auto width
- Simulator: add /v1/models endpoint, timings in response,
  template-aware question matching, --dataset arg (aime/aime2025)

Assisted-by: llama.cpp:local pi
* llama-eval : add tabs for Detailed and Summary tables, apply monospace font globally

- Wrap Detailed and Summary tables in switchable tabs (Detailed active by default)
- Remove summary-section wrapper, use tab labels instead
- Apply monospace font to all tables and the top bar

Assisted-by: llama.cpp:local pi
* llama-eval : redesign top bar as CSS grid label/value pairs

- Replace flat span list with 4-column grid layout (2 pairs per row)
- Labels in muted color (#888), values in dark (#222)
- Bold dataset name and model name
- Removed media query, always uses 4 columns

Assisted-by: llama.cpp:local pi
* llama-eval : use realistic token counts and throughput in simulator

- comp_tokens: [30, 80] → [10000, 60000]
- tps_gen: derived → uniform [90.0, 110.0]
- t_gen_ms: now computed from tokens/tps

Assisted-by: llama.cpp:local pi
* llama-eval : color Answer column green/red based on correctness

Use the same .correct/.incorrect CSS classes on the Answer column
to make correct answers green and incorrect answers red.

Assisted-by: llama.cpp:local pi
* llama-eval : fix pyright errors from max(..., key=len) type inference

Use key=lambda x: len(x) instead of key=len so the type checker
infers the return type as str instead of Sized, fixing:
  - unresolved-attribute: Object of type Sized has no attribute lower
  - not-subscriptable: Cannot subscript object of type Sized

Assisted-by: llama.cpp:local pi
3 months agoggml-webgpu : extend GDN for K>1 (#23299)
Reese Levine [Tue, 19 May 2026 06:45:41 +0000 (23:45 -0700)]
ggml-webgpu : extend GDN for K>1 (#23299)

3 months ago[SCYL] add chapter for performance reference in SYCL.md (#23315)
Neo Zhang [Tue, 19 May 2026 06:44:51 +0000 (14:44 +0800)]
[SCYL] add chapter for performance reference in SYCL.md (#23315)

* add chapter for performance reference

* rm unsupported GPU

3 months agoconvert : filter lora tensor names (#23077)
Sigbjørn Skjæret [Tue, 19 May 2026 06:44:25 +0000 (08:44 +0200)]
convert : filter lora tensor names (#23077)

3 months agosycl: add GGML_SYCL_USE_ASYNC_MEM_OP env toggle (#22153)
Intel AI Get-to Market Customer Success and Solutions [Tue, 19 May 2026 06:44:02 +0000 (23:44 -0700)]
sycl: add GGML_SYCL_USE_ASYNC_MEM_OP env toggle (#22153)

* sycl: add GGML_SYCL_USE_ASYNC_MEM_OP env toggle

Signed-off-by: Chun Tao <redacted>
* Use async mem ops for correctness when SYCL graphs are explicitly on.

Signed-off-by: Tao, Chun <redacted>
---------

Signed-off-by: Chun Tao <redacted>
Signed-off-by: Tao, Chun <redacted>
Co-authored-by: Chun Tao <redacted>
3 months agorpc : keep last_graph_uid in the device context (#23273)
Radoslav Gerganov [Tue, 19 May 2026 06:42:36 +0000 (09:42 +0300)]
rpc : keep last_graph_uid in the device context (#23273)

With the introduction of MTP we can have multiple compute contexts for
the same RPC device. In this case last_graph_uid is not updated properly
when contexts are being switched. This patch fixes this by moving
last_graph_uid to the device context, making sure it is always updated.

closes: #23242

3 months agohexagon: add support for TRI op (#22822)
Pranav Dhinakar [Mon, 18 May 2026 21:04:57 +0000 (14:04 -0700)]
hexagon: add support for TRI op (#22822)

* Hexagon: TRI HVX Kernel addition to ggml hexagon HTP ops and context

* addressed PR review comments for TRI op

* hexagon: clang format

* hex-unary: remove merge conflict markers

* hex-ggml: remove duplicate op cases (merge conflict)

* hex-ggml: fix editor config errors

---------

Co-authored-by: Todor Boinovski <redacted>
Co-authored-by: Max Krasnyansky <redacted>
3 months agoggml-hexagon: add PAD op HVX kernel (#23078)
Pranav Dhinakar [Mon, 18 May 2026 20:39:36 +0000 (13:39 -0700)]
ggml-hexagon: add PAD op HVX kernel (#23078)

* ggml-hexagon: add PAD op HVX kernel

Implements GGML_OP_PAD on the Hexagon HTP backend using HVX vectorized
kernels. Supports zero-padding and circular padding across all 4 tensor
dimensions.

* hex-ggml: remove duplicate op cases (merge conflict)

* hex-pad: fix editorconfig checks and macro alignment

---------

Co-authored-by: Max Krasnyansky <redacted>
3 months agodocker : add OCI image labels for version and build date (#21653)
SamareshSingh [Mon, 18 May 2026 20:14:45 +0000 (15:14 -0500)]
docker : add OCI image labels for version and build date (#21653)

* docker: add OCI image labels to all published images

* docker: propagate OCI labels as manifest and index annotations

* docker: drop hardcoded org URL and revert accidental intel version bump

The OCI image url and source are now driven by build args with a sensible default. The workflow passes the actual repository url so fork builds get labels pointing at the fork instead of upstream. Also restores the IGC, compute runtime, and IGDGMM versions in the intel Dockerfile labeled stage which I accidentally bumped in the first commit.

* docker: add skip_s390x workflow_dispatch input for fast test runs

Lets maintainers and PR authors trigger the docker workflow without the s390x build target, which depends on the IBM Z runner and is by far the slowest job in the matrix. The flag filters the s390x row out of the build matrix before merge_matrix is derived, so the merge job sees a consistent shape too.

Signed-off-by: Samaresh Kumar Singh <redacted>
---------

Signed-off-by: Samaresh Kumar Singh <redacted>
3 months agocommon : remove hf cache migration (#23266)
Adrien Gallouët [Mon, 18 May 2026 15:11:47 +0000 (17:11 +0200)]
common : remove hf cache migration (#23266)

Signed-off-by: Adrien Gallouët <redacted>
3 months agoui: Update KaTeX package and clean up logs from `sass` warnings (#23275)
Aleksander Grygier [Mon, 18 May 2026 14:26:01 +0000 (16:26 +0200)]
ui: Update KaTeX package and clean up logs from `sass` warnings (#23275)

* ui: migrate katex imports to @use to resolve SCSS deprecation warnings

* ci: Use `ubuntu-slim` for CI (UI) workflow

3 months agofeat: add scroll-to-bottom button to chat + prevent forced scroll down (#23270)
Aleksander Grygier [Mon, 18 May 2026 14:17:21 +0000 (16:17 +0200)]
feat: add scroll-to-bottom button to chat + prevent forced scroll down (#23270)

3 months agoui: Refactor models store, MCP service, and gate logs behind VITE_DEBUG (#23236)
Aleksander Grygier [Mon, 18 May 2026 14:09:40 +0000 (16:09 +0200)]
ui: Refactor models store, MCP service, and gate logs behind VITE_DEBUG (#23236)

* refactor: Scope console logs to `DEV` + `VITE_DEBUG` env vars

* refactor: skip MCP proxy probe when no server requires it

* refactor: suppress expected disconnect errors during MCP client shutdown

* refactor: Deduplicate requests

* refactor: deduplicate model fetching across ROUTER and MODEL modes

* refactor: Clean up models logic

* chore: Add `.env.example` file

* refactor: replace client-side CORS proxy probe with server status flag

* refactor: Post-review fixes

* test: add vitest client setup with API fetch mocks

3 months agoui: Centralize monospace font styles in app.css (#23272)
Aleksander Grygier [Mon, 18 May 2026 13:10:14 +0000 (15:10 +0200)]
ui: Centralize monospace font styles in app.css (#23272)

3 months agowebui: fix Tailwind v4 utility classes missing when built via cmake (#23253)
Martin Andersson [Mon, 18 May 2026 12:08:02 +0000 (14:08 +0200)]
webui: fix Tailwind v4 utility classes missing when built via cmake (#23253)

3 months agollama: initialize pre-norm embedding mask flag (#23256)
Andrei [Mon, 18 May 2026 11:20:49 +0000 (04:20 -0700)]
llama: initialize pre-norm embedding mask flag (#23256)

3 months agoadd myself to conversion (#23261)
Sigbjørn Skjæret [Mon, 18 May 2026 10:42:56 +0000 (12:42 +0200)]
add myself to conversion (#23261)

3 months agoci : added kleidiai-server to server-self-hosted workflow (#22435)
Martin Klacer [Mon, 18 May 2026 09:14:57 +0000 (10:14 +0100)]
ci : added kleidiai-server to server-self-hosted workflow (#22435)

* kleidiai: added kleidiai-server to server-self-hosted workflow

 * Added KleidiAI-enabled Arm64 Linux llama-server CI/integration test
   workflow into the server-self-hosted.yml configuration file

Signed-off-by: Martin Klacer <redacted>
Change-Id: I032e33c525b7e26bc5d53719f638bee610cec1ee

* Added self-hosted executor for KleidiAI server workflow

Signed-off-by: Martin Klacer <redacted>
* Update .github/workflows/server-self-hosted.yml

Co-authored-by: Sigbjørn Skjæret <redacted>
---------

Signed-off-by: Martin Klacer <redacted>
Co-authored-by: Sigbjørn Skjæret <redacted>
3 months agoscripts : allow wc2wt with an existing branch (#23189)
Georgi Gerganov [Mon, 18 May 2026 05:57:28 +0000 (08:57 +0300)]
scripts : allow wc2wt with an existing branch (#23189)

3 months agosycl: scalar SWAR byte-subtract in Q6_K MMVQ dot product (#22156)
Intel AI Get-to Market Customer Success and Solutions [Mon, 18 May 2026 05:12:21 +0000 (22:12 -0700)]
sycl: scalar SWAR byte-subtract in Q6_K MMVQ dot product (#22156)

Signed-off-by: Chun Tao <redacted>
Co-authored-by: Chun Tao <redacted>
3 months agosycl: route small f32 matmuls to oneMKL, bypass oneDNN (#22150)
Intel AI Get-to Market Customer Success and Solutions [Mon, 18 May 2026 05:11:51 +0000 (22:11 -0700)]
sycl: route small f32 matmuls to oneMKL, bypass oneDNN (#22150)

Signed-off-by: Chun Tao <redacted>
Co-authored-by: Chun Tao <redacted>
3 months agosycl : fix error when use -mg 1 error (#23140)
Neo Zhang [Mon, 18 May 2026 05:11:19 +0000 (13:11 +0800)]
sycl : fix error when use -mg 1 error (#23140)

3 months agoupdate bid to match each layers MTP source (#23237)
Incarnas [Mon, 18 May 2026 04:37:12 +0000 (21:37 -0700)]
update bid to match each layers MTP source (#23237)

* update bid to match each layers MTP source

* Update conversion/qwen.py

Co-authored-by: Sigbjørn Skjæret <redacted>
---------

Co-authored-by: Sigbjørn Skjæret <redacted>
3 months agocmake : do not check for bin install dir (#23234)
Sigbjørn Skjæret [Mon, 18 May 2026 00:33:14 +0000 (02:33 +0200)]
cmake : do not check for bin install dir (#23234)

3 months agofeat: Support d_conv=15 for ssm-conv.cu (#23017)
Gabe Goodhart [Sun, 17 May 2026 21:05:11 +0000 (15:05 -0600)]
feat: Support d_conv=15 for ssm-conv.cu (#23017)

Branch: ModalityConditionalAdapters
AI-usage: none
Signed-off-by: Gabe Goodhart <redacted>
3 months agocmake : fix LLAMA_BUILD_UI logic (#23190)
Aldehir Rojas [Sun, 17 May 2026 18:42:26 +0000 (14:42 -0400)]
cmake : fix LLAMA_BUILD_UI logic (#23190)

3 months agocmake : do not install conversion script (#23204)
Sigbjørn Skjæret [Sun, 17 May 2026 16:07:21 +0000 (18:07 +0200)]
cmake : do not install conversion script (#23204)

3 months agoCUDA: Continue directly including cuda/iterator (#23102)
Oliver Simons [Sun, 17 May 2026 16:00:10 +0000 (18:00 +0200)]
CUDA: Continue directly including cuda/iterator (#23102)

Cont of #22936, forgot to update one site

3 months agollama: avoid copying logits during prompt decode in MTP (#23198)
Aman Gupta [Sun, 17 May 2026 15:30:25 +0000 (23:30 +0800)]
llama: avoid copying logits during prompt decode in MTP (#23198)

* llama: avoid copying logits during prompt decode in MTP

* review: update comment

* llama-graph: call set_output for t_h_pre_norm

3 months agocommon : delegate assistant continuation to underlying template handlers (#23089)
Aldehir Rojas [Sun, 17 May 2026 11:36:05 +0000 (07:36 -0400)]
common : delegate assistant continuation to underlying template handlers (#23089)

* common : delegate assistant continuation to template handler

* server : implement echo parameter to exclude assistant prefill in the response

* server : fix tests for prefill

* server : use existing llama template

* cont : clean up

3 months agoggml-vulkan/CMakeLists: add a check for SPIRV-Headers (#22009)
Jan Ekström [Sun, 17 May 2026 11:12:11 +0000 (14:12 +0300)]
ggml-vulkan/CMakeLists: add a check for SPIRV-Headers (#22009)

* ci/run: set explicit SPIR-V Headers search path for macOS vulkan CI

For whatever reason, the files are under additional sub-path
`vulkan/` under the cmake directory, which does not match either
current LunarG macOS Vulkan SDK structure (`lib/cmake/SPIRV-Headers`),
nor what gets installed when you run the cmake build+install for
SPIRV-Headers itself on at least Linux (`share/cmake/SPIRV-Headers`).

This allows for SPIRV-Headers to be found, as currently the CI
runner's setup does not seem to include the relevant path in
list of search locations.

* ggml-vulkan/CMakeLists: add a check for SPIRV-Headers

This is installed by the project if it is built and installed.
Receiving an error during the configuration step is generally
preferred to receiving an error in the middle of a build.

3 months agovulkan: add cpy bf16 -> f32 pipelines (#22677)
Pascal [Sun, 17 May 2026 09:31:20 +0000 (11:31 +0200)]
vulkan: add cpy bf16 -> f32 pipelines (#22677)

3 months agovulkan: Support unaligned tensors for ROPE (#22637)
Jeff Bolz [Sun, 17 May 2026 09:30:16 +0000 (04:30 -0500)]
vulkan: Support unaligned tensors for ROPE (#22637)

3 months agocommon : enable streaming JSON argument values (#23173)
Aldehir Rojas [Sun, 17 May 2026 08:44:34 +0000 (04:44 -0400)]
common : enable streaming JSON argument values (#23173)

* common : remove atomic from json arguments

* common : remove parsing logic on JSON arguments

3 months agovulkan: fuse SSM_CONV + BIAS + SILU (#22653)
Jeff Bolz [Sun, 17 May 2026 08:25:50 +0000 (03:25 -0500)]
vulkan: fuse SSM_CONV + BIAS + SILU (#22653)

3 months agoserver : honor --embd-normalize CLI arg (#23125)
Rares Vernica [Sun, 17 May 2026 06:39:04 +0000 (23:39 -0700)]
server : honor --embd-normalize CLI arg (#23125)

The --embd-normalize flag was registered only for the embedding and debug
examples, so llama-server rejected it and the /embedding handler used a
hard-coded default of 2 (L2). Add LLAMA_EXAMPLE_SERVER to the flag's
example set and read params.embd_normalize as the handler's default. The
per-request "embd_normalize" body field continues to override.

3 months agongram : reduce noisy logs (#23185)
ddh0 [Sun, 17 May 2026 06:38:17 +0000 (01:38 -0500)]
ngram : reduce noisy logs (#23185)

* ngram : reduce noisy logs

* ngram : reduce noisy logs

3 months agowebui: support video files as input (#22830)
Judd [Sun, 17 May 2026 00:13:44 +0000 (08:13 +0800)]
webui: support video files as input (#22830)

3 months agoserver: (router) alloc tmp buffer on heap (#23159)
Xuan-Son Nguyen [Sat, 16 May 2026 21:42:16 +0000 (23:42 +0200)]
server: (router) alloc tmp buffer on heap (#23159)

3 months agoserver: skip device enumeration in router mode to avoid creating CUDA primary context...
Pascal [Sat, 16 May 2026 19:21:06 +0000 (21:21 +0200)]
server: skip device enumeration in router mode to avoid creating CUDA primary context (#23137)

3 months agovulkan: removed duplicate #include <memory> in headers (#23144)
Winston Ma [Sat, 16 May 2026 17:57:35 +0000 (01:57 +0800)]
vulkan: removed duplicate #include <memory> in headers (#23144)

3 months agoui: Add request timeout for MCP tool calls (#23138)
Aleksander Grygier [Sat, 16 May 2026 13:20:27 +0000 (15:20 +0200)]
ui: Add request timeout for MCP tool calls (#23138)

* feat: Add request timeout for MCP tool calls in llama-ui

* feat: MCP Settings tab with max timeout setting

3 months agosync : ggml
Georgi Gerganov [Sat, 16 May 2026 12:59:45 +0000 (15:59 +0300)]
sync : ggml

3 months agoggml : bump version to 0.12.0 (ggml/1494)
Georgi Gerganov [Sat, 16 May 2026 12:59:09 +0000 (15:59 +0300)]
ggml : bump version to 0.12.0 (ggml/1494)

3 months agometal : tighten input-position loop in kernel_conv_transpose_1d (ggml/1477)
CrispStrobe [Sun, 10 May 2026 14:45:00 +0000 (16:45 +0200)]
metal : tighten input-position loop in kernel_conv_transpose_1d (ggml/1477)

For a given output position j on the time axis, only input positions
i such that i*s0 <= j < i*s0 + K contribute -- i.e.
i in [ceil((j - K + 1)/s0), floor(j/s0)] intersected with [0, IL-1].
That's at most ceil(K/s0) values (typically 2 for stride==K/2
transposed convs).

The current kernel iterates the full IL range and filters with an
`if`, amplifying per-thread work by IL/ceil(K/s0) (~160x for IL=320,
K=10, s0=5 -- a representative codec-decoder shape). On Apple M1
the wasted work trips the macOS GPU watchdog
(kIOGPUCommandBufferCallbackErrorImpactingInteractivity) on long
graphs.

Compute i_min, i_max analytically before the inner loop and iterate
only [i_min, i_max]. Output is bit-identical (same multiplies and
adds in the same order); loop bound shrinks by IL/ceil(K/s0).

Tested on M1 with a downstream consumer running a TTS codec at full
T_codec; end-to-end codec decode ~3-4x faster, zero watchdog hits
across long synthesis runs vs ~30% pre-patch.

3 months agoggml: install ggml.pc in <libdir>/pkgconfig (ggml/1480)
Steve Lhomme [Sun, 10 May 2026 14:35:38 +0000 (16:35 +0200)]
ggml: install ggml.pc in <libdir>/pkgconfig (ggml/1480)

That's always how it's done: https://github.com/search?q=path%3ACMakeLists.txt%20%22%24%7BCMAKE_INSTALL_LIBDIR%7D%2Fpkgconfig%22&type=code

3 months agoui: Correct links in `tools/ui/README.md` [no ci] (#23139)
Holger Voormann [Sat, 16 May 2026 12:42:38 +0000 (14:42 +0200)]
ui: Correct links in `tools/ui/README.md` [no ci] (#23139)

In `tools/ui/README.md`, update the relative links, now that the `README.md` file has been moved from `tools/server/webui/` to `tools/ui/`.

See https://github.com/ggml-org/llama.cpp/commit/59778f0196a82db32580bb649d5d839355d6d7bf.

3 months agovendor : update cpp-httplib to 0.45.0 (#23103)
Alessandro de Oliveira Faria (A.K.A.CABELO) [Sat, 16 May 2026 12:25:21 +0000 (09:25 -0300)]
vendor : update cpp-httplib to 0.45.0 (#23103)

3 months agollama + spec: MTP Support (#22673)
Aman Gupta [Sat, 16 May 2026 12:06:23 +0000 (20:06 +0800)]
llama + spec: MTP Support  (#22673)

* spec: support MTP

* fix batch size

* rename files

* cont : simplify (#7)

* MTP: clean-up (#9)

* MTP: clean-up

* review: use llama_context_type instead of llama_graph_type

* review: remove llama_model_has_mtp

* review: fix convert issues

* convert: fix pycheck

* review: formatting

* use `mtp-` for identifying mtp models

* convert: fix mtp conversion

* mtp -> draft-mtp

* remove unused llama_arch

* add need_embd in speculative

* llama: allow partial seq_rm for GDN models for speculative decoding

Currently speculative checkpoint needs to restart from a checkpoint
after some draft tokens are not accepted, this leads to some wastage in
running the target again. This PR adds the ability to rollback upto
`draft_max` by storing the GDN intermediates.

* fix pending state

* vulkan: add GDN partial rollback

* meta: extend check to axis 1

* metal: add GDN partial rollback

Extend the gated delta net kernel to store intermediate states for
partial rollback support on the Metal backend.

- Add K (snapshot slot count) as a function constant
- Read input state from slot 0 of the 3D state tensor
- Write intermediate states to different slots during token loop
- For K=1, maintain backward-compatible single-slot behavior

Ref: https://github.com/ggml-org/llama.cpp/commit/8c05923630110223669f069af2000e9cf10c02bc

Assisted-by: llama.cpp:local pi
* delta_net_base: use ggml_pad instead of new_tensor

* review: add need_rs_seq

* review: rename part_bounded to n_rs

* review: deslop comments

* review: rename, add asserts

* server : adjust checkpoint logic (#11)

* server : adjust checkpoint logic

* cont : rm asserts

* server-context: fix early exit

* spec : fix compatibility with n-gram and add TODOs (#13)

* metal : cleanup

* llama : fix faulty bitwise check in recurrent memory

* server : disable RS-based MTP in combination with other spec types

* spec : add TODOs

* cont : fix comment

* cont : update comment

* common : fix logic for ngram + mtp compat

* llama-memory: enable checkpointing with partial rollback

* cont: add test-case for loading into a dirty ctx

* llama-memory-recurrent: clear rs_idx in clear

* download: fix mtp path

* llama-arch: fix enorm op

* docs: update docs

* conversion: fix type annotations

---------

Co-authored-by: Georgi Gerganov <redacted>
3 months agoui: Fix handling of MCP resource template parameters (#23117)
kubawoo [Sat, 16 May 2026 11:25:41 +0000 (13:25 +0200)]
ui: Fix handling of MCP resource template parameters (#23117)

* Fix handling of MCP resource template parameters

* Fix formatting for uri-template.test.ts

---------

Co-authored-by: kuba <redacted>
3 months agowebui : [ChatFormActionAdd][a11y] fix accessibility issues in add menu trigger and...
viggy [Sat, 16 May 2026 10:00:46 +0000 (03:00 -0700)]
webui : [ChatFormActionAdd][a11y] fix accessibility issues in add menu trigger and items (#22736)

* fix tab order on attach button, and dont focus on disabled mennu item

* add a11y tests

3 months agoui: untrack settings sync in props effect to prevent reactive loop (#23127)
Pascal [Sat, 16 May 2026 09:25:34 +0000 (11:25 +0200)]
ui: untrack settings sync in props effect to prevent reactive loop (#23127)

3 months agofix: Add build step using build workflow to publish workflow (#23134)
Aleksander Grygier [Sat, 16 May 2026 09:22:59 +0000 (11:22 +0200)]
fix: Add build step using build workflow to publish workflow (#23134)

3 months agomodel : NvFP4 quantized LM head support (#23046)
ynankani [Sat, 16 May 2026 09:09:27 +0000 (09:09 +0000)]
model : NvFP4 quantized LM head support (#23046)

* NvFP4 quantized LM head support

Signed-off-by: ynankani <redacted>
* Address review commnets

Signed-off-by: ynankani <redacted>
* Add assert for NvFp4 lm head and tied embeddings

Signed-off-by: ynankani <redacted>
* Address review commnets

Signed-off-by: ynankani <redacted>
* Create output_s tensor only when LM head NvFp4

Signed-off-by: ynankani <redacted>
---------

Signed-off-by: ynankani <redacted>
3 months agoui: Restructure repo to use `tools/ui` folder and `ui` / `UI` / `llama-ui` / `LLAMA_U...
Aleksander Grygier [Sat, 16 May 2026 00:02:40 +0000 (02:02 +0200)]
ui: Restructure repo to use `tools/ui` folder and `ui` / `UI` / `llama-ui` / `LLAMA_UI` naming (#23064)

* webui: Move static build output from `tools/server/public` to `build/ui` directory

* refactor: Move to `tools/ui`

* refactor: rename CMake variables and preprocessor defines

- Rename LLAMA_BUILD_WEBUI -> LLAMA_BUILD_UI (old kept as deprecated)
- Rename LLAMA_USE_PREBUILT_WEBUI -> LLAMA_USE_PREBUILT_UI (old kept as deprecated)
- Backward compat: old vars auto-forward to new ones with DEPRECATION warning
- Rename internal vars: WEBUI_SOURCE -> UI_SOURCE, WEBUI_SOURCE_DIR -> UI_SOURCE_DIR, etc.
- Rename HF bucket: LLAMA_WEBUI_HF_BUCKET -> LLAMA_UI_HF_BUCKET
- Emit both LLAMA_BUILD_WEBUI and LLAMA_BUILD_UI preprocessor defines
- Emit both LLAMA_WEBUI_DEFAULT_ENABLED and LLAMA_UI_DEFAULT_ENABLED

* refactor: rename CLI flags (--webui -> --ui) with backward compat

- Add --ui/--no-ui (old --webui/--no-webui kept as deprecated aliases)
- Add --ui-config (old --webui-config kept as deprecated alias)
- Add --ui-config-file (old --webui-config-file kept as deprecated alias)
- Add --ui-mcp-proxy/--no-ui-mcp-proxy (old --webui-mcp-proxy kept as deprecated)
- Add new env vars: LLAMA_ARG_UI, LLAMA_ARG_UI_CONFIG, LLAMA_ARG_UI_CONFIG_FILE, LLAMA_ARG_UI_MCP_PROXY
- C++ struct fields: params.ui, params.ui_config_json, params.ui_mcp_proxy added alongside old fields
- Backward compat: old fields synced to new ones in g_params_to_internals

* refactor: update C++ server internals with backward compat

- Rename json_webui_settings -> json_ui_settings (both kept in server_context_meta)
- Rename params.webui usage -> params.ui (both synced, old still works)
- JSON API emits both "ui"/"ui_settings" and "webui"/"webui_settings" keys
- Server routes use params.ui_mcp_proxy || params.webui_mcp_proxy
- Preprocessor guards use #if defined(LLAMA_BUILD_UI) || defined(LLAMA_BUILD_WEBUI)

* refactor: rename CI/CD workflows, artifacts, and build script

- Rename webui-build.yml -> ui-build.yml; artifact webui-build -> ui-build
- Rename webui-publish.yml -> ui-publish.yml; var HF_BUCKET_WEBUI_STATIC_OUTPUT -> HF_BUCKET_UI_STATIC_OUTPUT
- Rename server-webui.yml -> server-ui.yml; job webui-build/checks -> ui-build/checks
- Update server.yml: job/artifact refs webui-build -> ui-build
- Update release.yml: all webui-build/publish refs -> ui-build/publish; HF_TOKEN_WEBUI_STATIC_OUTPUT -> HF_TOKEN_UI_STATIC_OUTPUT
- Update server-self-hosted.yml: webui-build -> ui-build
- Update build-self-hosted.yml: HF_WEBUI_VERSION -> HF_UI_VERSION
- Rename webui-download.cmake -> ui-download.cmake (internal refs updated)
- Update labeler.yml: server/webui -> server/ui path label

* docs: update CODEOWNERS and server README docs

- Update CODEOWNERS: team ggml-org/llama-webui -> ggml-org/llama-ui, path /tools/server/webui/ -> /tools/ui/
- Update server README.md: CLI tables show --ui flags with deprecated --webui aliases
- Update server README-dev.md: "WebUI" -> "UI", paths updated to tools/ui/

* fix: Small fixes for UI build

* fix: CMake.txt syntax

* chore: Formatting

* fix: `.editorconfig` for llama-ui

* chore: Formatting

* refactor: Use `APP_NAME` in Error route

* refactor: Cleanup

* refactor: Single migration service

* make llama-ui a linkable target

* fix: UI Build output

* fix: Missing change

* fix: separate llama-ui npm build output into build/tools/ui/dist subfolder + use cmake npm build instead of downloading ui-build.yml artifacts in CI

* refactor: UI workflows cleanup

---------

Co-authored-by: Xuan Son Nguyen <redacted>
3 months agoci : fix release symlinks (#23119)
Sigbjørn Skjæret [Fri, 15 May 2026 23:09:28 +0000 (01:09 +0200)]
ci : fix release symlinks (#23119)

3 months agowebui: Use lowercase hash for HF checksum check (#23107)
Omer Ozarslan [Fri, 15 May 2026 17:38:16 +0000 (10:38 -0700)]
webui: Use lowercase hash for HF checksum check (#23107)

3 months agotests: add BF16 non-contig coverage for MUL_MAT permutations (#22689)
Pascal [Fri, 15 May 2026 17:35:05 +0000 (19:35 +0200)]
tests: add BF16 non-contig coverage for MUL_MAT permutations (#22689)

The MUL_MAT test loop iterates over base_types[] to generate non-contig
permutation cases (3 standard permutations across n in {1, 8, 16}).
BF16 is absent from base_types[], so these 9 cases were never generated
for BF16 even though every other type covered by base_types[] tests them.

Add the missing 9 cases explicitly: BF16 x F32, m=16, k=256, bs=[2,3],
permutations {0,2,1,3}, {0,1,3,2}, {0,3,2,1}, with n in {1, 8, 16}.

Suggested-by: @jeffbolznv
3 months agodocs: document `usage` object in server timings response (#23110)
Julien Chaumond [Fri, 15 May 2026 17:33:12 +0000 (19:33 +0200)]
docs: document `usage` object in server timings response (#23110)

* docs: document `usage` object in server timings response

Co-Authored-By: julien-agent <redacted>
* Apply suggestion from @julien-c

---------

Co-authored-by: julien-agent <redacted>
3 months agomtmd: add chunks and fix preproc for qwen3a (#23073)
Xuan-Son Nguyen [Fri, 15 May 2026 17:32:47 +0000 (19:32 +0200)]
mtmd: add chunks and fix preproc for qwen3a (#23073)

* mtmd: add chunks and fix preproc for qwen3a

* add attn_mask

* limit mtmd_chunk size (avoid blow up memory)

* correct audio tokens

* re-order the set_input case

* remove attn_mask

3 months agowebui: fix theme from --webui-config-file not applied on first load (fresh localStora...
Pascal [Fri, 15 May 2026 17:25:38 +0000 (19:25 +0200)]
webui: fix theme from --webui-config-file not applied on first load (fresh localStorage) (#22902)

3 months agoconvert : fix Qwen3 ASR conversion (#23081)
Sigbjørn Skjæret [Fri, 15 May 2026 16:38:39 +0000 (18:38 +0200)]
convert : fix Qwen3 ASR conversion (#23081)

* fix qwen3asr

* fix qwen3asr

3 months agoRefactor: convert_hf_to_gguf.py (#17114)
Piotr Wilkin (ilintar) [Fri, 15 May 2026 13:18:12 +0000 (15:18 +0200)]
Refactor: convert_hf_to_gguf.py (#17114)

* move conversion code to a dedicated conversion directory and split the files akin to the src/models architecture

---------

Co-authored-by: Sigbjørn Skjæret <redacted>
3 months agoci : fix transform of top . entry in release archive (#23080)
Sigbjørn Skjæret [Fri, 15 May 2026 11:13:16 +0000 (13:13 +0200)]
ci : fix transform of top . entry in release archive (#23080)

* fix transform of top . entry in release archive

* simplify

3 months agollama-eval : add AIME 2026 dataset support (#23058)
Georgi Gerganov [Fri, 15 May 2026 10:58:30 +0000 (13:58 +0300)]
llama-eval : add AIME 2026 dataset support (#23058)

Add Aime2026Dataset class loading from MathArena/aime_2026 on
HuggingFace. 30 problems (two sets of 15), single config/split.

Usage: --dataset aime2026

Assisted-by: llama.cpp:local pi
3 months agoreasoning-budget: clone should do a deep-copy (#23095)
Aman Gupta [Fri, 15 May 2026 09:59:07 +0000 (17:59 +0800)]
reasoning-budget: clone should do a deep-copy (#23095)

3 months agowebui: preserve partial response on streaming error (#23090)
Pascal [Fri, 15 May 2026 09:18:11 +0000 (11:18 +0200)]
webui: preserve partial response on streaming error (#23090)

3 months agoSupport for Codex CLI by skipping unsupported Responses tools (#23041)
Sid Shaytay [Fri, 15 May 2026 07:03:24 +0000 (00:03 -0700)]
Support for Codex CLI by skipping unsupported Responses tools (#23041)

* Support for Codex CLI by skipping unsupported Responses tools

* Warn on skipped Responses tools and preserve gpt-oss apply_patch rejection

* Revert gpt-oss apply_patch special handling

3 months agoreadme : update bindings (#23063)
KITAITI Makoto [Fri, 15 May 2026 05:41:24 +0000 (14:41 +0900)]
readme : update bindings (#23063)

3 months agoggml-hexagon: cpy: add contiguous fast-path in reshape copy (#23076)
Pranav Dhinakar [Thu, 14 May 2026 23:55:54 +0000 (16:55 -0700)]
ggml-hexagon: cpy: add contiguous fast-path in reshape copy (#23076)

3 months agoHIP: RDNA3 mma FA, faster AMD transpose, tune AMD (#22880)
Johannes Gäßler [Thu, 14 May 2026 20:58:58 +0000 (22:58 +0200)]
HIP: RDNA3 mma FA, faster AMD transpose, tune AMD (#22880)

Adds RDNA3 support to the CUDA mma FA kernel. To make the RDNA3 tensor cores work with the FP16 accumulation for VKQ the tiles they need to be 32 logical units long in direction of the attention head; for head sizes 80 and 112 that are not exactly divided by 32 the regular length of 16 with FP32 accumulation is used instead. The longer tiles also enable more efficient transposition for a warp size of 32 which is why it's also used for RDNA4. However, this scrambles the data layout of the accumulators along the attention head dimension. To prevent accidental misuse I added another entry to ggml_cuda_mma::data_layout.

I also tuned the kernel parameters for RDNA3, RDNA4, and CDNA1 in general, during which I discovered that the kernel can be made to work for head sizes up to 256 for CDNA. For RDNA3/4 I was not able to get better performance that the tile kernel for head sizes > 128.

3 months agoCI : support IOT device (IQ9) (#22987)
Zack Li [Thu, 14 May 2026 20:58:34 +0000 (13:58 -0700)]
CI : support IOT device (IQ9) (#22987)

* update test scripts

* align CI behavior between linux and android

* remove automatically cancel in 15min

* enable cancel-in-progress

* fix ty check issue

* update and fix pylint issue

* update runner such that we are not restricted by the 15min limit rule

* fix flake8 lint issue

* update runner according to review feedback

* code update according to review feedback

* switch from llama-cli to llama-completion binary with -no-cnv flag

3 months agoggml-webgpu: Enable NVIDIA self-hosted CI (#22976)
Reese Levine [Thu, 14 May 2026 16:41:32 +0000 (09:41 -0700)]
ggml-webgpu: Enable NVIDIA self-hosted CI (#22976)

* Enabel nvidia ci for webgpu

* Address precision issues

* fix placement

* Relax more set_rows and div

* Try relaxing all f16

* formatting and naming

* Add comment explaining max_nmse_err logic

Added comment referencing pull request for clarification.

3 months agoggml-webgpu: makes the flash attn vec path subgroup-aware (#23040)
Zheyuan Chen [Thu, 14 May 2026 16:31:36 +0000 (09:31 -0700)]
ggml-webgpu: makes the flash attn vec path subgroup-aware (#23040)

* ggml-webgpu: makes the flash attn vec path compile and size its split/reduce work from the device’s reported subgroup range instead of assuming 32 subgroup size.

* ggml-webgpu: remove the extra max_wg_size >= max_subgroup_size guard. Remove hardcoded 32 when determine the value of reduce_wg_size and vec_nwg_cap

3 months agofix: Propagate version tag to WebUI asset download in self-hosted CI (#23051)
Aleksander Grygier [Thu, 14 May 2026 15:57:20 +0000 (17:57 +0200)]
fix: Propagate version tag to WebUI asset download in self-hosted CI (#23051)

* fix: Propagate version tag to WebUI asset download in self-hosted CI

* refactor: Apply suggestions from @CISC

Co-authored-by: Sigbjørn Skjæret <redacted>
* fix: Skip npm build when Node.js is not installed

Avoid 'no such file or directory' errors on CI runners that lack
Node.js. Check if npm is available via find_program before attempting
npm install + npm run build. Falls back to HF Bucket download.

* fix: Use + separator for ASSETS list to fix Windows build

Replace fragile \; escaping with a + separator when passing the
WebUI asset list via -DASSETS to the download script. On Windows,
the \; escaping was not reliably preserved through the CMake build
system, causing all asset filenames to be concatenated into one
(e.g., 'index.html;bundle.js;bundle.css;loading.html' as a single
file), which broke the HF Bucket download and subsequent xxd.cmake
step.

+ is safe because it is not special in cmd.exe (unlike | which is a
pipe operator), not special in CMake's -D argument parser, and not
a valid Windows filename character. CMakeLists.txt joins assets
with + and webui-download.cmake splits them back via regex.

* fix: Validate HF_WEBUI_VERSION environment variable with regex

Add input validation for the HF_WEBUI_VERSION env var to prevent
CMake list separator or path-traversal issues in stamp filenames
and download URLs. Rejects non-conforming characters early.

* fix: Remove 'latest' fallback for HF_WEBUI_VERSION

When needs.determine-tag.outputs.tag_name is empty, let CMake's
default resolution handle it (empty -> git-based version lookup)
instead of falling back to 'latest'. This ensures the sentinel
stamp file is consistent with CMake's resolution logic.

* fix: Demote checksum verification failure to warning instead of hard gate

* fix: End line character

---------

Co-authored-by: Sigbjørn Skjæret <redacted>
3 months agocontributing: new contributors should not submit trivial fixes (#23045)
Aman Gupta [Thu, 14 May 2026 15:55:24 +0000 (23:55 +0800)]
contributing: new contributors should not submit trivial fixes (#23045)

3 months agowebui: Move static build output from repo code to HF Bucket (#22937)
Aleksander Grygier [Thu, 14 May 2026 11:21:41 +0000 (13:21 +0200)]
webui: Move static build output from repo code to HF Bucket (#22937)

* ci: add workflow to publish webui to Hugging Face bucket

* ci: add webui release job to release workflow

* ci: test webui release job

* chore: Return to default minification strategy for build output files

* ci: extract webui build into separate workflow and job

* chore: Ignore webui static output + clean up references

* chore: Delete legacy webui static output

* chore: Ignore webui build static output

* fix: Workflow

* fix: Versioning naming

* chore: Update package name

* test: Test CI fix

* refactor: Naming

* server: implement webui build strategy with HF Bucket support

* chore: Remove test workflow

* chore: Use WebUI build workflow call in other workflows

* server: HF Buckets fallback for WebUI build

* refactor: App name variable

* refactor: Naming

* fix: Retrieve loading.html

* fix: workflow syntax

* fix: Rewrite malformed release.yml

* fix: Req param

* test: Re-add missing Playwright installation for CI tests

* refactor: Logic & security improvements

* refactor: Retrieve publishing jobs and DRY the workflows

* fix: Test workflow syntax

* fix: Upstream Release Tag for test workflow

* chore: Remove test workflow

* ci: Run WebUI jobs on `ubuntu-24.04-arm`

* refactor: Post-CR cleanup

Co-authored-by: Sigbjørn Skjæret <redacted>
Co-authored-by: Aleksander Grygier <redacted>
* refactor: CI cleanup

* refactor: Cleanup

* test: Test workflow

* refactor: use LLAMA_BUILD_NUMBER instead of LLAMA_BUILD_TAG for HF Bucket webui downloads

* server: add fallback mechanism for HF Bucket webui downloads from latest directory

* fix: Incorrect argument order in file(SHA256) calls for checksum verification

* refactor: Use cmake script for handling the HF Bucket download on build time

* feat: support local npm build for WebUI assets

* refactor: add `HF_ENABLED` flag to control WebUI build/download provisioning

* refactor: Cleanup

* chore: Remove test workflow

* fix: remove s390x from release workflow

* fix: add webui-build dependency to ubuntu-22-rocm and windows-hip

* Revert "fix: remove s390x from release workflow"

This reverts commit debcfffa9bc1e3112eae41f2d29741b682e4eb19.

* fix: Release workflow file

* fix: Proper release tag used for HF Bucket upload

* fix: Remove duplicate steps in release workflow

---------

Co-authored-by: Sigbjørn Skjæret <redacted>
3 months agologs : reduce (#23021)
Georgi Gerganov [Thu, 14 May 2026 10:05:52 +0000 (13:05 +0300)]
logs : reduce (#23021)

* logs : reduce

* args : fix envs

* server : fix build

* common : print verbosity level at start

* server : clean-up logs

* server : print prompt processing timings + sampling params

* minor : whitespaces

3 months agoggml-cpu: Add IME2 Instruction Support for the SpacemiT Backend (#22863)
alex-spacemit [Thu, 14 May 2026 09:39:30 +0000 (17:39 +0800)]
ggml-cpu: Add IME2 Instruction Support for the SpacemiT Backend (#22863)