Oriel — AI & technology worth noticing, every day.

Gemma 4 E2B on an Intel Iris Xe Laptop: Vulkan, SYCL, OpenVINO or the CPU?

Post · https://dev.to/gde/gemma-4-e2b-on-an-intel-iris-xe-laptop-vulkan-sycl-openvino-or-the-cpu-437f

llama.cpp has three ways onto an Intel integrated GPU: Vulkan, SYCL and OpenVINO. On a Core i5-1335U laptop with 8 GiB of RAM, Vulkan and OpenVINO read prompts at about 360 tokens a second and generate at about 20.7, SYCL trails both, and the CPU cores still generate fastest at 25.98.

First seen by Oriel on .

AI summary

The article compares Vulkan, SYCL, OpenVINO, and CPU builds of llama.cpp running Gemma 4 E2B on Intel Iris Xe laptops, finding Vulkan the practical GPU choice for fast prompt processing while generation depends on hardware and power profile.

  • On three 13th-generation laptops, Vulkan prompt processing is 3.66x to 5.22x faster than CPU; generation ranges from 0.77x to 1.18x CPU speed.
  • On the i5-1335U, Vulkan reaches 359.78 tokens/s for prompt processing and 20.65 for generation with flash attention off; disabling it improves both tests.
  • OpenVINO performs about level with Vulkan but requires memory-optimization settings and peaks at 3.37 GiB resident memory, leaving only 248 MiB available on the 8 GiB laptop.
  • SYCL reaches 0.602x Vulkan prompt speed and 0.722x generation speed; the speculative drafter also slows GPU serving in the tested prompts.
  • The CPU can generate faster than Iris Xe on some power profiles, while Vulkan leaves the CPU available and is especially effective for long prompts.

#llama.cpp #gemma #intel iris xe #llm inference

Generated by gpt-5.6-sol. Check the original for details.

Metric trends

Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained

Reactions

Total public reactions reported by the source; distinct from points and likes.

  • DEV Community: 19, latest observation ; 0 over observed period since

Comments

Comment count reported by the source.

  • DEV Community: 0, latest observation ; 0 over observed period since

Aliases

SourceExternal IDURL
DEV Community5170993https://dev.to/gde/gemma-4-e2b-on-an-intel-iris-xe-laptop-vulkan-sycl-openvino-or-the-cpu-437f Read discussion