[GH-ISSUE #2816] [Feature]: images on the Intel (SYCL) port through setup, with the CPU image encoder as on AMD #1133

Closed
opened 2026-11-04 01:48:47 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @hotschmoe on GitHub (Oct 16, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2816

What do you want to do?

Send pictures to Strata on an Intel Arc, through the setup the port already has: ./setup.sh --backend sycl --vision cpu, the way --vision cpu works on AMD since #304.

docs/INTEL.md's comparison table says images are "not yet" on the SYCL port, and sycl/setup_intel.py makes it
so: it forces --vision none (install()), maps every --vision choice to "none" (S.hip_vision = lambda asked: "none") and drops the config's "vision" section in to_sycl(). But the engine side is there: the SYCL engine
takes --vision (the GENI request with the encoder's embeddings, the per-cell M-RoPE position table in
sycl/src/program/generate.cpp), and the image encoder (strata-vision, tools/vision: llama.cpp's mtmd and the
model's mmproj file) is a CPU program with no SYCL in it - the very build the AMD path makes for the CPU, run by
serve/server.py on the host.

The workaround I use today: build tools/vision for the CPU by hand (cmake -S tools/vision -B build-vision -G Ninja -DCMAKE_BUILD_TYPE=Release -DLLAMA_DIR=<pinned llama.cpp> -DSTRATA_PORTABLE=OFF), then add the "vision"
section (exe, mmproj: mmproj-Qwen3.8-Flash-Next-BF16.gguf, model: shard 1, threads) and --vision to the
config by hand. With that, on two Arc Pro B70s (Qwen3.8-Flash-Next ISTA IQ3_XXS), a 448x448 picture of four
coloured quadrants is answered correctly through /v1/chat/completions: on main 296b59d2 with --layer-split 30
("Red, Green, Blue, Yellow" in the asked order), and on a development tree (expert parallel) also next to a
concurrent code request; the encoder takes 1.2 s for a 256x256 test picture on 8 CPU threads (64 image tokens) and no
VRAM; text decode speed is unchanged with --vision
(140.9 vs 140.5 tok/s on a 512-token reply, a development tree with the same vision path as main).

What I would like: setup does the above for --backend sycl --vision cpu (compile the encoder for the CPU, get
the mmproj file, write the vision section and --vision), the docs say images work on the port and what was
measured, and nothing changes for a setup run without --vision cpu. --vision yes (the GPU encoder) can stay off
with a note, as on AMD. A pull request that refers to this issue does that in sycl/setup_intel.py,
tools/test_setup_sycl.py and docs/INTEL.md; setup.py itself is not touched.

Prepared with AI assistance (Claude Code): the analysis, the measurements and this text were produced by Claude on the submitter's two Arc Pro B70s, at the submitter's request.

Originally created by @hotschmoe on GitHub (Oct 16, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/2816 ### What do you want to do? Send pictures to Strata on an Intel Arc, through the setup the port already has: `./setup.sh --backend sycl --vision cpu`, the way `--vision cpu` works on AMD since #304. docs/INTEL.md's comparison table says images are "not yet" on the SYCL port, and `sycl/setup_intel.py` makes it so: it forces `--vision none` (`install()`), maps every `--vision` choice to "none" (`S.hip_vision = lambda asked: "none"`) and drops the config's `"vision"` section in `to_sycl()`. But the engine side is there: the SYCL engine takes `--vision` (the GENI request with the encoder's embeddings, the per-cell M-RoPE position table in `sycl/src/program/generate.cpp`), and the image encoder (`strata-vision`, `tools/vision`: llama.cpp's mtmd and the model's mmproj file) is a CPU program with no SYCL in it - the very build the AMD path makes for the CPU, run by `serve/server.py` on the host. The workaround I use today: build `tools/vision` for the CPU by hand (`cmake -S tools/vision -B build-vision -G Ninja -DCMAKE_BUILD_TYPE=Release -DLLAMA_DIR=<pinned llama.cpp> -DSTRATA_PORTABLE=OFF`), then add the `"vision"` section (`exe`, `mmproj`: `mmproj-Qwen3.8-Flash-Next-BF16.gguf`, `model`: shard 1, `threads`) and `--vision` to the config by hand. With that, on two Arc Pro B70s (Qwen3.8-Flash-Next ISTA IQ3_XXS), a 448x448 picture of four coloured quadrants is answered correctly through `/v1/chat/completions`: on `main` 296b59d2 with `--layer-split 30` ("Red, Green, Blue, Yellow" in the asked order), and on a development tree (expert parallel) also next to a concurrent code request; the encoder takes 1.2 s for a 256x256 test picture on 8 CPU threads (64 image tokens) and no VRAM; text decode speed is unchanged with `--vision` (140.9 vs 140.5 tok/s on a 512-token reply, a development tree with the same vision path as `main`). What I would like: setup does the above for `--backend sycl --vision cpu` (compile the encoder for the CPU, get the mmproj file, write the vision section and `--vision`), the docs say images work on the port and what was measured, and nothing changes for a setup run without `--vision cpu`. `--vision yes` (the GPU encoder) can stay off with a note, as on AMD. A pull request that refers to this issue does that in `sycl/setup_intel.py`, `tools/test_setup_sycl.py` and `docs/INTEL.md`; `setup.py` itself is not touched. Prepared with AI assistance (Claude Code): the analysis, the measurements and this text were produced by Claude on the submitter's two Arc Pro B70s, at the submitter's request.
Author
Owner

@Niko1221 commented on GitHub (Oct 19, 2026):

Thanks for taking the time to report this.

We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected.

To reopen it takes about two minutes:

  1. Re-test on 0.2.0-beta. It may already be fixed. Write down what you see.
  2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other].
  3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system.
  4. Comment /reopen. A check runs and either reopens the issue or lists what is still missing.

The rules are in CONTRIBUTING.md.

<!-- gh-comment-id:6271282357 --> @Niko1221 commented on GitHub (Oct 19, 2026): Thanks for taking the time to report this. We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected. To reopen it takes about two minutes: 1. Re-test on 0.2.0-beta. It may already be fixed. Write down what you see. 2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other]. 3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system. 4. Comment `/reopen`. A check runs and either reopens the issue or lists what is still missing. The rules are in [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#1133
No description provided.