More
This commit is contained in:
1 parent
13b68e3e3c
commit
22356a6f79
10 files changed
+21
-52
No files matched your search
@@ -0,0 +1,21 @@
|
||||
# Benchmarks
|
||||
|
||||
[← Home](../README.md)
|
||||
|
||||
Own measurements. Always fill in every column so results stay comparable.
|
||||
|
||||
Raw results and the benchmarking harness live in the [benchmarks](https://git.linxweiler.xyz/miga/benchmarks) repo.
|
||||
|
||||
## LLM
|
||||
|
||||
| Date | Card | Power limit | Driver | Runtime + version | Model | Quant | Context | PP t/s | TG t/s | Notes |
|
||||
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
|
||||
| | | | | | | | | | | |
|
||||
|
||||
PP = prompt processing, TG = token generation. For llama.cpp use `llama-bench`.
|
||||
|
||||
## Image
|
||||
|
||||
| Date | Card | Power limit | Tool + version | Model | Resolution | Steps | s/image | it/s | Notes |
|
||||
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
|
||||
| | | | | | | | | | |
|
||||
@@ -0,0 +1,25 @@
|
||||
# Cookbooks
|
||||
|
||||
[← Home](../README.md)
|
||||
|
||||
Collections of ready-made recipes, notebooks and examples.
|
||||
|
||||
## Official (Intel)
|
||||
|
||||
| Name | Link | Content |
|
||||
| --- | --- | --- |
|
||||
| OpenVINO Notebooks | https://github.com/openvinotoolkit/openvino_notebooks | Hundreds of Jupyter notebooks: LLMs, diffusion, speech, vision |
|
||||
| OpenVINO GenAI samples | https://github.com/openvinotoolkit/openvino.genai | LLM / image generation samples (C++ / Python) |
|
||||
| IPEX-LLM quickstarts | https://github.com/intel/ipex-llm | Guides for Ollama, llama.cpp, vLLM, WebUI on Arc |
|
||||
| AI PC Notebooks | https://github.com/intel/AI-PC-Samples | Samples for Intel AI PCs (iGPU/NPU) |
|
||||
| LLM Scaler | https://github.com/intel/llm-scaler | vLLM-based serving for Arc Pro |
|
||||
|
||||
TODO: verify links and maintenance status.
|
||||
|
||||
## Community
|
||||
|
||||
TODO: blog posts, gists, Reddit guides worth keeping.
|
||||
|
||||
## Own recipes
|
||||
|
||||
TODO: add our own tested step-by-step guides here (or as separate files under `docs/recipes/`).
|
||||
@@ -0,0 +1,41 @@
|
||||
# Hardware
|
||||
|
||||
[← Home](../README.md)
|
||||
|
||||
## Card overview
|
||||
|
||||
| Card | Generation | VRAM | Notes |
|
||||
| --- | --- | --- | --- |
|
||||
| Arc A380 | Alchemist (Xe-HPG) | 6 GB | Entry level, small models only |
|
||||
| Arc A580 | Alchemist | 8 GB | |
|
||||
| Arc A750 | Alchemist | 8 GB | |
|
||||
| Arc A770 | Alchemist | 8 / 16 GB | 16 GB version is the classic budget LLM card |
|
||||
| Arc B570 | Battlemage (Xe2) | 10 GB | |
|
||||
| Arc B580 | Battlemage | 12 GB | |
|
||||
| Arc Pro B50 | Battlemage | 16 GB | Low power, workstation |
|
||||
| Arc Pro B60 | Battlemage | 24 GB | Multi-GPU setups, Intel's LLM Scaler stack |
|
||||
| Integrated Arc (Meteor/Lunar/Arrow Lake) | Xe-LPG / Xe2 | shared RAM | Uses system memory, good for small models |
|
||||
|
||||
TODO: verify specs, add memory bandwidth, TDP, XMX units.
|
||||
|
||||
Detailed per-GPU compute and ISA specs: [instructionsets](https://git.linxweiler.xyz/miga/instructionsets).
|
||||
|
||||
## What fits in VRAM? (rule of thumb)
|
||||
|
||||
Weights ≈ `parameters × bits_per_weight / 8`, plus KV cache and runtime overhead (~1–2 GB).
|
||||
|
||||
| VRAM | LLM (Q4) | Image models |
|
||||
| --- | --- | --- |
|
||||
| 8 GB | ~7–8B | SD 1.5, SDXL (tight) |
|
||||
| 12 GB | ~12–14B | SDXL, Flux (quantized) |
|
||||
| 16 GB | ~14–20B | SDXL, Flux (FP8/GGUF) |
|
||||
| 24 GB | ~30B | Flux, larger video models (quantized) |
|
||||
|
||||
## Multi-GPU
|
||||
|
||||
TODO: tensor/pipeline parallel options, PCIe lane considerations, mixed cards.
|
||||
|
||||
## Requirements
|
||||
|
||||
- **Resizable BAR (ReBAR)** must be enabled — performance drops heavily without it.
|
||||
- See [Setup](setup.md).
|
||||
@@ -0,0 +1,31 @@
|
||||
# Image models
|
||||
|
||||
[← Home](../README.md)
|
||||
|
||||
## Tools
|
||||
|
||||
| Tool | Backend | Notes |
|
||||
| --- | --- | --- |
|
||||
| ComfyUI | PyTorch XPU | Node-based, broadest model support |
|
||||
| SD.Next | PyTorch XPU / OpenVINO | Good Intel support historically |
|
||||
| Intel AI Playground | IPEX / OpenVINO | Intel's Windows app for image + chat |
|
||||
| diffusers | PyTorch XPU / OpenVINO (optimum-intel) | Scripting |
|
||||
|
||||
## Models
|
||||
|
||||
| Model | Min. VRAM (approx.) | Notes |
|
||||
| --- | --- | --- |
|
||||
| SD 1.5 | 4–6 GB | |
|
||||
| SDXL | 8–12 GB | |
|
||||
| Flux.1 (dev/schnell) | 12–16 GB quantized | GGUF / FP8 variants |
|
||||
|
||||
TODO: video models, upscalers, LoRA training on Arc.
|
||||
|
||||
## ComfyUI on Arc
|
||||
|
||||
```bash
|
||||
# install PyTorch with XPU support (check pytorch.org for current index URL)
|
||||
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/xpu
|
||||
```
|
||||
|
||||
TODO: launch flags, attention options, known issues.
|
||||
@@ -0,0 +1,30 @@
|
||||
# Resources
|
||||
|
||||
[← Home](../README.md)
|
||||
|
||||
## Documentation
|
||||
|
||||
- Intel GPU driver docs (Linux): https://dgpu-docs.intel.com
|
||||
- oneAPI Base Toolkit: https://www.intel.com/content/www/us/en/developer/tools/oneapi/base-toolkit.html
|
||||
- PyTorch on Intel GPU: https://docs.pytorch.org/docs/stable/notes/get_start_xpu.html
|
||||
- OpenVINO docs: https://docs.openvino.ai
|
||||
- llama.cpp SYCL backend: https://github.com/ggml-org/llama.cpp/blob/master/docs/backend/SYCL.md
|
||||
|
||||
## Repositories
|
||||
|
||||
- https://github.com/intel/compute-runtime — Level Zero / OpenCL runtime
|
||||
- https://github.com/intel/xpumanager — `xpu-smi`
|
||||
- https://github.com/intel/AI-Playground — Intel AI Playground
|
||||
|
||||
## Communities
|
||||
|
||||
- r/IntelArc, r/LocalLLaMA
|
||||
- Intel Insiders / Intel community forums
|
||||
- TODO: Discord servers
|
||||
|
||||
## Hugging Face
|
||||
|
||||
- https://huggingface.co/OpenVINO — pre-converted OpenVINO models
|
||||
- https://huggingface.co/Intel
|
||||
|
||||
TODO: verify all links.
|
||||
@@ -0,0 +1,42 @@
|
||||
# Setup
|
||||
|
||||
[← Home](../README.md)
|
||||
|
||||
## BIOS
|
||||
|
||||
- Enable **Above 4G Decoding** and **Resizable BAR**.
|
||||
- Optional: enable PCIe ASPM for lower idle power (see [Optimization](optimization.md)).
|
||||
|
||||
## Linux
|
||||
|
||||
- Kernel driver: `i915` (Alchemist) or `xe` (Battlemage, and optionally Alchemist on newer kernels).
|
||||
- User-space: Intel compute runtime (Level Zero + OpenCL), oneAPI Base Toolkit if building SYCL apps.
|
||||
- Check the device is visible:
|
||||
|
||||
```bash
|
||||
clinfo | grep "Device Name"
|
||||
sycl-ls # from oneAPI
|
||||
```
|
||||
|
||||
TODO: distro-specific steps (Ubuntu, Fedora, Arch), kernel version recommendations.
|
||||
|
||||
## Windows
|
||||
|
||||
- Install the latest Intel Arc graphics driver.
|
||||
- Many runtimes ship portable builds (llama.cpp, Ollama portable, AI Playground).
|
||||
|
||||
TODO: WSL2 notes.
|
||||
|
||||
## Docker
|
||||
|
||||
- Pass the GPU with `--device /dev/dri`.
|
||||
- Intel publishes containers for several runtimes (see [Runtimes](runtimes.md)).
|
||||
|
||||
## Monitoring tools
|
||||
|
||||
| Tool | Platform | Use |
|
||||
| --- | --- | --- |
|
||||
| `intel_gpu_top` | Linux | Engine usage, frequency, power |
|
||||
| `xpu-smi` | Linux | Telemetry, power limits, data center + some client cards |
|
||||
| `nvtop` | Linux | Overview incl. Intel GPUs |
|
||||
| Intel Graphics Software / Arc Control | Windows | Telemetry, power slider |
|
||||
@@ -0,0 +1,20 @@
|
||||
# Troubleshooting
|
||||
|
||||
[← Home](../README.md)
|
||||
|
||||
Format: symptom → cause → fix.
|
||||
|
||||
## GPU not detected
|
||||
|
||||
- Check `sycl-ls` / `clinfo`. If empty: compute runtime missing or user not in `render` group (`sudo usermod -aG render $USER`).
|
||||
|
||||
## Very slow performance
|
||||
|
||||
- ReBAR disabled? Check BIOS / `lspci -vv` for "Resizable BAR".
|
||||
- Model partially offloaded to CPU? Check runtime logs for layers on GPU.
|
||||
|
||||
## Out of memory
|
||||
|
||||
- Use a smaller quant, shorter context, or KV-cache quantization (see [Optimization](optimization.md)).
|
||||
|
||||
TODO: add errors as we hit them.
|
||||
Reference in new issue
Block a user