r/IntelArcPro • • 1d ago

Arc Pro B70 Inkling 2 Mini on 2x Arc Pro B70: FP8 KV + DSpark + CUTLASS, ~50% faster than stock bf16

2 Upvotes

Shoutout first to mgaruccio for the vLLM XPU plugin and to SergiioB's B70 cookbook, which the CUTLASS expert kernel comes from. None of this works on B70 without those two.
I've been running Inkling 2 Mini on two B70s (one vLLM server per card, since the plugin doesn't do TP), and the updated plugin got FP8 KV cache. Couldn't fit 131k context AND the DSpark drafter but now both fit. I also built the optional CUTLASS kernel and tested all three setups.

TL;DR: fp8 KV + DSpark + CUTLASS beat bf16 on every speed number I ran, and quality held within test variance. It's what I'm running now.

Per card, 131k context:
bf16, no spec (old setup): 57.4 tok/s decode, 37.2 at 121K depth, 2,240 tok/s prefill, 112.9 tok/s with both cards going.

fp8 KV + DSpark k=7: 71.6 decode, 46.3 at depth, 2,228 prefill, 99.9 both cards.
fp8 KV + DSpark + CUTLASS: 86.4 decode, 62.0 at depth, 2,455 prefill, 125.3 both cards.

Quality on my 242-question set (MMLU-Pro, MATH, GSM8K, HumanEval, tool calls) was 86.8% / 88.4% / 88.0%, all within test variance. The full run took 37 min on bf16 and 19 min on CUTLASS.
Note that DSpark alone actually lowered the two-card total. CUTLASS is what makes the combo a win.

CUTLASS build gotcha. The extension has to be compiled with the same oneAPI version as the SYCL runtime bundled with PyTorch, which is 2026.1 for torch 2.15 xpu. I built it with 2026.2 first. It compiled fine, then crashed at startup with undefined symbol: sycl::_V1::detail::cannot_be_called_on_host. Also, don't source setvars.sh during the build, because it shadows torch's own libraries and the build fails. What worked for me was copying /opt/intel from the intel/oneapi-toolkit:2026.1.0-devel-ubuntu22.04image into the plugin image and putting only the compiler on PATH. The first request after startup sometimes drops once while kernels compile, so send a warm-up request first.
Vision works now too, but at 32k context instead of 131k.
Open to suggestions if anyone's squeezing more out of these cards.

Links

Plugin: https://github.com/mgaruccio/vllm-inkling2-xpu(FP8 KV commit: https://github.com/mgaruccio/vllm-inkling2-xpu/commit/f494238)
B70 cookbook (CUTLASS kernel source): https://github.com/SergiioB/intel-arc-pro-b70-inference-cookbook
Model: https://huggingface.co/thinkingmachines/Inkling-2-Mini
vLLM Inkling 2 support: https://github.com/vllm-project/vllm/pull/69028
XPU lm_head patch (still open, applied by hand): https://github.com/vllm-project/vllm/pull/69186
oneAPI 2026.1 image: https://hub.docker.com/r/intel/oneapi-toolkit/tags
CUTLASS build deps: https://github.com/intel/sycl-tlaand https://github.com/vllm-project/vllm-xpu-kernels


r/IntelArcPro • • 3d ago

Arc Power 1.3.0: Rust Release, VRR Fix, Crescent Island Support and more

Thumbnail
reddit.com
3 Upvotes

r/IntelArcPro • • 3d ago

InferZero vs llama.cpp on the Intel Arc Pro B60 | Unsloth Qwen3.8-27B-Q4_K_M.gguf on Windows, MTP off

Post image
5 Upvotes

 

I ran InferZero with the same Unsloth Qwen3.8-27B-UD-Q4_K_M.gguf than my previous tests with llama.cpp. Previous B60 results

InferZero was about twice as fast at prompt processing and about 40% faster at token generation at every depth.

LazyRig Bench 1.6.2 results · Prompt processing (PP) and token generation (TG) in tokens/s.

Context depthllama.cpp Vulkan (PP / TG)InferZero (PP / TG)Improvement vs llama.cpp (PP / TG)
0608.21 / 14.791,271.73 / 20.36+109.1% / +37.7%
16,384521.14 / 14.091,051.37 / 19.76+101.7% / +40.2%
49,152384.68 / 12.85701.19 / 18.54+82.3% / +44.3%

System and settings

  • Windows 11, Intel Core i9-12900HK, 128 GB RAM
  • Intel Arc Pro B60 24 GB, Intel Arc Pro driver 32.0.101.8976
  • llama.cpp Vulkan b12365 (ae93877c8) with FP16 KV
  • InferZero 2026.11.21.01 (91ea3fa) with INT8 KV
  • Both servers ran with a 65,536-token window, one slot and MTP off.

Based on the what I’ve tested so far, InferZero offers the best performance for serving GGUF models on the B60.


r/IntelArcPro • • 6d ago

Arc Pro B70 Qwen3.8-Flash-Next: 2.5k prefill, 47 token gen, single ARC B70

Post image
4 Upvotes

r/IntelArcPro • • 7d ago

Arc Pro B60 Qwen3.8-27B on the Intel Arc Pro B60 | stock llama.cpp (Vulkan and SYCL) vs OpenVINO OVMS on Windows | MTP off

Thumbnail
gallery
9 Upvotes

 

Results from my test on the B60 under Windows 11, prompt processing and generation at 0, 16K and 48K context with MTP off under current llama.cpp (stock build) and OVMS. I ran Vulkan and SYCL on llama-server b12365 and OpenVINO on OVMS 2026.5.0.

Vulkan and SYCL ran Unsloth Q4_K_M GGUF. OVMS used Intel’s asymmetric INT4 export. They’re different quants, but each is the one I’d pick for its server on a B60. Both have worked well for me on agentic tasks.

I use my custom benchmark, that lets me switch inference servers and keep the workload and timing method the same while targeting the same token counts as the PP2048 and TG256 tests in llama-bench.

Once the target context is loaded, the benchmark times two separate requests. For prefill, it divides the number of new 2048 input tokens by the time to first token. For generation, it times a 256-token response from the first output token to the last.

Settings were the same for all three runs, with FP16 KV, MTP off, and one warm-up and one timed run per depth.

Video with the Vulkan and OVMS complete runs. Watch on YouTube

Prompt processing (PP2048) / generation (TG256) PP is estimated from time to first token.

Context depthVulkanSYCLOVMS
0608.21 / 14.79180.95 / 14.271,577.82 / 24.07
16K521.14 / 14.09174.12 / 11.93901.62 / 21.78
48K384.68 / 12.85160.75 / 9.00533.14 / 18.11

Some recommend SYCL over Vulkan for the B60, so I tried both, but I couldn’t get acceptable performance out of SYCL on my setup. I haven’t tested custom builds yet.

Vulkan managed better results on prefill than earlier builds, keeps up pretty well on deep context, but TG is also quite slow.

Server's launch settings:

.\llama-server.exe ^ -hf unsloth/Qwen3.8-27B-GGUF:Q4_K_M ^ -ngl 66 -np 1 ^ -kvu --cache-type-k f16 --cache-type-v f16 ^ --batch-size 2048 --ubatch-size 512 ^ --ctx-size 65536 --no-context-shift ^ --ctx-checkpoints 32 --cache-ram 16384 ^ --jinja --chat-template-kwargs {"preserve_thinking":true} ^ --reasoning-preserve ^ --n-predict 32768 ^ --temp 1.0 --top-p 0.95 --top-k 20 --min-p 0.0 ^ --presence_penalty 0.0 --repeat_penalty 1.0 ^ --host 0.0.0.0 --port 8033 ^ -lv 4

.\ovms.exe ^ --source_model OpenVINO/Qwen3.8-27B-int4-ov ^ --model_repository_path models ^ --task text_generation ^ --target_device GPU.1 ^ --plugin_config "{"KV_CACHE_PRECISION":"f16","INFERENCE_PRECISION_HINT":"f16"}" ^ --cache_size 5 --enable_prefix_caching true ^ --cache_interval_multiplier 256 ^ --dynamic_split_fuse true --max_num_seqs 1 ^ --max_num_batched_tokens 2048 ^ --reasoning_parser qwen3 --tool_parser qwen3coder ^ --enable_tool_guided_generation true ^ --rest_port 8033 --metrics_enable


r/IntelArcPro • • 12d ago

Arc Pro B60 Arc Pro B60 vs RTX 3090: raw llama.cpp performance

Thumbnail
gallery
13 Upvotes

 

Some tests I ran earlier this year comparing the Arc Pro B60 with the RTX 3090 under llama.cpp. Different cards in terms of power and performance, but with same vram and within a "similar" new vs used price range.

Both cards ran Qwen3.6-27B Q4_K_M llamabench through llama.cpp’s Vulkan backend on Windows using build b8994 and FA off.

TestArc Pro B60RTX 3090
Prompt processing — PP2048423.991,192.91
Generation — TG25620.0041.11
16K context — prefill / generation286.79 / 17.78— / —
48K context — prefill / generationFAIL / FAIL458.43 / 24.97

For baseline generation, the rough takeaway was half the speed at around half the power on the B60 (HWiNFO64 showed a TBP of about 170w) so the B60 offers a similar performance per watt.

Noise was another noticeable difference. The B60 was far more bearable on the desk, while this particular 3090 its a Boeing at V1.

I put the runs, hardware comparison and fan noise samples in a video on YouTube.

I kept Flash Attention off because it gives much better results on the B60 in this setup. Its 48K context depth run failed with FA off; it needed FA enabled to complete, but performance hit was huge.

A follow-up video comparing current llama.cpp build with OpenVINO Model Server (OVMS) at baseline and 48k context depth running Qwen3.8-27b on the B60 is coming soon.


r/IntelArcPro • • 12d ago

Arc Pro B60 I was leaving performance off the table. Here is a new Dockerfile for Ollama + SYCL support, now with NEO CACHE and performance improvements built in.

5 Upvotes

I fixed it up a bit!

ARG OLLAMA_VERSION=0.40.16

ARG COMPUTE_RUNTIME_VERSION=26.40.40196.8

ARG LEVEL_ZERO_VERSION=1.34.0

ARG IGC_VERSION=2.42.6

ARG IGC_BUILD=23070

ARG GMM_VERSION=22.10.2

# =============================================================================

# Stage 1: Build ggml-sycl backend from Ollama source on Ubuntu 26.04 (oneAPI)

# =============================================================================

FROM intel/oneapi-toolkit:latest AS sycl-builder

ARG OLLAMA_VERSION

# Clone Ollama at the target version

RUN git clone --depth 1 --branch v${OLLAMA_VERSION} \

https://github.com/ollama/ollama.git /ollama

WORKDIR /ollama

# Build the SYCL backend via the llama/server cmake subproject.

RUN cmake -S llama/server -B build \

-DCMAKE_BUILD_TYPE=Release \

-DCMAKE_C_COMPILER=icx \

-DCMAKE_CXX_COMPILER=icpx \

-DBUILD_SHARED_LIBS=ON \

-DGGML_BACKEND_DL=ON \

-DGGML_NATIVE=OFF \

-DGGML_OPENMP=OFF \

-DGGML_SYCL=ON \

-DGGML_SYCL_TARGET=INTEL \

-DGGML_SYCL_F16=ON \

# -DGGML_SYCL_DEVICE_ARCH=bmg_g21 \

# -DGGML_SYCL_ENABLE_OPT=1 \

-DGGML_SYCL_DNN=ON && \

# -DCMAKE_CXX_FLAGS="-O3 -march=x86-64-v3 -fno-finite-math-only" \

# -DCMAKE_C_FLAGS="-O3 -march=x86-64-v3" && \

cmake --build build --parallel $(nproc) --target ggml-sycl && \

mkdir -p /sycl-runner && \

find /ollama/build -name "libggml-sycl.so" -exec cp {} /sycl-runner/ \;

# Collect oneAPI runtime dependencies into /sycl-runner

RUN . /opt/intel/oneapi/setvars.sh --force >/dev/null 2>&1 || true && \

CMPLR_DIR="${CMPLR_ROOT:-/opt/intel/oneapi/compiler/latest}/lib" && \

DNNL_DIR="${DNNLROOT:-/opt/intel/oneapi/dnnl/latest}/lib" && \

MKL_DIR="${MKLROOT:-/opt/intel/oneapi/mkl/latest}/lib" && \

TBB_DIR="${TBBROOT:-/opt/intel/oneapi/tbb/latest}/lib" && \

cp -L ${CMPLR_DIR}/libsycl.so* /sycl-runner/ && \

cp -L ${CMPLR_DIR}/libur_loader.so* /sycl-runner/ && \

cp -L ${CMPLR_DIR}/libur_adapter_level_zero*.so* /sycl-runner/ && \

cp -L ${CMPLR_DIR}/libsvml.so* /sycl-runner/ && \

cp -L ${CMPLR_DIR}/libimf.so* /sycl-runner/ && \

cp -L ${CMPLR_DIR}/libintlc.so* /sycl-runner/ && \

cp -L ${CMPLR_DIR}/libirng.so* /sycl-runner/ && \

cp -L ${CMPLR_DIR}/libiomp5.so* /sycl-runner/ && \

cp -L ${DNNL_DIR}/libdnnl.so* /sycl-runner/ 2>/dev/null || \

find -L /opt/intel/oneapi -maxdepth 4 -name 'libdnnl.so*' -exec cp -L {} /sycl-runner/ \; && \

cp -L ${MKL_DIR}/libmkl_core.so* /sycl-runner/ && \

cp -L ${MKL_DIR}/libmkl_intel_ilp64.so* /sycl-runner/ && \

cp -L ${MKL_DIR}/libmkl_intel_lp64.so* /sycl-runner/ 2>/dev/null || true && \

cp -L ${MKL_DIR}/libmkl_sycl_blas.so* /sycl-runner/ && \

cp -L ${MKL_DIR}/libmkl_intel_thread.so* /sycl-runner/ && \

cp -L ${MKL_DIR}/libmkl_tbb_thread.so* /sycl-runner/ && \

cp -L ${TBB_DIR}/libtbb.so* /sycl-runner/ 2>/dev/null || \

find -L /opt/intel/oneapi/tbb -name 'libtbb.so*' -exec cp -L {} /sycl-runner/ \; && \

find -L /opt/intel/oneapi -maxdepth 4 -name 'libumf.so*' -exec cp -L {} /sycl-runner/ \; && \

find -L /opt/intel/oneapi -maxdepth 4 -name 'libtcm.so*' -exec cp -L {} /sycl-runner/ \; && \

cp ${CMPLR_DIR}/libsycl-fallback*.spv /sycl-runner/ && \

cp ${CMPLR_DIR}/libsycl-native*.spv /sycl-runner/ && \

strip --strip-unneeded /sycl-runner/*.so* 2>/dev/null; true

# =============================================================================

# =============================================================================

# Stage 2: Runtime image on Ubuntu 26.04

# =============================================================================

FROM ubuntu:26.04

ARG DEBIAN_FRONTEND=noninteractive

ARG OLLAMA_VERSION

ARG COMPUTE_RUNTIME_VERSION

ARG LEVEL_ZERO_VERSION

ARG IGC_VERSION

ARG IGC_BUILD

ARG GMM_VERSION

# Base packages for Ubuntu 26.04

RUN apt-get update && \

apt-get install --no-install-recommends -q -y \

ca-certificates \

wget \

zstd \

ocl-icd-libopencl1 \

libhwloc15 && \

rm -rf /var/lib/apt/lists/*

# Intel GPU runtimes: Level Zero (u26.04 fallback to u24.04), IGC, compute-runtime, GMM

RUN mkdir -p /tmp/gpu && cd /tmp/gpu && \

wget https://github.com/oneapi-src/level-zero/releases/download/v${LEVEL_ZERO_VERSION}/libze1_${LEVEL_ZERO_VERSION}+u26.04_amd64.deb 2>/dev/null || \

wget https://github.com/oneapi-src/level-zero/releases/download/v${LEVEL_ZERO_VERSION}/libze1_${LEVEL_ZERO_VERSION}+u24.04_amd64.deb && \

wget https://github.com/intel/intel-graphics-compiler/releases/download/v${IGC_VERSION}/intel-igc-core-2_${IGC_VERSION}+${IGC_BUILD}_amd64.deb && \

wget https://github.com/intel/intel-graphics-compiler/releases/download/v${IGC_VERSION}/intel-igc-opencl-2_${IGC_VERSION}+${IGC_BUILD}_amd64.deb && \

wget https://github.com/intel/compute-runtime/releases/download/${COMPUTE_RUNTIME_VERSION}/intel-ocloc_${COMPUTE_RUNTIME_VERSION}-0_amd64.deb && \

wget https://github.com/intel/compute-runtime/releases/download/${COMPUTE_RUNTIME_VERSION}/intel-opencl-icd_${COMPUTE_RUNTIME_VERSION}-0_amd64.deb && \

wget https://github.com/intel/compute-runtime/releases/download/${COMPUTE_RUNTIME_VERSION}/libigdgmm12_${GMM_VERSION}_amd64.deb && \

wget https://github.com/intel/compute-runtime/releases/download/${COMPUTE_RUNTIME_VERSION}/libze-intel-gpu1_${COMPUTE_RUNTIME_VERSION}-0_amd64.deb && \

dpkg -i *.deb && rm -rf /tmp/gpu

# Install official ollama binary + CPU runners

RUN wget -qO- "https://github.com/ollama/ollama/releases/download/v${OLLAMA_VERSION}/ollama-linux-amd64.tar.zst" | \

zstd -d | tar -xf - -C /usr && \

rm -rf /usr/lib/ollama/cuda_* /usr/lib/ollama/vulkan

# Install SYCL runner + oneAPI runtime libs from build stage

COPY --from=sycl-builder /sycl-runner/ /usr/lib/ollama/sycl/

# Build-time dynamic link verification

RUN export LD_LIBRARY_PATH=/usr/lib/ollama/sycl:/usr/lib/ollama:/usr/lib/x86_64-linux-gnu:${LD_LIBRARY_PATH} && \

MISSING=0; \

echo "==> Verifying dynamic library linkages in /usr/lib/ollama/sycl/..."; \

for lib in /usr/lib/ollama/sycl/*.so*; do \

if [ -f "$lib" ] && [ ! -L "$lib" ]; then \

if ldd "$lib" 2>&1 | grep -q "not found"; then \

echo "ERROR: Unresolved dependencies in $lib:"; \

ldd "$lib" | grep "not found"; \

MISSING=1; \

fi; \

fi; \

done; \

if [ "$MISSING" -ne 0 ]; then \

echo "FATAL: One or more shared libraries have missing dependencies. Aborting build."; \

exit 1; \

fi; \

echo "==> All /usr/lib/ollama/sycl dynamic libraries successfully resolved on Ubuntu 26.04."

# Create cache directory

RUN mkdir -p /root/.cache

# Serve ollama on all interfaces & keep models loaded

ENV OLLAMA_HOST=0.0.0.0

ENV OLLAMA_KEEP_ALIVE=24h

ENV OLLAMA_SYCL=1

ENV OLLAMA_VULKAN=false

# --- Intel oneAPI / Level Zero Multi-GPU (2x Arc Pro B60) ---

ENV ONEAPI_DEVICE_SELECTOR=level_zero:0,1

ENV ZES_ENABLE_SYSMAN=1

ENV ZES_ENABLE_SYCL_LDD=1

ENV SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=1

ENV UR_L0_USE_IMMEDIATE_COMMANDLISTS=1

ENV ZE_ENABLE_PCI_ID_DEVICE_ORDER=1

# --- Disable Buggy libsycl Disk Cache, Keep In-Memory Cache ---

ENV SYCL_CACHE_PERSISTENT=0 # Bypasses intel/llvm#22853 getSortedImages() SIGSEGV

ENV SYCL_CACHE_IN_MEM=1 # Caches compiled SYCL kernel bundles in RAM while runner is loaded

ENV SYCL_IN_MEM_CACHE_EVICTION_THRESHOLD=0 # Never evict compiled kernels from RAM

# --- Enable Thread-Safe Level Zero / IGC Hardware Shader Cache ---

ENV NEO_CACHE_PERSISTENT=1 # Caches IGC-compiled Xe2 ISA binaries on disk with POSIX locks

ENV NEO_CACHE_DIR=/root/.cache/

ENV NEO_CACHE_MAX_SIZE=4294967296 # 4 GB cache limit (prevents premature eviction of oneDNN kernels)

# Multi-GPU SYCL Tuning (XMX Hardware Acceleration & V2 Graph Support)

ENV GGML_SYCL_F16=1

ENV GGML_SYCL_ENABLE_GRAPH=1 # Doesn't work right now with multi-GPUs, but will some day? Keeping it on hurts nothing.

ENV GGML_SYCL_ENABLE_FUSION=0 # Slows things down.

ENV GGML_SYCL_ENABLE_HOST_PINNED_MEM=0

ENV GGML_SYCL_ENABLE_OPT=1

ENV GGML_SYCL_ENABLE_DNN=1

ENV GGML_SYCL_FA_ONEDNN=1

ENV GGML_SYCL_ENABLE_MKL_FA=1

ENV GGML_SYCL_FORCE_MMQ=0

ENV GGML_SYCL_DEBUG=0

EXPOSE 11434

ENTRYPOINT ["/usr/bin/ollama"]

CMD ["serve"]


r/IntelArcPro • • 13d ago

inferzero update: multi-GPU Arc, Linux port underway, and a call for testers and contributors

Thumbnail
reddit.com
4 Upvotes

r/IntelArcPro • • 14d ago

LazyRig Server v0.41 — Simpler OpenVINO inference on Intel GPUs

Thumbnail
gallery
10 Upvotes

 

Hi everyone! I’ve been working on LazyRig Server, a free, open-source local inference server built around OpenVINO GenAI. I’m developing and testing it on Windows with an Arc Pro B60 and thought it might be useful to others here.

The main thing I’m trying to simplify is getting everything running, including setup, model downloads and conversion:

  • On Windows, extract the release ZIP and run start-server.bat. The first launch prepares the Python environment and dependencies automatically.
  • From the browser interface, you can download models from Hugging Face and automatically convert supported models to OpenVINO.
  • Linux setup scripts and instructions are included in the same ZIP. You’ll need Python 3.12 or 3.13 and the appropriate GPU drivers installed; the setup script prepares the local environment and dependencies.

Once a model is ready, you can use local chat, vision, image generation and editing, or connect other apps through the OpenAI-compatible API subset.

The screenshots show model management, generating a cabin image through chat, and a follow-up request to change it to nighttime.

I’m also preparing v0.42 with MCP support, so you’ll be able to connect compatible external tools to the chat. I’m planning to publish it on GitHub soon.

If that sounds useful, give v0.41 a try. I’d appreciate hearing how setup goes on your hardware, especially on A-series Arc and iGPUs. Let me know if anything is confusing or needs extra manual steps. Feedback from Linux users would be welcome too!

Download v0.41

Setup instructions, documentation and source code


r/IntelArcPro • • 14d ago

Arc Pro B70 Optimizing single B70 setup for Qwen3.8-27B for hermes and coding

Thumbnail
github.com
14 Upvotes

As the Intel battlemage inference support situation seems pretty dynamic here is my optimal Qwen3.8-27b setup tested in the last two days. If you have any tips or insights please feel free to comment.

Spoiler: vLLM XPU is currently the best option


r/IntelArcPro • • 16d ago

I did it. I got my Intel Arc B60 Pro 2x duo to work nicely with a build of Ollama!

7 Upvotes

I recently purchased a second B60 Pro to resolve my lack of super high context with Qwen3.8 27B, and put them together into my Vulkan stack.

Little did I know, but Vulkan seriously gimps inter-card communication when it compares to Sycl, but the SYCL ollama builds I've seen posted on Github fail to build properly.

Here is the Dockerfile I needed in order to get it to function correctly:

ARG OLLAMA_VERSION=0.40.14

ARG COMPUTE_RUNTIME_VERSION=26.40.40196.8

ARG LEVEL_ZERO_VERSION=1.35.0

ARG IGC_VERSION=2.42.6

ARG IGC_BUILD=23070

ARG GMM_VERSION=22.10.2

# =============================================================================

# Stage 1: Build ggml-sycl backend from Ollama source on Ubuntu 26.04 (oneAPI)

# =============================================================================

FROM intel/oneapi-toolkit:latest AS sycl-builder

ARG OLLAMA_VERSION

# Clone Ollama at the target version

RUN git clone --depth 1 --branch v${OLLAMA_VERSION} \

https://github.com/ollama/ollama.git /ollama

WORKDIR /ollama

# Build the SYCL backend via the llama/server cmake subproject.

RUN cmake -S llama/server -B build \

-DCMAKE_BUILD_TYPE=Release \

-DCMAKE_C_COMPILER=icx \

-DCMAKE_CXX_COMPILER=icpx \

-DBUILD_SHARED_LIBS=ON \

-DGGML_BACKEND_DL=ON \

-DGGML_NATIVE=OFF \

-DGGML_OPENMP=OFF \

-DGGML_SYCL=ON \

-DGGML_SYCL_TARGET=INTEL \

-DGGML_SYCL_F16=ON \

-DGGML_SYCL_DNN=OFF \

-DCMAKE_CXX_FLAGS="-O3 -march=x86-64-v3 -fno-finite-math-only" \

-DCMAKE_C_FLAGS="-O3 -march=x86-64-v3" && \

cmake --build build --parallel $(nproc) --target ggml-sycl && \

mkdir -p /sycl-runner && \

find /ollama/build -name "libggml-sycl.so" -exec cp {} /sycl-runner/ \;

# Collect oneAPI runtime dependencies into /sycl-runner

RUN \

cp -P ${CMPLR_ROOT}/lib/libsycl.so* /sycl-runner/ && \

cp -P ${CMPLR_ROOT}/lib/libur_loader.so* /sycl-runner/ && \

cp -P ${CMPLR_ROOT}/lib/libur_adapter_level_zero*.so* /sycl-runner/ && \

cp -P ${CMPLR_ROOT}/lib/libsvml.so* /sycl-runner/ && \

cp -P ${CMPLR_ROOT}/lib/libimf.so* /sycl-runner/ && \

cp -P ${CMPLR_ROOT}/lib/libintlc.so* /sycl-runner/ && \

cp -P ${CMPLR_ROOT}/lib/libirng.so* /sycl-runner/ && \

cp -P ${CMPLR_ROOT}/lib/libiomp5.so* /sycl-runner/ && \

cp -P ${MKLROOT}/lib/libmkl_core.so* /sycl-runner/ && \

cp -P ${MKLROOT}/lib/libmkl_intel_ilp64.so* /sycl-runner/ && \

cp -P ${MKLROOT}/lib/libmkl_intel_lp64.so* /sycl-runner/ 2>/dev/null || true && \

cp -P ${MKLROOT}/lib/libmkl_sycl_blas.so* /sycl-runner/ && \

cp -P ${MKLROOT}/lib/libmkl_intel_thread.so* /sycl-runner/ && \

cp -P ${MKLROOT}/lib/libmkl_tbb_thread.so* /sycl-runner/ && \

cp -P ${TBBROOT}/lib/libtbb.so* /sycl-runner/ && \

cp -P ${UMF_ROOT}/lib/libumf.so* /sycl-runner/ 2>/dev/null || \

find /opt/intel/oneapi -name 'libumf.so*' -exec cp -P {} /sycl-runner/ \; && \

cp -P ${TCMROOT}/lib/libtcm.so* /sycl-runner/ 2>/dev/null || \

find /opt/intel/oneapi -name 'libtcm.so*' -exec cp -P {} /sycl-runner/ \; && \

cp ${CMPLR_ROOT}/lib/libsycl-fallback*.spv /sycl-runner/ && \

cp ${CMPLR_ROOT}/lib/libsycl-native*.spv /sycl-runner/ && \

strip --strip-unneeded /sycl-runner/*.so* 2>/dev/null; true

# =============================================================================

# Stage 2: Runtime image on Ubuntu 26.04

# =============================================================================

FROM ubuntu:26.04

ARG DEBIAN_FRONTEND=noninteractive

ARG OLLAMA_VERSION

ARG COMPUTE_RUNTIME_VERSION

ARG LEVEL_ZERO_VERSION

ARG IGC_VERSION

ARG IGC_BUILD

ARG GMM_VERSION

# Base packages for Ubuntu 26.04

RUN apt-get update && \

apt-get install --no-install-recommends -q -y \

ca-certificates \

wget \

zstd \

ocl-icd-libopencl1 \

libhwloc15 && \

rm -rf /var/lib/apt/lists/*

# Intel GPU runtimes: Level Zero (u26.04 fallback to u24.04), IGC, compute-runtime, GMM

RUN mkdir -p /tmp/gpu && cd /tmp/gpu && \

wget https://github.com/oneapi-src/level-zero/releases/download/v${LEVEL_ZERO_VERSION}/libze1_${LEVEL_ZERO_VERSION}+u26.04_amd64.deb 2>/dev/null || \

wget https://github.com/oneapi-src/level-zero/releases/download/v${LEVEL_ZERO_VERSION}/libze1_${LEVEL_ZERO_VERSION}+u24.04_amd64.deb && \

wget https://github.com/intel/intel-graphics-compiler/releases/download/v${IGC_VERSION}/intel-igc-core-2_${IGC_VERSION}+${IGC_BUILD}_amd64.deb && \

wget https://github.com/intel/intel-graphics-compiler/releases/download/v${IGC_VERSION}/intel-igc-opencl-2_${IGC_VERSION}+${IGC_BUILD}_amd64.deb && \

wget https://github.com/intel/compute-runtime/releases/download/${COMPUTE_RUNTIME_VERSION}/intel-ocloc_${COMPUTE_RUNTIME_VERSION}-0_amd64.deb && \

wget https://github.com/intel/compute-runtime/releases/download/${COMPUTE_RUNTIME_VERSION}/intel-opencl-icd_${COMPUTE_RUNTIME_VERSION}-0_amd64.deb && \

wget https://github.com/intel/compute-runtime/releases/download/${COMPUTE_RUNTIME_VERSION}/libigdgmm12_${GMM_VERSION}_amd64.deb && \

wget https://github.com/intel/compute-runtime/releases/download/${COMPUTE_RUNTIME_VERSION}/libze-intel-gpu1_${COMPUTE_RUNTIME_VERSION}-0_amd64.deb && \

dpkg -i *.deb && rm -rf /tmp/gpu

# Install official ollama binary + CPU runners

RUN wget -qO- "https://github.com/ollama/ollama/releases/download/v${OLLAMA_VERSION}/ollama-linux-amd64.tar.zst" | \

zstd -d | tar -xf - -C /usr && \

rm -rf /usr/lib/ollama/cuda_* /usr/lib/ollama/vulkan

# Install SYCL runner + oneAPI runtime libs from build stage

COPY --from=sycl-builder /sycl-runner/ /usr/lib/ollama/sycl/

# Build-time dynamic link verification

RUN export LD_LIBRARY_PATH=/usr/lib/ollama/sycl:/usr/lib/ollama:/usr/lib/x86_64-linux-gnu:${LD_LIBRARY_PATH} && \

MISSING=0; \

echo "==> Verifying dynamic library linkages in /usr/lib/ollama/sycl/..."; \

for lib in /usr/lib/ollama/sycl/*.so*; do \

if [ -f "$lib" ] && [ ! -L "$lib" ]; then \

if ldd "$lib" 2>&1 | grep -q "not found"; then \

echo "ERROR: Unresolved dependencies in $lib:"; \

ldd "$lib" | grep "not found"; \

MISSING=1; \

fi; \

fi; \

done; \

if [ "$MISSING" -ne 0 ]; then \

echo "FATAL: One or more shared libraries have missing dependencies. Aborting build."; \

exit 1; \

fi; \

echo "==> All /usr/lib/ollama/sycl dynamic libraries successfully resolved on Ubuntu 26.04."

# Create cache directory

RUN mkdir -p /root/.cache

# Serve ollama on all interfaces & keep models loaded

ENV OLLAMA_HOST=0.0.0.0

ENV OLLAMA_KEEP_ALIVE=24h

ENV OLLAMA_SYCL=1

ENV OLLAMA_VULKAN=false

# Dual-GPU Level Zero Exposure & Layer Distribution

ENV ZES_ENABLE_SYSMAN=1

ENV ZES_ENABLE_SYCL_LDD=1

ENV ONEAPI_DEVICE_SELECTOR="level_zero:0,1"

ENV ZE_ENABLE_PCI_ID_DEVICE_ORDER=1

ENV OLLAMA_SCHED_SPREAD=1

# Multi-GPU SYCL Tuning (XMX Hardware Acceleration & V2 Graph Support)

ENV GGML_SYCL_F16=1

ENV GGML_SYCL_ENABLE_GRAPH=1

ENV GGML_SYCL_ENABLE_FUSION=0

ENV GGML_SYCL_ENABLE_DNN=0

ENV GGML_SYCL_FA_ONEDNN=0

ENV GGML_SYCL_ENABLE_MKL_FA=0

ENV GGML_SYCL_FORCE_MMQ=0

ENV GGML_SYCL_ENABLE_HOST_PINNED_MEM=0

# Level Zero V2 Immediate Submission & Kernel Caching

ENV UR_L0_USE_IMMEDIATE_COMMANDLISTS=1

ENV SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=1

ENV SYCL_CACHE_PERSISTENT=1

ENV SYCL_CACHE_DIR=/root/.cache

# Default 48GB VRAM & KV Cache Tuning

ENV OLLAMA_FLASH_ATTENTION=1

ENV OLLAMA_KV_CACHE_TYPE=q8_0

ENV OLLAMA_NUM_PARALLEL=1

ENV OLLAMA_MAX_LOADED_MODELS=1

ENV OLLAMA_GPU_OVERHEAD=536870912

EXPOSE 11434

ENTRYPOINT ["/usr/bin/ollama"]

CMD ["serve"]

Let me know if it functions well for you. I currently see ~80% or slightly more of the theoretical GPU VRAM bandwidth usage, and a prefill of approximately 800/sec on Qwen3.8 27B with context of 128k.


r/IntelArcPro • • 18d ago

B390 local llm

4 Upvotes

I have been trying to run local ai models for agentic coding on my laptop for weeks and Im not sure if Im delusional to think it should work or not.

Here are my specs:

Processor Intel(R) Core(TM) Ultra X7 368H (2.00 GHz)

Installed RAM 64.0 GB

Graphics card Intel(R) Arc(TM) Pro B390 GPU (128 MB)

Latest drivers installed

Here is my setup:

Herdr

Opencode

Lm studio

I tried a bunch of models and config but couldn't get satisfying results

Should I keep trying or no? I thought the 64gb shared memory would let me run any small models easily but it always feels incredibly slow or just does not work at all. I tried asking a bunch of different AIs but they all gaslit me into thinking I could run 32B models because they would fit. Is it just a config/model thing? Is there somewhere I could find known working setups for my hardware?


r/IntelArcPro • • 19d ago

Intel Arc Pro relative Performance per $USD

Post image
6 Upvotes

When compared to other common home and small lab hosted enterprise inference system add in cards, Arc Pro was shown to provide greater performance per dollar spent. Source: https://www.intel.com/content/www/us/en/content-details/922857/bar-chart-comparing-relative-performance-per-dollar-of-intel-arc-pro-series-gpus-versus-market-competitors-showing-a-significant-value-advantage-for-arc-pro.html


r/IntelArcPro • • 24d ago

Arc Pro B60 vLlm with b60

6 Upvotes

Has anyone managed to get vLlm working with b60, and what models were you using? I got llama.cpp with SYCL working but struggling with vllm. Any pointers or documentation appreciated. Thanks.


r/IntelArcPro • • 27d ago

Arc Pro B70 Airflow over the Eiffel Tower - 2.29 Billion grid cells on 2x Intel Arc Pro B70 - FluidX3D CFD

12 Upvotes

At Forum Teratec 2026 in Paris, I showed off a pair of Intel Arc Pro B70 32GB GPUs combining their power for one super large FluidX3D CFD simulation of airflow over the Eiffel Tower. Its intricate steel structure makes for the perfect showcase for super detailed CFD, at 2.29 Billion grid cells.

And if you do the math, you'll notice: That resolution is impossible to fit on 2 Arc Pro B70's with 64GB total VRAM. This was a test of a new FluidX3D prototype I'm working on, with reduced memory footprint to make CFD even cheaper and more accessible amid the memory crisis. More work to do still, but exciting times ahead, with both new software and #Intel D270 hardware on the horizon!

Intel Arc Pro B70 32GB: https://www.intel.com/content/www/us/en/products/sku/245797/intel-arc-pro-b70-graphics/specifications.html

Intel D270 480GB: https://www.intel.com/content/www/us/en/products/details/discrete-gpus/data-center-gpu/d-series.html

FluidX3D on GitHub: https://github.com/ProjectPhysX/FluidX3D


r/IntelArcPro • • Oct 20 '26

Arc Pro B70 ASRock Arc Pro B70 worked for weeks, now hangs after model load and fails a VRAM test

3 Upvotes

Wondering if anyone else has run into this with their B70.

**How it started**

The card ran local LLM inference (vLLM XPU, Qwen3.8-27B, Hermes Agent) with no problems for several weeks. Around 10 days ago it crashed while Hermes Agent was in the midst of a task. Since then, no model will start. Right after the weights load, the GuC firmware crashes and the driver marks the GPU as wedged. Only a reboot clears it.

**What I've tested**

- Cold power cycles and different Linux drivers/firmware: no change

- Fresh install of Ubuntu Server 26.04 LTS with the stock xe driver and firmware: same hang

- A simple VRAM pattern test (write, read back, compare): solid 0s and 1s pass, but alternating-bit patterns come back corrupted within the first 1.5 GB (e.g. 0x55555555 reads as 0x05050505), then the GuC crashes and the card wedges

- PCIe Gen 4 x16 and Gen 5 x16: same result

- Default power limit (I had a 230W cap before and removed it)

**System specs**

- Motherboard: Supermicro X13SAE-F, BIOS Date: 06/04/2026 Ver 5.3

- CPU: Intel Core i5-12500

- GPU: ASRock Intel Arc Pro B70 Creator 32GB

- RAM: Kingston 64GB DDR5 ECC, (KSM48E40BD8KI-32HA)

- Storage: Samsung 850 EVO 250GB SSD (TrueNAS boot), 6x WD Red Plus 12TB HDD (RAIDZ2)

- PSU: Corsair RM1200x Shift, 1200W

- OS: TrueNAS SCALE 26 Beta 3; the first crash happened on TrueNAS SCALE 27 RC1. Also tested on Ubuntu Server 26.04 LTS (stock kernel)

**Questions**

- Has anyone else had a B70 run fine and then start failing like this?

- Is there anything else worth trying before it goes back? I have an RMA open with ASRock.


r/IntelArcPro • • Oct 19 '26

Arc Pro B70 Need help with my Dual B70 set up

2 Upvotes

So I'm lucky enough to have gotten a second B70 Pro, yay! However, I have this PC:

https://www.dell.com/support/manuals/en-us/dell-pro-max-fct2250-desktop/dell-pro-max-tower-fct2250-owners-manual/installing-the-system-board?guid=guid-9c53425e-673c-483c-9f8c-18f11482551f&lang=en-us

and the PCIE lanes are- not ideal. How would y'all suggest I go about this? I have 64GB ddr5-5600, lots of NVME storage, but I don't know i need to ultimately move my setup into a z890 system with proper x8/x8. up till now i was just using one B70 and the helper card below, Running a very capable assistant, but just looking for more.

I also have an RTX 2000 ADA in there that is doing some helper work.

I'm open to everyone's ideas!


r/IntelArcPro • • Oct 19 '26

Arc Power 1.2.3: Fan Speed Hibernation Fix, Display Integration & Arc Image Sharpening!

Thumbnail
reddit.com
3 Upvotes

r/IntelArcPro • • Oct 12 '26

Arc Pro B50 [SUCCESS] Intel Arc Pro B50 on an HP EliteDesk 800 G4 SFF: 16GiB ReBAR, PyTorch XPU, 35% Faster TTS — No BIOS Flash!

Thumbnail reddit.com
3 Upvotes

r/IntelArcPro • • Oct 09 '26

Intel Arc Pro B70 on PCIe 4.0 x2: Strata Decode Performance Improves by 1.5–2.9× with Two Environment Variable Overrides

10 Upvotes

I've been experimenting with Strata on my Intel Arc Pro B70 (32 GB VRAM) and found a way to significantly improve decode performance, even with the GPU limited to PCIe 4.0 x2.

For hardware placement reasons, my B70 is installed in the second PCIe slot, so it cannot operate at a wider PCIe link. This makes memory transfers between system RAM and VRAM a potential bottleneck, especially when running large MoE models whose experts cannot all fit in VRAM.

Hardware and model

  • GPU: Intel Arc Pro B70 (32 GB VRAM)
  • PCIe link: PCIe 4.0 x2
  • Inference framework: Strata
  • Model: Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS

The problem with the default configuration

With Strata's default settings, some experts are too large to fit entirely in VRAM. Consequently, some expert data must reside in system RAM and be transferred to VRAM for computation.

Under these conditions, my initial tests showed average decode speeds of only around 10–20 tokens/s. Interestingly, the CPU remained almost completely idle, suggesting that the system was not effectively utilizing CPU resources to help mitigate the memory-transfer bottleneck (Nvidia/AMD use CPU and GPU to decode) .

This was particularly disappointing given that the B70 has 32 GB of VRAM. I wanted to see whether changing Strata's execution configuration could improve performance without changing the hardware or model quantization.

The change: Two environment variable overrides

I modified the following environment variables:

"env": {
  "STRATA_VERIFY_NO_HOST": "0",
  "STRATA_VERIFY_DEVICE_PLAN": "0"
}

After applying these overrides, decode performance improved substantially.

Importantly, I did not change the GPU, PCIe configuration, or model quantization between the two benchmark configurations.

Benchmark results

  • Test A: Both environment variables explicitly set to 0.
  • Test B: Default configuration without these environment variable overrides.
Input tokensPP A (tok/s)PP B (tok/s)TTFT A / BDecode A (tok/s)Decode B (tok/s)Decode improvementDraft acceptance A / B
2021.6321.551.09 / 1.12 s62.8921.39+194%76% / 79%
2,185348.50348.226.48 / 6.50 s59.3237.58+58%66% / 69%
8,000458.86459.3117.64 / 17.65 s65.3935.09+86%81% / 70%
40,000445.98446.2589.90 / 89.89 s57.5635.82+61%69% / 71%
128,000413.01413.13310.13 / 310.11 s52.7934.34+54%67% / 70%

PP = prefill throughput; TTFT = time to first token; Decode = generation throughput; draft acceptance = accepted draft tokens as a percentage.

Key findings

1. Decode throughput improved by approximately 1.5–2.9×.

The improvement was consistent across all five input lengths. At 128K input tokens, decode throughput increased from 34.34 to 52.79 tokens/s, a 54% improvement.

For the shortest test, throughput increased from 21.39 to 62.89 tokens/s, an improvement of 194%.

2. Prefill performance remained virtually unchanged.

Prefill throughput differed by less than 0.2% between the two configurations across all five tests. TTFT was also essentially identical.

This suggests that the performance improvement primarily affects the decode execution path rather than prefill processing.

3. The improvement persists at long context lengths.

Even with 128K input tokens, Test A maintained 52.79 tokens/s compared with 34.34 tokens/s for Test B.

4. Higher draft acceptance does not explain the entire improvement.

Draft acceptance was sometimes lower with Test A, yet decode throughput was consistently higher. This suggests that the speedup cannot simply be attributed to an increase in draft acceptance.

5. No NaN outputs or crashes observed so far.

The Intel-specific notes in intel.md mention NaN outputs and crashes. With these environment variable overrides, I have not encountered those issues during my tests. This is an observation from my own testing, not a claim that the underlying issues have been universally resolved.


r/IntelArcPro • • Oct 05 '26

Qwen3.8 Flash Next GSQ-RCO IQ3_XXS running Strata on 2x Intel B70s

Thumbnail reddit.com
4 Upvotes

r/IntelArcPro • • Sep 29 '26

Mintelica: Mica-v0.1-4B on Intel Arc (B580 + Arc Pro B70)

Thumbnail gallery
3 Upvotes

r/IntelArcPro • • Sep 27 '26

Arc Pro B70 First post here: testing a 4-user local coding-agent setup on one Arc Pro B70

Thumbnail gallery
4 Upvotes

r/IntelArcPro • • Sep 22 '26

PSA for dual Intel Arc Pro B65/B70 users running vLLM: TP=2 was destroying my performance — two independent TP=1 workers are ~3x faster

9 Upvotes

I’ve been building a local AI server around 2x Intel Arc Pro B65 32GB cards, and I finally figured out why I kept feeling like these GPUs were way slower than the hardware should be capable of.

Short version:

Tensor parallelism across the two cards was absolutely killing decode performance.

When I stopped using TP=2 and instead ran one full model independently on each B65 at TP=1, aggregate decode throughput went from about 51 tok/s to 157 tok/s.
Same machine. Same GPUs. Same model. Same vLLM build.

Hardware / software
My current Daedalus machine is roughly:
Ryzen 9 9950X
ASUS ProArt X870E Creator
2x Intel Arc Pro B65 32GB
Linux bare metal
Docker
PyTorch 2.13.0+xpu
vLLM 0.29.0
custom working XPU image: daedalus/vllm-openai-xpu:0.29.0-affinity-fixed
Model: Qwen/Qwen3-30B-A3B-GPTQ-Int4
65,536-token max context
Intel xe kernel driver
GPUs isolated with ZE_AFFINITY_MASK

The Qwen checkpoint is about 15.77 GiB, so it fits comfortably on a single 32GB B65 along with a useful KV cache.

First test: TP=2 vs TP=1

I used the OpenAI-compatible /v1/completions endpoint rather than chat completions so chat-template differences couldn’t affect the result.
Same raw prompt every time, 54 prompt tokens, 512 generated tokens, temperature 0.

2x B65, TP=2:
51.19 tok/s
51.36 tok/s
50.99 tok/s
Average: 51.18 tok/s

Then I isolated one card with ZE_AFFINITY_MASK=0 and changed only:
tensor_parallel_size: 2 → 1
GPU memory utilization from 0.42 → 0.85
Same model, same 65K context, same container/image, same prompt.

B65 #1, TP=1:
77.94 tok/s
78.81 tok/s
78.65 tok/s
Average: 78.47 tok/s

Then the second physical B65:

B65 #2, TP=1:
79.68 tok/s
81.29 tok/s
81.38 tok/s
Average: 80.78 tok/s

So one B65 was roughly 53–58% faster than both B65s running TP=2.

That was the first WTF moment.

Then I ran both cards independently at the same time

Instead of one TP=2 vLLM server, I created two independent vLLM instances:
B65 A → ZE_AFFINITY_MASK=0, port 8000
B65 B → ZE_AFFINITY_MASK=1, port 8001
Both TP=1
Both running their own copy of the same Qwen model

One important wrinkle: each worker needed its own vLLM compile/cache directory.
When both instances shared the same vLLM cache, the second worker loaded the model successfully and then segfaulted while restoring compiled artifacts.
Giving worker B its own cache fixed it.
Then I fired identical 512-token generations at both endpoints simultaneously.

Dual independent worker results:

Run 1:
B65 A: 78.24 tok/s
B65 B: 77.36 tok/s
Aggregate: 154.70 tok/s

Run 2:
B65 A: 79.97 tok/s
B65 B: 79.41 tok/s
Aggregate: 158.81 tok/s

Run 3:
B65 A: 79.37 tok/s
B65 B: 79.26 tok/s
Aggregate: 158.51 tok/s

Average aggregate throughput:
~157.34 tok/s

Compare that to:
TP=2: ~51.18 tok/s

So running two independent TP=1 inference workers gave me roughly:
3.07x the aggregate decode throughput
from the exact same two GPUs.

Even better, simultaneous operation barely affected either card individually. The combined result was about 99% of the theoretical sum of their solo performance.


r/IntelArcPro • • Sep 20 '26

Arc Pro B70 Enhancing llama.cpp to get best performance

1 Upvotes

Most of the online documentation focuses on parameter tweaking and extracting the maximum performance from existing codebases. Very few people actually look at the code itself.

This is exactly the power open source gives us, and we don't make enough use of it.

I am trying to change that:
https://github.com/anantshri/llama.cpp/tree/sycl-b70-optimization-anantshri#submitted-upstream-work
4 pull requests so far, targeting different performance bottlenecks.

All the code changes have been submitted upstream for eventual merging into the main llama.cpp project (and each pull request is linked in the readme). I was too excited to hold back, so I have also created my own branch containing all the optimization work I am doing.

#IntelArcProB70 #LocalAI #PrivateAI #SelfhostedAI #ownthestack