Llamacpp Xpu Run

Run a GGUF model on an Intel GPU using llama.cpp's SYCL backend (Level Zero) with the official intel.Dockerfile. Covers building the Docker image from source at a pinned tag, launching llama-server with an OpenAI-compatible API, device selection, multi-GPU layer splitting, all recommended runtime env vars, flash-attention, and quantisation selection. Use when the user has a GGUF model and wants fast local inference or an OpenAI-compatible endpoint on Intel GPU without Python/PyTorch. The CUDA analogue is llama.cpp built with `-DGGML_CUDA=ON`. Use **vllm-xpu-run** instead for safetensors models with continuous batching at scale; use **torch-xpu-run** for Hugging Face Transformers direct.

intel ec4142d 4 files · 15.0 KB Updated

File contents

intel/gpu-ai-skills/tree/main/plugins/intel-gpu-ai-skills/skills/llamacpp-xpu-run commit ec4142d6da

Frequently asked questions

npx skillmds@latest add intel/llamacpp-xpu-run