Docs request: community-tested Intel Arc A770/Vulkan single-page starter path (GGUF)

Author: twinforceslCreated Sep 25, 2026Updated Sep 25, 2026

Why this note is distinct

The README documents CUDA-oriented inference, and #27 already points readers to community quantizations. The GGUF model card covers generic llama-mtmd-cli usage and quantization quality. What I could not find there or in Baidu's issues was a tested first-run path and failure checks for Intel Arc on Linux. Here is a small, explicitly community-only recipe from an A770. It is not native BF16, official Baidu support, or long-horizon/multi-page validation.

Reproduced starting point (Fedora 44, Arc A770)

  • Fedora 44, kernel 7.2.7-200.fc44.x86_64, Mesa Vulkan 26.2.3, Arc A770 (DG2/i915). The host has cmake, gcc-c++, glslc and vulkan-loader-devel installed. Ensure there is ample free RAM/VRAM and stop other GPU-heavy work; do not assume the GGUF file size equals runtime VRAM.
  • A clean, separate llama.cpp checkout of 0ef4d560e12c1a46470265c1abd31dd47c777d23. Build and check device identity:
bash
git clone https://github.com/ggml-org/llama.cpp.git
git -C llama.cpp checkout 0ef4d560e12c1a46470265c1abd31dd47c777d23
cmake -S llama.cpp -B llama.cpp/build-vulkan -DGGML_VULKAN=ON -DGGML_NATIVE=ON -DCMAKE_BUILD_TYPE=Release -DLLAMA_CURL=OFF -DLLAMA_BUILD_TESTS=OFF
cmake --build llama.cpp/build-vulkan --target llama-mtmd-cli -j 4
llama.cpp/build-vulkan/bin/llama-mtmd-cli --list-devices
# On the tested host: Vulkan0: Intel(R) Arc(tm) A770 Graphics (DG2)

Do not copy Vulkan0 blindly if it lists another GPU on your machine. For these GGUFs you need both the language weights and the F16 image projector. Download from the pinned third-party conversion outside Git:

bash
mkdir -p models
base=https://huggingface.co/vimalnakrani/unlimited-ocr-gguf/resolve/45cd66ec6b46a7c4de49f376084ecec2b8d3c59a
curl --fail --location --retry 2 "$base/unlimited-ocr-Q5_K_M.gguf" -o models/unlimited-ocr-Q5_K_M.gguf
curl --fail --location --retry 2 "$base/mmproj-unlimited-ocr-F16.gguf" -o models/mmproj-unlimited-ocr-F16.gguf
printf '%s  %s\n' \
  8f5c5d7ec2c02888d905ce106c1f198cc85aae210e47b0669c28091d9299db06 models/unlimited-ocr-Q5_K_M.gguf \
  75e2a133676a82189b10fb1c55b5b32aedc6ede796dd6d8d7c1f901d20ebc7df models/mmproj-unlimited-ocr-F16.gguf \
  | sha256sum --check

First test against this already-public llama.cpp image, with one image per call:

bash
llama.cpp/build-vulkan/bin/llama-mtmd-cli --offline --device Vulkan0 --mmproj-device Vulkan0 \
  -m models/unlimited-ocr-Q5_K_M.gguf --mmproj models/mmproj-unlimited-ocr-F16.gguf \
  --image llama.cpp/tools/mtmd/test-1.jpeg -p 'document parsing.' \
  --chat-template deepseek-ocr --temp 0 --repeat-penalty 1.0 \
  --cache-type-v f32 --flash-attn off --no-warmup --fit on \
  -c 8192 -n 1024 --no-perf --log-verbosity 3 > page-ocr.txt
test -s page-ocr.txt || { printf '%s\n' 'Empty OCR output: fail, do not accept this page.' >&2; exit 1; }

On this exact tuple the output contained The New York Times and MEN WALK ON MOON (not an accuracy score). For this mtmd-cli build, keeping --log-verbosity 3 matters when capturing generated text; checking only process exit status can miss an empty OCR result. Preserve the raw <|det|> layout tags rather than silently stripping them. For a PDF, first rasterize a selected page using pdftoppm -f 2 -l 2 -singlefile -scale-to 2000 -png document.pdf page, then use --image page.png. This is per-page OCR, not Baidu's one-shot multi-page mode. The stock build uses full attention; R-SWA in llama.cpp is separate and still under review.

A separately documented A770 measurement observed up to 5.441 GiB resident VRAM for one page. That is one run, not a universal minimum; the linked report has the timing, RAM/swap counters and measurement details instead of repeating the table here.

A useful negative check, not a model bug report

This clean build also returned empty text with exit code 0 on a synthetic 960×640 sparse page with only UNLIMITED OCR TEST, Factura numero 2847, and Total: 123,45 EUR visibly printed. Treat an empty transcript as a failed OCR, not a success. The following ImageMagick 7.1.2-31 recipe reproduced identical pixels on our host and the same empty result:

bash
magick -size 960x640 xc:white -fill black -font DejaVu-Sans \
  -pointsize 48 -gravity NorthWest -annotate +60+90 'UNLIMITED OCR TEST' \
  -pointsize 34 -annotate +60+200 'Factura numero 2847' \
  -annotate +60+270 'Total: 123,45 EUR' sparse.png

Our 8-bit RGB pixel-stream SHA-256 was 73de7959a5cf074d514b0becbbcdd93d409e8f5660ea38e4a41cb47a6f9dcca2 (PNG file hashes vary with metadata; font substitution can vary by OS). The cause has not been isolated: GGUF conversion, quantization, preprocessing and backend differ from Baidu's native path. A direct original-BF16 comparison would be needed before filing a model bug.

Would maintainers prefer to link a clearly labelled community-backend recipe from the README, or keep this issue as a discoverable note? I can provide the exact synthetic PNG or a narrowly scoped docs PR if useful. Existing GGUF usage/quantization results and the A770 metrics are linked above rather than reproduced as a new benchmark.