Files
2026-11-18 09:42:59 +01:00

57 lines
2.2 KiB
Markdown

# Runtimes
[← Home](../README.md)
Overview of inference runtimes that work on Intel Arc. Status and versions change often —
note the date when updating.
## At a glance
| Runtime | Backend on Arc | Good for | OS |
| --- | --- | --- | --- |
| llama.cpp | SYCL, Vulkan | GGUF models, single user, flexible | Linux, Windows |
| vLLM (XPU) | PyTorch XPU | Multi-user serving, batching | Linux |
| LLM Scaler (Intel) | vLLM-based | Battlemage / Arc Pro B60 serving | Linux |
| Ollama | via llama.cpp (Vulkan / Intel builds) | Easy model management | Linux, Windows |
| LM Studio | Vulkan (llama.cpp) | GUI, beginners | Windows, Linux |
| OpenVINO / OpenVINO GenAI | GPU plugin | Optimized Intel path, INT4/INT8 | Linux, Windows |
| OpenVINO Model Server (OVMS) | OpenVINO | OpenAI-compatible serving | Linux, Windows |
| PyTorch XPU (native) | Level Zero | Custom code, training, HF transformers | Linux, Windows |
### Deprecated
| Runtime | Backend on Arc | Good for | OS |
| --- | --- | --- | --- |
| IPEX-LLM | PyTorch / llama.cpp | Was the go-to Intel stack; check maintenance status | Linux, Windows |
## llama.cpp
- **SYCL backend**: built with oneAPI, usually fastest on Arc for prompt processing.
- **Vulkan backend**: no oneAPI needed, easy, sometimes faster on token generation.
- Repo: https://github.com/ggml-org/llama.cpp — see `docs/backend/SYCL.md`.
TODO: build commands, recommended flags (`-ngl`, `-fa`, split mode), SYCL vs. Vulkan comparison.
## Ollama
TODO: which builds support Arc (Vulkan, Intel portable builds), env vars.
## OpenVINO
- Convert models with `optimum-intel` (`optimum-cli export openvino ...`) or use pre-converted models from the Hugging Face `OpenVINO` org.
- GenAI API for simple LLM pipelines, OVMS for serving.
TODO: example conversion + serving.
## vLLM on XPU
TODO: install path, docker images, supported models, multi-GPU.
## PyTorch XPU
- Upstream PyTorch has native `xpu` device support (`torch.xpu.is_available()`).
- Intel Extension for PyTorch (IPEX) features are being upstreamed — check whether you still need it.
## Which one should I use?
TODO: decision guide (casual chat → Ollama/LM Studio; max perf single user → llama.cpp SYCL or OpenVINO; serving → vLLM/OVMS).