Skip to content

🧪 Help wanted: testing on macOS (Apple Silicon/Intel), ARM64 Linux (Raspberry Pi) & Windows ROCm (Radeon GPU) #140

Open

Description

@primoco

Some of these builds run on hardware the maintainer does not own. Community reports are what turn a binary that compiles into a binary we can claim works.

Status (updated 9 August 2026

Binary Status Validated on
eullm-linux-x64 Tested maintainer
eullm-linux-x64-cuda-12.8 Tested RTX 3000/4000/5000
eullm-linux-x64-vulkan Tested (community) Ryzen AI 9 HX 470 with Radeon 890M integrated graphics, 96 GB unified memory, openSUSE Tumbleweed. qwen3-0.6b Q4 at ~135 tok/s, all 29 layers offloaded
eullm-linux-arm64 Tested (community) Raspberry Pi 400, Raspberry Pi 5
eullm-linux-arm64-cuda-12.8 Tested RTX 3060 12GB on an ARM host, qwen3-14b Q4 at 33 tok/s
eullm-linux-arm64-cix-p1 Tested Radxa Orion O6 (CIX P1, Armv9.2 12-core, ~20W board power): qwen3.6-35b-a3b — a 35B hybrid MoE, ~3B active params/token — fully on CPU at 9–11 tok/s sustained, multi-turn KV reuse at 100%
eullm-macos-arm64 (Metal) Tested (community) Mac mini M2 Pro, M1, M4 Pro
eullm-macos-x64 (Intel, CPU only) Tested (community) 2018 Mac mini i7-8700B at 54 tok/s, 2018 MacBook Pro 15" i9-8950HK at 41 tok/s
eullm-windows-x64.exe Tested maintainer
eullm-windows-x64-cuda-12.8.zip Tested RTX 3000/4000/5000

Multimodal (image and audio input) is compiled into every binary since v0.6.42. Validated on CUDA and on CPU-only Linux x64 with Gemma 4: image description and audio transcription both work. The same 40-second voice note took 4.3 s on CUDA against 143 s on CPU, with output of the same quality. Validated on Vulkan too, 9 August 2026: @odlg ran an image through gemma-4 on the same Radeon 890M box that produced the first Vulkan report (#286). That closes the last empty cell: image input is now confirmed on CUDA, CPU, and Vulkan.

Vulkan, new in v0.6.48

Until this week the only published GPU builds were NVIDIA, which left out every AMD and Intel GPU. eullm-linux-x64-vulkan covers them. It links libvulkan.so.1 and uses whatever driver your system provides (mesa RADV, amdvlk, NVIDIA, Intel ANV), so unlike the CUDA builds nothing is bundled: you need a working Vulkan driver on the machine.

The interesting case is integrated graphics with unified memory, where the GPU can address far more than any consumer discrete card. If you have such a machine, a 14B or 32B model running on it is a result nobody has published.

macOS Intel: resolved in v0.6.39

If you are on an Intel Mac running anything earlier than v0.6.39, upgrade. Earlier builds produced repeated garbage characters, stalled generations, and in one case a kernel panic.

The cause was ours. The published eullm-macos-x64 binary was loading the entire model onto the Mac's GPU through Metal while reporting that it was running on CPU. Metal produces incorrect results on the Intel and AMD GPUs those machines carry, a known limitation upstream (ggml-org/llama.cpp#19563, #4004), which is why llama.cpp ships its own macOS x64 build without Metal as well.

What is still needed

  • Intel Macs from 2014 to 2016. No data at all on these. The 2018 machines are covered and re-tested on every release.
  • Windows with NVIDIA, on cards outside the RTX 3000/4000/5000 range we test against.
  • ARM64 boards we haven't seen: Orange Pi 5+, Rock 5B, Jetson, RK3588. The generic arm64 build is validated on Raspberry Pi and the CIX-specific one on the Orion O6; everything in between is unreported.
  • Re-tests on new releases. The macOS Intel case is a reasonable argument against assuming a platform stays working.

How to report (5 to 10 minutes)

  1. Download the binary for your platform from the latest release.

  2. Check the version and the variant:

    chmod +x eullm-*
    ./eullm-* -V

    You should see something like eullm 0.6.48 (Vulkan) or eullm 0.6.48 (CPU).

  3. Run it with a small model so the test stays quick:

    ./eullm-* run qwen3-0.6b --ctx-size 4096

    Running eullm with no arguments gives an interactive picker instead, listing local GGUFs and the model catalog. The browser chat starts on http://localhost:11435/, the API on 11434.

  4. Post below with:

    • OS and version, chip or SoC, GPU if any, and the exact output of eullm -V
    • Tokens per second (printed after each turn)
    • What worked: model load, generation, chat UI, /api/chat, /v1/chat/completions
    • What broke: the full error text
    • The engine's startup output, not only the API responses. This is the single most useful thing you can attach. It says which backend actually initialised and how many layers were offloaded, and it is what took a week to obtain in the Intel Mac case above. With --daemon it goes to /tmp/eullm.log rather than your terminal.

If you see garbage output or an unexplained stall, add --rust-debug. It scans the model's numeric output before every token and logs loudly when it finds corruption, which distinguishes a compute fault from a problem further downstream.

Why we ship binaries we have not run

Building for these platforms in CI costs nothing and gives people on that hardware the option to try. Marking them honestly is the part that matters: the code compiles, but the maintainer cannot claim it runs correctly on hardware they do not have. The table above reflects only what someone has actually run, which is why one row still says "compiles, never run".

Credits

@PeterHickman, five machines covering both Intel Macs, an M1, an M4 Pro and a Pi 5, re-tested on every release across a week of near-daily ones, with full logs every time. His reports are the reason macOS Intel works at all: they exposed that the published binary was loading all 29 layers onto the machine's GPU through Metal while printing that inference would run on CPU, and the run he did of llama.cpp's own llama-cli on the same model and the same box is what proved the fault was ours rather than his hardware. Two further defects came out of the same thread: the CPU-only binaries were built without an AVX2 baseline, and eullm serve was starting with different KV cache defaults than eullm run.

@andreyluiz, Mac mini M2 Pro and Raspberry Pi 400, with full logs. His macOS run surfaced a real packaging bug: the published eullm-macos-arm64 had been built without Metal and silently ran on CPU.

@odlg, first report on Vulkan, on a Ryzen AI 9 HX 470 with Radeon 890M integrated graphics and 96 GB of unified memory, on openSUSE Tumbleweed: a combination nobody had covered on any axis. His full startup log paid for itself twice over, showing our KV cache estimate reporting half the memory llama.cpp actually allocated, while his editor plugin running out of room against the 4096 default is why the banner now says when the context window is far below what the model can hold. He also found that building from source had been broken for three weeks for anyone following the README, which told people to clone without --recursive, and that a model pulled by URL never appeared in /v1/models, which made it unreachable from an editor rather than merely absent from a list.

All three are credited in the README's platform table. The offer stands for the platforms still listed above: the first verified report for a platform gets a permanent credit there.

Useful commands

# Version and variant (CPU / CUDA / Metal / ROCm / Vulkan)
./eullm -V

# What is installed locally, and which directory it is read from
./eullm list

# Ollama-compatible API
curl -X POST http://localhost:11434/api/chat \
  -H "Content-Type: application/json" \
  -d '{"model":"qwen3-0.6b","messages":[{"role":"user","content":"Hello!"}],"stream":false}'

# OpenAI-compatible API
curl -X POST http://localhost:11434/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{"model":"qwen3-0.6b","messages":[{"role":"user","content":"Hi!"}]}'

# Browser chat
open http://localhost:11435/       # macOS
xdg-open http://localhost:11435/   # Linux

Every report helps someone run this on hardware they already own.

Activity

  1. added
    help wanted
    on May 31, 2026
  2. andreyluiz commented on Jun 21, 2026

    @andreyluiz

    @primoco I can help with that. I've got a MacMini M2 that would be perfect to test Metal and Metal + Turboquant. I also have a Raspberry Pi 400 I can easily revive for the purpose of testing it. I will set everything up and get back to you.

  3. primoco commented on Jun 22, 2026

    @primoco
    CollaboratorAuthor

    @andreyluiz amazing, thank you 🙏 — a Mac Mini M2 is exactly the top-priority case (Metal on Apple Silicon), and the Pi 400 covers ARM64 Linux.

    One heads-up that'll save you time: skip the TurboQuant variant. TurboQuant was an experimental track we removed in v0.5.8, so the current release (v0.6.2) no longer ships any *-turboquant-exp binary — that row in the issue above is stale (this issue dates back to v0.5.2). Just grab the standard builds from the latest release:

    • Mac Mini M2 → eullm-macos-arm64 (you should see eullm 0.6.2 (Metal) from -V)
    • Pi 400 (BCM2711, 4 GB) → eullm-linux-arm64; keep the model small (Qwen3-0.6B or Gemma-2B Q4_K_M) given the 4 GB RAM.

    No rush at all — whenever you get them running, drop the report here (the -V line, tokens/sec, what worked / what broke). How's the setup going so far?


  4. andreyluiz commented on Jun 22, 2026

    @andreyluiz

    Tests are done on Mac M2.

    Remark before starting

    One important thing: the binary eullm-macos-arm64 was saying to me it was using CPU.

    ╔══════════════════════════════════════════════════════════════╗
    ║  WARNING: GPU requested but this binary has no GPU support   ║
    ║                                                              ║
    ║  All inference will run on CPU (very slow for large prompts) ║
    ║                                                              ║
    ║  Rebuild with GPU support:                                   ║
    ║    cargo build --release --features cuda    # NVIDIA         ║
    ║    cargo build --release --features rocm    # AMD            ║
    ║    cargo build --release --features vulkan  # Cross-platform ║
    ║    cargo build --release --features metal   # Apple Silicon  ║
    ║                                                              ║
    ║  Docker: use the engine-gpu service or build with:           ║
    ║    docker build --build-arg FEATURES=cuda -t eullm .         ║
    ╚══════════════════════════════════════════════════════════════╝
    

    I decided then to compile the binary from source using the --features metal flag. And we can see an improvement of around 10% optimization on the compiled version.

    Specs

    The tests have been executed with the qwen3-0.6b model running locally on my Mac Mini M2.

    The full specs:
    Chip: Apple M2 Pro
    Memory: 16Gb
    OS: Tahoe 26.5.1 (25F80)

    Here are the test results:

    Testing: eullm-compiled-metal

    Version (eullm -V) : eullm 0.6.2 (Metal)
    Starting server...
    Server ready.
    /api/chat → ✅ (166.5 tok/s)
    /v1/chat/completions → ✅
    Logs: eullm-compiled-metal.txt

    Testing: eullm-macos-arm64

    Version (eullm -V): eullm 0.6.2 (CPU)
    Starting server...
    Server ready.
    /api/chat → ✅ (183.9 tok/s)
    /v1/chat/completions → ✅
    Logs: eullm-macos-arm64.txt

    Web interface

    The EuLLM Chat web interface works pretty well as well.

    Image

    Cache

    (optional) Did --cache-type-k q4_0 --cache-type-v q4_0 work too?

    Not tested.


    I really recommend looking at the logs. The results are fascinating. :)

    Next up, I will setup my Raspberry Pi 400. It needs a bit more setup, but I'll come back to you once I'm done with the test.

  5. andreyluiz commented on Jun 22, 2026

    @andreyluiz

    Here are the results for Raspberry Pi 400


    Specs

    Running qwen3-0.6b on a Raspberry Pi 400.

    Full specs:
    Model: Raspberry Pi 400 Rev 1.0
    OS: Debian GNU/Linux 13 (trixie) aarch64
    Host: Raspberry Pi 400 Rev 1.0
    Kernel: 6.18.34+rpt-rpi-v8
    Uptime: 1 day, 2 hours, 36 mins
    Packages: 1666 (dpkg)
    Shell: bash 5.2.37
    Resolution: 1024x768
    DE: labwc:wlroots (Wayland)
    WM: labwc
    Theme: PiXtrix [GTK3]
    Icons: PiXtrix [GTK3]
    Terminal: x-terminal-emul
    CPU: Cortex-A72 (4) @ 1.800GHz
    GPU: V3D 4.2.14.0
    Memory: 2131MiB / 3789MiB

    Testing: eullm-linux-arm64

    Version (eullm -V) : eullm 0.6.2 (CPU)
    Starting server...
    Server ready.
    /api/chat → ✅ ~4.7 chunk/s (slooooow)
    /v1/chat/completions → ✅
    Logs: logs-linux-arm64.txt

    Web UI

    Works quite well.

    Image

    I will perform some more tests specially on Raspberry Pi. I'm really curious if we can extract a bit more juice from it. No expectations though.

  6. primoco commented on Jun 23, 2026

    @primoco
    CollaboratorAuthor

    @andreyluiz this is gold — two platforms, with logs. 🙏

    The macOS "CPU instead of Metal" was a real bug, and it's fixed. Our release matrix was building eullm-macos-arm64 (and -x64) without --features metal, so the published binary was CPU-only — exactly what your -V showed. The job now passes --features metal, so the prebuilt macOS binaries ship with Metal out of the box, no source build needed.

    It's in the latest v0.6.3-rc pre-release (Releases page): grab eullm-macos-arm64 and you should now see eullm 0.6.3 (Metal) straight from -V. If you get a minute to confirm, that closes the loop.

    On throughput: don't read too much into Metal (166) vs CPU (184 tok/s) on qwen3-0.6b — at 0.6B the GPU kernel-launch overhead outweighs the compute, so CPU can edge ahead. Metal pulls clearly ahead on larger models / longer prompts; a 4B–8B Q4_K_M is where you'll see it.

    Pi 400: exactly the result we hoped for — eullm-linux-arm64 on a Cortex-A72, chat + both APIs + Web UI all working, just slow (~4.7 tok/s). Sovereign AI on a low-cost ARM board you already own — the story standing up on real silicon.

    Both reports qualify for the verified-platform shout-out (Apple M2 + Pi 400) — I'll credit you in the release notes. Thanks again for the thorough write-ups.


  7. andreyluiz commented on Jun 23, 2026

    @andreyluiz

    @primoco I confirm the release v0.6.3 Apple Silicon now correctly uses the Metal GPU. ;)

  8. PeterHickman commented on Jul 18, 2026

    @PeterHickman

    Apple M4 Pro
    64 GB
    26.5.2 (25F84)

    $ ./eullm -V
    eullm 0.6.26 (Metal)

    $ ./eullm list
    NAME SIZE VRAM STATUS DESCRIPTION
    qwen3-0.6b 500.0MB 2GB ready Qwen3 0.6B Instruct

    $ curl -X POST http://localhost:11434/api/chat
    -H "Content-Type: application/json"
    -d '{"model":"qwen3-0.6b","messages":[{"role":"user","content":"Hello!"}],"stream":false}'

    {"created_at":"2026-07-18T18:30:51.001741+00:00","done":true,"done_reason":"stop","eval_count":135,"eval_duration":692000000,"load_duration":0,"message":{"content":"\nOkay, the user just said "Hello!" to me. Let me respond appropriately.\n\nFirst, I should acknowledge their greeting. Maybe start with a simple "Hi there" or "Hello again." Since they might be testing the system, it's good to keep it friendly.\n\nI should make sure my response is concise. No need to add extra information. Just a polite reply.\n\nMaybe use an emoji like to keep it friendly and show I'm enjoying the conversation.\n\nI should also check if they need more help. So, closing the interaction by offering further assistance in a positive way.\n\n\nHello again! How can I assist you today?","role":"assistant"},"model":"qwen3-0.6b","prompt_eval_count":10,"prompt_eval_duration":0,"total_duration":692000000}

    $ curl -X POST http://localhost:11434/v1/chat/completions
    -H "Content-Type: application/json"
    -d '{"model":"qwen3-0.6b","messages":[{"role":"user","content":"Hi!"}]}'

    {"choices":[{"finish_reason":"stop","index":0,"message":{"content":"\nOkay, the user just said "Hi!" to me. I need to respond appropriately. Since they're a human, maybe they want to greet me back. But since I'm an AI, how do I handle this? Maybe start with a friendly greeting. Let me check if there's a specific response they prefer. If not, perhaps a simple "Hello" would work. But I should make sure to be polite and open-ended in case they have more questions later. Let me confirm if there's any need for further action or if a casual response is best.\n\n\nHello! How can I assist you today? ","role":"assistant"}}],"created":1784399529,"id":"chatcmpl-ea46377a-cf19-468d-9ef3-aae697e4a3d2","model":"qwen3-0.6b","object":"chat.completion","usage":{"completion_tokens":129,"prompt_tokens":10,"total_tokens":139}}

  9. PeterHickman commented on Jul 18, 2026

    @PeterHickman

    This is going to appear to be unnecessarily picky but the chat response contains "created_at": "2026-07-18T18:30:51.001741+00:00", however the completions response contains "created": 1784399529. They appear to be functionally the same, perhaps they could have the same name? Likewise the values, iso_8601 or seconds since epoch. Either is good (personally I prefer iso_8601). One or the other, pick one or the other. Not both

  10. primoco commented on Jul 19, 2026

    @primoco
    CollaboratorAuthor

    @PeterHickman thanks for both — an M4 Pro report is genuinely useful (different chip family from the M2 Pro report above, still a fresh data point for Apple Silicon), and Metal working correctly with both APIs on 0.6.26 confirms that path is solid on newer hardware too.

    On the created_at vs created question: I get why it looks like an oversight, but it's actually deliberate and matches upstream on purpose, not eullm's own invention. Ollama's native /api/chat and /api/generate really do use created_at as an RFC3339 string (e.g. "created_at": "2025-01-14T20:01:50.27409Z" straight from Ollama's own API), while OpenAI's /v1/chat/completions really does use created as a Unix timestamp integer ("created": 1677652288). Different name, different format, same two real specs — even Ollama's own OpenAI-compatibility layer keeps this exact split between its native and OpenAI-shaped endpoints.

    Since eullm's whole pitch on both endpoints is "any existing Ollama or OpenAI client works without modification," picking one field name/format and using it on both would fix the inconsistency but break compatibility with whichever ecosystem didn't get picked — so I'd rather leave it as-is than "clean it up." Appreciate you flagging it though, better to have it on record with the reasoning than have the next person wonder the same thing.

  11. PeterHickman commented on Jul 19, 2026

    @PeterHickman

    Ok that make sense, lets not create a new standard. xkcd has shown us where that leads us. Anyhow I have also tested the --cache-type-k q4_0 --cache-type-v q4_0 option

    ./eullm run --port 11435 --cli qwen3-4b
    
    eullm ready.  [v0.6.26]
      API (EULLM):   http://localhost:11435/api
      API (OpenAI):  http://localhost:11435/v1
      Chat UI:       http://localhost:11435/
      Model:         qwen3-4b
      GPU backend:   Metal
      GPU layers:    all
      Context:       4096 total (4096 per sequence × 1 slots)
      Flash attn:    enabled (auto-detect)
      KV cache:      K=F16 V=F16
      KV memory:     K=180 MiB, V=180 MiB
      Threads:       14
      Batch (prefill): 2048
      Mode:          continuous batching (max 1 concurrent)
    
    [qwen3-4b: 789 tokens, 31 prompt, 73.6 tok/s]
    
    ./eullm run --port 11435 --cli --cache-type-k q4_0 --cache-type-v q4_0 qwen3-4b
    
    eullm ready.  [v0.6.26]
      API (EULLM):   http://localhost:11435/api
      API (OpenAI):  http://localhost:11435/v1
      Chat UI:       http://localhost:11435/
      Model:         qwen3-4b
      GPU backend:   Metal
      GPU layers:    all
      Context:       4096 total (4096 per sequence × 1 slots)
      Flash attn:    enabled (auto-detect)
      KV cache:      K=Q4_0 V=Q4_0
      KV memory:     K=51 MiB, V=51 MiB
      Threads:       14
      Batch (prefill): 2048
      Mode:          continuous batching (max 1 concurrent)
    
    [qwen3-4b: 1047 tokens, 31 prompt, 66.3 tok/s]
    
  12. 111 remaining items

  13. primoco commented on Nov 22, 2026

    @primoco
    CollaboratorAuthor

    Thanks Peter, and the Pi 3B made my day: slow, but it works. The Pi 6 it is 🙂

    I looked at the Jetson log for 0.9.30: it is not the engine. The two server starts in that file run the same model with the same settings (the q4_0 KV cache you asked for the second time falls back to F16 without flash attention, so the memory is identical), yet the first wrote 5-6 tokens/s and the second, seven minutes later, 24-25 tokens/s. Something on the board slowed the first run down: the power mode, the clocks, the temperature, or another process. If you run it again, sudo jetson_clocks (or checking nvpmodel -q) before the tests should make the numbers steadier.

    One more thing: the times in the table depend on how long the model thinks, which changes from run to run at temperature 0.8, so tokens per second (eval_count / eval_duration in the logs) compares versions better than seconds.

    And you found a small bug for us: after that fallback, the startup summary still says K=Q4_0 V=Q4_0. It should show what is really used; we'll fix it.

  14. PeterHickman commented on Nov 24, 2026

    @PeterHickman

    0.9.50

    Machine CPU 1 2 3 4 5 6 1 2 3 4 5 6
    jetson arm64 Ok Ok Ok Ok Ok Ok 6 5 44 38 229 223
    mac mini 2018 intel Ok Ok Ok Ok Ok Ok 4 1 19 16 1 94
    mac mini m1 Ok Ok Ok Ok Ok Ok 2 1 13 12 74 74
    mac mini m4 pro Ok Ok Ok Ok Ok Ok 1 1 6 3 23 22
    macbookpro 2018 intel Ok Ok Ok Ok Ok Ok 8 3 26 18 125 118
    pi4 arm64 Ok Ok Ok Ok Ok Ok 21 19 259 150 1176 1197
    pi5 arm64 Ok Ok Ok Ok Ok Ok 6 6 56 39 283 291

    Unfortunately there are some failures here. The cache tests, 5 and 6, run but produce gibberish as output for all machines, it notes in the log that --ctx-size should really be 40960 here. So I could add that to the tests and run them again if you want. The pi3 is absent as the pi4 took long enough run that I am unsure I would have the patience to wait for it to complete

    jetson.txt
    mac_mini_2018_intel.txt
    mac_mini_m1.txt
    mac_mini_m4_pro.txt
    macbookpro_2018_intel.txt
    pi4.txt
    pi5.txt

  15. PeterHickman commented on Nov 24, 2026

    @PeterHickman

    Just a quick note, adding --ctx-size 40960 does not help on the machines with enough ram to handle it and kills the smaller machines

  16. primoco commented on Nov 25, 2026

    @primoco
    CollaboratorAuthor

    Thanks Peter, this is a real bug and it is ours. The 40960 line is only a hint that Qwen3 was trained for a longer context than the 4096 default; it has nothing to do with the gibberish, so leave --ctx-size as it was.
    What changed in 0.9.50: with --cache-type-k q4_0 --cache-type-v q4_0 --no-flash-attn, earlier versions silently fell back to f16 for both caches, so tests 5 and 6 never really ran 4-bit keys. 0.9.50 fixed the startup summary you reported, and from then on the keys really were q4_0, which produces gibberish without flash attention too. The model then talks until the token limit, which is why those times jumped. I reproduced it on CPU: q4_0 keys break, q4_1, q5_0 and q8_0 keys don't.
    The fix raises q4_0 keys to q8_0 with or without flash attention, and says so in the log; it will be in the next release. Until then, --cache-type-k q8_0 (or q4_1/q5_0 if you want smaller keys) in tests 5 and 6 gives meaningful results.

  17. PeterHickman commented on Nov 25, 2026

    @PeterHickman
  18. primoco commented on Nov 25, 2026

    @primoco
    CollaboratorAuthor

    Yes, please, though I'd make it targeted rather than every combination: 5 key types × 3 value types × flash attention on/off is 30 starts, hours on a Pi. On the fast machines: keys f16, q8_0, q4_0, q4_1 × values f16, q4_0 × flash attention on and off. On the Pis: f16/f16, q8_0/q4_0 with flash attention, q8_0/f16 without. And the most useful change is checking the answer rather than the time: temperature 0, a question with a known answer (capital of France), and done_reason should be stop, not length. That is exactly what turned your gibberish into a long run that still said Ok.
    On our side, the release workflow will get a gate of its own: the Linux CPU binary runs the same kind of check on a small model before anything is published, so a broken combination stops the release instead of reaching you first.

  19. PeterHickman commented on Nov 25, 2026

    @PeterHickman

    0.10.0

    Machine CPU 1 2 3 4 5 6 1 2 3 4 5 6
    jetson arm64 Ok Ok Ok Ok Ok Ok ??? 3 63 28 124 248
    mac mini 2018 intel Ok Ok Ok Ok Ok Ok 4 1 25 18 94 93
    mac mini m1 Ok Ok Ok Ok Ok Ok 3 1 11 10 78 76
    mac mini m4 pro Ok Ok Ok Ok Ok Ok 1 0 4 4 23 22
    macbookpro 2018 intel Ok Ok Ok Ok Ok Ok 3 3 19 14 119 118
    pi3b arm64 Ok Ok Ok Ok Ok Ok 92 50 557 261 3161 3138
    pi4 arm64 Ok Ok Ok Ok Ok Ok ??? 14 131 115 827 809
    pi5 arm64 Ok Ok Ok Ok Ok Ok 6 4 45 48 280 286

    No change from 0.9.50. Will be using q8_0 from now on. Longer tests are being written

    jetson.txt
    mac_mini_2018_intel.txt
    mac_mini_m1.txt
    mac_mini_m4_pro.txt
    macbookpro_2018_intel.txt
    pi3b.txt
    pi4.txt
    pi5.txt

  20. primoco commented on Nov 25, 2026

    @primoco
    CollaboratorAuthor

    The "???" in test 1 on the Jetson and the Pi 4: both boards' clocks were behind at boot and got corrected during the first test.
    The same logs show the q4_0 bug exactly as 0.10.10 fixes it: K=Q4_0 V=F16, then 2532 tokens of “utter ungan…” and a run to the 4073-token limit. 0.10.10 raises those keys to q8_0, and from now on each release’s own binary has to answer correctly under every KV cache setting before it is published.

  21. PeterHickman commented on Nov 25, 2026

    @PeterHickman
  22. PeterHickman commented on Nov 25, 2026

    @PeterHickman

    0.10.10

    Machine CPU 1 2 3 4 5 6 1 2 3 4 5 6
    jetson arm64 Ok Ok Ok Ok Ok Ok 7 3 29 65 50 22
    mac mini 2018 intel Ok Ok Ok Ok Ok Ok 3 2 47 17 24 18
    mac mini m1 Ok Ok Ok Ok Ok Ok 2 2 14 13 14 9
    mac mini m4 pro Ok Ok Ok Ok Ok Ok 0 1 4 5 5 5
    macbookpro 2018 intel Ok Ok Ok Ok Ok Ok 3 3 27 13 22 278
    pi3b arm64 Ok Ok Ok Ok Ok Ok 83 77 334 445 698 631
    pi4 arm64 Ok Ok Ok Ok Ok Ok ??? 12 174 80 175 153
    pi5 arm64 Ok Ok Ok Ok Ok Ok 6 8 56 46 73 63

    q8_0 is used for the cache tests (5 and 6)

    jetson.txt
    mac_mini_2018_intel.txt
    mac_mini_m1.txt
    mac_mini_m4_pro.txt
    macbookpro_2018_intel.txt
    pi3b.txt
    pi4.txt
    pi5.txt

  23. PeterHickman commented on Nov 28, 2026

    @PeterHickman

    I tested all combinations of quantisations for cache k and v values along with flash attention on or off on qwen3-0.6b. Again for each temperature from 0.0 to 1.0 in 0.1 increments. Finally repeated 5 times to make sure that we didn't just get lucky, especially for higher temperatures. So 5,390 tests that ran in 11h46m

    The first result is that 5,294 had the substring 'paris' in the response. We will count that as a correct answer for the moment

    22 responses were longer than the permitted message, done_reason = length. They had k value of q4_1 and flash attention off in common

    33 responses gave the wrong location. This seems to correlate with the higher temperatures. For example I'm flagging "France's capital is the capital of the country" as being technically correct and completely useless, another gave Lyon and answered in French

    Most answers were in English, a few were in French the remainder were in Arabic. After feeding them through Google translate some of these answers were also correct, some incorrect. I'm not sure is requiring the response being in the same language as the prompt is a prompting issue or something that we should be expecting

    Overall we had near 99% correct and little to take away other than avoid a k value of q4_1 and flash attention off

    Going to try again with a slightly larger model, qwen3-4b

  24. primoco commented on Nov 28, 2026

    @primoco
    CollaboratorAuthor

    Thanks Peter, very useful. The 22 runaway answers all had q4_1 keys without flash attention: 22 of those 385 runs, one in 18. The engine already raised q4_1 keys to q8_0 with flash attention on; from 0.10.30 it does so without it too. The wrong cities and the French and Arabic answers at higher temperatures look like the 0.6B model itself, not the engine.

  25. PeterHickman commented on Nov 29, 2026

    @PeterHickman

    Using a larger model, qwen3-4b, it took 18h52m and had an almost 100% success. It all depends on should we count the Chinese response as correct, 法国的首都是巴黎. Google translate gives "The capital of France is Paris". The values were k=q8_0, v=q5_1, attention=false and temperature=0.7.

  26. PeterHickman commented on Nov 29, 2026

    @PeterHickman

    0.10.20

    Machine CPU 1 2 3 4 5 6 1 2 3 4 5 6
    jetson arm64 Ok Ok Ok Ok Ok Ok 5 7 96 41 62 79
    mac mini 2018 intel Ok Ok Ok Ok Ok Ok 2 2 19 18 16 16
    mac mini m1 Ok Ok Ok Ok Ok Ok 2 1 10 11 25 12
    mac mini m4 pro Ok Ok Ok Ok Ok Ok 1 1 4 5 7 6
    macbookpro 2018 intel Ok Ok Ok Ok Ok Ok 3 3 34 18 33 21
    pi3b arm64 Ok Ok Ok Ok Ok Ok 98 61 368 357 482 460
    pi4 arm64 Ok Ok Ok Ok Ok Ok 10 18 149 77 68 72
    pi5 arm64 Ok Ok Ok Ok Ok Ok 5 5 40 93 46 47

    jetson.txt
    mac_mini_2018_intel.txt
    mac_mini_m1.txt
    mac_mini_m4_pro.txt
    macbookpro_2018_intel.txt
    pi3b.txt
    pi4.txt
    pi5.txt

  27. primoco commented on Nov 30, 2026

    @primoco
    CollaboratorAuthor

    Using a larger model, qwen3-4b, it took 18h52m and had an almost 100% success. It all depends on should we count the Chinese response as correct, 法国的首都是巴黎. Google translate gives "The capital of France is Paris". The values were k=q8_0, v=q5_1, attention=false and temperature=0.7.

    Thanks Peter. Good to see 0.10.20 Ok on every machine. A correction to my last reply: the q4_1 fix went into 0.10.20, not 0.10.30, together with a fix for a crash with --no-flash-attn on MoE models. On the qwen3-4b run: I'd count the Chinese answer as correct, Qwen models switch language now and then at higher temperatures. Note that without flash attention the value cache can't be quantized in llama.cpp, so v=q5_1 with attention off actually ran with an f16 value cache (the engine logs that at start).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedtesting

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions