/hub/models/gemma-3-4b

Gemma 3 · 4B

Gemma 3 4B

A separate text-only derivative completed true CPU. The later Vulkan path ended with timeouts, an i915 reset, and device loss.

3
result records
2
published result rows
3
test groups
1
devices represented

About Gemma 3 4B

The Gemma 3 entry includes a separate text-only derivative made from the original artifact. That distinction matters when reproducing the run: the derivative completed true CPU, while the later Vulkan attempt still hit the device-loss path. Keep the file identity with the result.

Family
Gemma 3
Recorded size
4B

It records two different compatibility boundaries: converting the older multimodal artifact for current llama.cpp and the separate Vulkan failure that conversion did not fix.

Files and runtimes I tested

The results below cover llama.cpp 9a286ac and Ollama 0.32.1. Open a configuration for the full test, including the model file or reporting profile, device, backend and settings.

1 row records a failed run. The failure and original evidence stay attached to each result below.

Search and filter these results

Tested configurations

Recorded hosts, model variants, runtimes and backends for Gemma 3 4B
DeviceFile or variantRuntimeBackendMode and settingsTest
Youyeetoo X1SText-only derivativellama.cpp 9a286acVulkanFull VulkanCPU and Vulkan modes
Youyeetoo X1SSeparate text-only derivativellama.cpp 9a286acCPUTrue CPU, five repetitions4 threadsRuntime compatibility
Youyeetoo X1SQ4_K_MOllama 0.32.1CPUMean warm generationOriginal CPU matrix

Compare inside the full test

The rows below can come from different prompts and methods. Open the full test before treating two numbers as a direct comparison.

Recorded results

Inference performance

Rates measure prompt processing and generation. Open a row to see its workload, repetitions and setup.

Model and artifactRuntime and modeGenerationPromptPeakStateFull test
Gemma 3 4B
Text-only derivative
llama.cpp 9a286ac
Vulkan · Full Vulkan
n/an/an/aFailed runCPU and Vulkan modes
Open result details

About this model

The Gemma 3 entry includes a separate text-only derivative made from the original artifact. That distinction matters when reproducing the run: the derivative completed true CPU, while the later Vulkan attempt still hit the device-loss path. Keep the file identity with the result.

Family
Gemma 3
Recorded size
4B

It records two different compatibility boundaries: converting the older multimodal artifact for current llama.cpp and the separate Vulkan failure that conversion did not fix.

What ran

Text-only derivative ran through llama.cpp 9a286ac using Vulkan in Full Vulkan mode on Youyeetoo X1S.

Fence and preemption timeouts led to an i915 reset and vk::DeviceLostError.

Compare the clean Qwen rows inside this group. The larger-model entries are failure outcomes, not performance rows.

Methods and supporting files

  • Three-mode result table

    True CPU, mixed host-operation, and full-Vulkan rates and package peaks.

    three-mode-summary.csv
  • Matched retest results

    The clean small-model result and retained larger-model i915 failures.

    MATCHED_RETEST_RESULTS.md
  • Device-mode protocol

    How the three modes were separated and guarded.

    MATCHED_RETEST_PROTOCOL.md

Recorded setup

The full test page contains the shared controls and comparison boundary for this row.

Gemma 3 4B
Separate text-only derivative
llama.cpp 9a286ac
CPU · True CPU, five repetitions
1.624 tok/s2.172 tok/s81 °CPublished resultRuntime compatibility
Open result details

About this model

The Gemma 3 entry includes a separate text-only derivative made from the original artifact. That distinction matters when reproducing the run: the derivative completed true CPU, while the later Vulkan attempt still hit the device-loss path. Keep the file identity with the result.

Family
Gemma 3
Recorded size
4B

It records two different compatibility boundaries: converting the older multimodal artifact for current llama.cpp and the separate Vulkan failure that conversion did not fix.

What ran

Separate text-only derivative ran through llama.cpp 9a286ac using CPU in True CPU, five repetitions mode on Youyeetoo X1S.

The derived copy completed true CPU. The original multimodal source artifact was not overwritten.

BitCPM is not a matched runtime speed contest because Ollama never loaded the model. The Gemma derivative is inspectable but does not repair the Vulkan device-loss path.

Methods and supporting files

  • Compatibility table

    Exact hashes, settings, repetitions, rates, standard deviation, and package peaks.

    compatibility-summary.csv
  • Compatibility notes

    What failed, what ran, and why the two cases are not one runtime benchmark.

    FOLLOWUP_RESULTS.md

Recorded setup

Threads
4
Prompt
128 tokens
Output
96 tokens
Batch
512 / 512 microbatch
Measured runs
5
Generation stddev
0.003291
Thermal ceiling
85 °C

Artifact SHA-256510408e8043ca1c741fe9a16088d47e8fa0d016033c6acf0c50c50c7c93b6530

Gemma 3 4B
Q4_K_M
Ollama 0.32.1
CPU · Mean warm generation
1.995 tok/sn/a77 °CPublished resultOriginal CPU matrix
Open result details

About this model

The Gemma 3 entry includes a separate text-only derivative made from the original artifact. That distinction matters when reproducing the run: the derivative completed true CPU, while the later Vulkan attempt still hit the device-loss path. Keep the file identity with the result.

Family
Gemma 3
Recorded size
4B

It records two different compatibility boundaries: converting the older multimodal artifact for current llama.cpp and the separate Vulkan failure that conversion did not fix.

What ran

Q4_K_M ran through Ollama 0.32.1 using CPU in Mean warm generation mode on Youyeetoo X1S.

Patient local batch use.

These warm Ollama results belong together. They should not be used as the other half of the later llama-bench runtime comparison.

Methods and supporting files

Recorded setup

The full test page contains the shared controls and comparison boundary for this row.

Full tests containing Gemma 3 4B

2026-08-31

True CPU, Mixed Host Operations, and Full Vulkan

Compare the clean Qwen rows inside this group. The larger-model entries are failure outcomes, not performance rows.

Open full test

2026-08-31

BitCPM and Gemma Runtime Compatibility

BitCPM is not a matched runtime speed contest because Ollama never loaded the model. The Gemma derivative is inspectable but does not repair the Vulkan device-loss path.

Open full test

2026-08-23

Original X1S CPU-Only Model Matrix

These warm Ollama results belong together. They should not be used as the other half of the later llama-bench runtime comparison.

Open full test

Methods and original files

Three-mode result table

True CPU, mixed host-operation, and full-Vulkan rates and package peaks.

three-mode-summary.csv

Matched retest results

The clean small-model result and retained larger-model i915 failures.

MATCHED_RETEST_RESULTS.md

Compatibility table

Exact hashes, settings, repetitions, rates, standard deviation, and package peaks.

compatibility-summary.csv

Compatibility notes

What failed, what ran, and why the two cases are not one runtime benchmark.

FOLLOWUP_RESULTS.md

Model and file

A model name identifies the model. A variant such as Q4_K_M or IQ4_XS identifies the quantization used for a particular file. The artifact hash ties a result to the exact bytes I tested.

Runtime and backend

Ollama and llama.cpp run the model. CPU, Vulkan and RKLLM NPU paths describe where or how the computation ran. A successful CPU request and a failed GPU request can belong to the same model.

Generation and prompt processing

Generation measures output tokens per second. Prompt processing measures how quickly the input was processed. Open the test group for the workload, token counts and timing method behind each rate.

Context and report checks

The context window holds input and output together. In the Home SOC tests, completed reports, expected explanations and full answer checks have separate counts and denominators. Read the label beside each value.

Get an email when I publish new hardware reviews, benchmarks, and security research. Unsubscribe anytime.

Email goes to Buttondown. Privacy details.

© 2026 Trevor Unland. All rights reserved.

PrivacyTermsRSS Feed

$ echo "Built with React + TypeScript"