Skip to content
MistVVKPublic
forked from Niko1221/Strata

About

LLM & Image maker!1GPU & Intel / NVIDIA / AMD 🥳No CUDA!

Resources

Contributing

Stars

462 stars

Watchers

9 watching

Forks

 
 

Latest commit

 

History

14,618 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XeStrata

English | 日本語

XeStrata is an all-in-one local AI platform built to bring a ChatGPT-class experience to a single PC. Chat, coding-agent APIs, vision, image generation and editing, SVG vectorization, video upscaling and tracking, translation, and LoRA training all run on one or more Intel Arc, AMD Radeon (RDNA2 or later), or NVIDIA GPUs.

At its core is the 125-billion-parameter Qwen3.8-Flash-Next, alongside text models such as Qwen3.8-27B, Inkling-2-Mini, SenseNova-Loop-9B, and ERNIE-5.5, and image models such as Qwen-Image-2.1, Mage-Flow, HunyuanImage 3.0, and P-H3-Image — all served from one local address. Changes from upstream Strata up to 0.2.23 are integrated.

Contents: What it does · What you need · Choosing a model · Install · Using it · When something goes wrong · How it works · Documentation · License and credits

What it does

  • One-step setup: run xestrata --setup (or the GUI install screen) and press Enter to pick, download, and start text, image, and translation models that fit your PC. An image-only mode (image generation, tools, and video with no LLM) is also available.
  • Seven web tabs and standard APIs at one URL: http://127.0.0.1:8095 serves Chat, Images, Tools (upscale, fix, mask, remove background, Unlimited-SVG), Video, Translate, Monitor, and About, along with OpenAI-compatible, Responses API, Anthropic-compatible, vLLM-Omni-compatible image/video, and DeepL/LibreTranslate-compatible APIs.
  • Automatic GPU memory sharing: on a single GPU, gpu_policy auto chooses keep, shrink, layer streaming, or unload per request based on free VRAM. On multi-GPU systems, --image-gpu auto routes image generation to a free GPU so chat stays responsive (MULTIGPU).
  • Skills, MCP, and LoRA training: bundled skills (load_skill / GET /v1/skills), MCP client and server support, SearXNG web search, and browser-based LoRA training (LORA_TRAIN).
  • One SYCL code base across three GPU makers: Intel (XMX / DP4a), AMD (WMMA / DP4a), and NVIDIA (Tensor Core / DP4a) share one SYCL implementation. The free-software-only package xestrata-free (Intel, AMD, CPU) is published on OBS for 10 Linux distributions.

What you need

Item Requirement / guideline
GPU Intel Arc (A / B series), AMD Radeon (RDNA2 or later, AMD GPUs), or NVIDIA (Pascal or later; Pascal has no tensor cores and uses slower paths). 12 GB+ VRAM recommended (less works)
CPU x86-64 with AVX2 (AVX-512F/BW/VL/VNNI/VBMI used automatically when present)
RAM Typically 32-62 GB (Sync-XS from 24 GiB; largest quantizations 100 GB+; see models)
Disk 60-110 GB for the model (up to 190 GB) plus ~5 GB for MTP layers. NVMe SSD strongly recommended
OS Linux (OBS packages for 10 distributions; for NVIDIA GPUs or other distros, Podman, GitHub Releases, or from source), Windows 10 / 11 (x64, Windows 7z)
BIOS On discrete GPUs: Above 4G Decoding and Resizable BAR enabled, CSM disabled
  • Verified GPUs: Intel Arc Pro B70 (32 GB, primary dev machine), Arc A380 (arithmetic check), NVIDIA RTX 4070 / RTX 3070 / RTX 3050 Laptop (Windows), AMD RX 9060 XT (RDNA4). Small-GPU configurations are tested by capping VRAM and disabling XMX on the B70. Integrated GPUs are verified through startup and prefill.

AMD GPUs

On AMD GPUs, dense prefill matrix products use ROCm rocBLAS / hipBLASLt, so XeStrata runs on GPUs covered by the distribution's rocBLAS (or AMD's /opt/rocm/core-<version>). Run xestrata --check to see your GPU's gfx target.

GPU gfx Ubuntu 26.04 Fedora 44 / 45 and Windows
RX 6800 / 6900 gfx1030 yes yes
RX 6700 gfx1031 no yes
Ryzen integrated (RDNA2) gfx1035, gfx1036 no yes
RX 7900 gfx1100 yes yes
RX 7800 / 7700 gfx1101 yes yes
RX 7600 gfx1102 no yes
Ryzen integrated (780M, etc.) gfx1103 no yes
Ryzen AI integrated gfx1150 no yes
Ryzen AI Max integrated gfx1151 yes yes
RX 9060 gfx1200 yes yes
RX 9070 gfx1201 yes yes
  • On RX 6700 or RX 7600, use Fedora 44 / 45 or Podman (ROCm 10.1).
  • RX 6600 (gfx1032), RX 6500 / 6400 (gfx1034), and gfx1152 / gfx1153 are not supported.

Choosing a model

Not sure? Press Enter at xestrata --setup's prompts. On multi-GPU systems (2+ GPUs where it fits), SC117 Swift (IQ3_S / IQ3_XXS) is offered first; on standard systems, setup picks the first model that fits in this order:

Priority Model Parameters Guideline
Multi-GPU first SC117 Swift 125B (MoE) On 2+ GPUs where it fits (IQ3_S, else IQ3_XXS)
1 Sync (XS / S / M) 125B (MoE) From 24 GiB RAM (e.g., Sync-M on 12 GB VRAM + 64 GB RAM)
2 Qwen3.8-27B YASAKANI Loop QSA 27B (dense, 3-pass loop + QSA) 12-32 GB VRAM, 8+ GB RAM; vision, MTP, refusal-removal ON
3 SenseNova-Loop-9B (QSA) 9B (dense) Vision support; Q5_K_M on a 20 GB card
4 Qwen3.5-2B 2B (dense) Small GPU or CPU-only PC

Qwen4-35B-A3B, Inkling-2-Mini, Usuzumi-Inkling-2-Mini-A2.5B (v2), ERNIE-5.5, GigaChat 4 37B-A4B, Edge0, Ornith-1.5, llm-jp-4.1, Qwen3.6-35B-A3B, Qwen3.5-9B/0.8B, GLM-5.3-Flash, local GGUFs (--gguf), and image-only mode are also supported. See docs/MODELS.md for the full catalog.

  • Image generation, editing, and SVG (optional): Qwen-Image-2.1, Mage-Flow, MageTrail, HunyuanImage 3.0, MOSS-Image, Anima, P-H3-Image, Nemotron-Labs-Image-30B-A3B, and Unlimited-SVG in Tools (docs/IMAGE.md).
  • Translation (optional): PLaMo 3 Translate (2B / 0.8B / 8B, auto-selected by RAM; docs/TRANSLATE.md).

Install

Full per-distribution commands, first-time setup, background service, updating, and removal instructions are in docs/INSTALL.md.

  1. Linux without an NVIDIA GPU (OBS repository) — for Intel Arc, AMD Radeon (RDNA2 or later), and CPU-only systems. Install the free-software package xestrata-free from OBS (home:MistVVKs:xestrata, 10 distributions: Ubuntu 24.04 / 26.04 / 26.10, Debian 13, Fedora 44 / 45, openSUSE Leap 16.1 / Slowroll / Tumbleweed, and Arch Linux). To use the GUI as well, install xestrata-gui alongside it (Ubuntu 24.04 / 26.04 / 26.10, Fedora 44 / 45, Arch Linux). Then run xestrata --setup (instructions).
  2. Linux with an NVIDIA GPU or a distribution not on OBS — use Podman (recommended) or the contrib-llvm packages on GitHub Releases (Ubuntu 26.04, Fedora 44 / 45) (instructions).
  3. Windows (7z) — extract XeStrata-<version>-windows-x64.7z from GitHub Releases and run xestrata.exe (or xestrata-cli.exe in a terminal; instructions).

Building and installing from source with ./setup.sh is in docs/BUILD.md.

Using it

  • Browser: http://127.0.0.1:8095 (opens automatically on start) with seven tabs: Chat, Images, Tools, Video, Translate, Monitor, and About.
  • Terminal chat: xestrata chat (/think low sets thinking depth; /image <path> attaches an image).
  • OpenAI / Anthropic-compatible APIs: point your client at http://127.0.0.1:8095/v1 (any API key and model name work). Also serves /v1/responses, /v1/messages, /v1/images/generations, /v1/images/vectorize, /v1/videos, /v2/translate, /v1/lora/jobs, and /v1/skills.
  • LAN access: run xestrata --host 0.0.0.0 --api-key <secret> to connect from a phone or another PC.
  • Background service: systemctl --user enable --now xestrata keeps the last configured model running while logged in.

When something goes wrong

  • PC feels slow on first start: XeStrata loads 23-50 GB into RAM and compiles GPU kernels on first run. Wait 1-3 minutes; if it still stalls, choose a smaller quantization.
  • Download interrupted: run xestrata again to resume where it stopped.
  • GPU not found: run xestrata --setup to check missing drivers and render group membership. NVIDIA GPUs require the contrib-llvm build.
  • Ubuntu 26.04 kernel 7.0.0 ABI 40+ (Intel Arc): a drm/pagemap bug can break SVM. Switch to the HWE kernel (linux-hwe-7.3), Fedora 44 / 45, or kernel 7.0.0-38 or earlier (a container runs on the host kernel and cannot avoid it).
  • IGC 2.27-2.30 or old compute-runtime (Intel GPU): follow xestrata --setup to use Fedora 44 / 45, Podman, or the HWE kernel with Intel's graphics PPA.
  • More help: see the troubleshooting table, image troubleshooting, or the LLM-agent diagnosis guide.

How it works

XeStrata splits memory and compute across GPU, RAM, CPU, and SSD so a 125B MoE model runs on one consumer GPU:

  • GPU: runs attention, dense layers, and several thousand hot experts.
  • RAM / CPU: holds the remaining experts; cold experts run on the CPU (AVX2 / AVX-512) or stream over PCIe.
  • SSD: stores large embedding tables, reading only the rows needed per token.
  • Speculative decoding (MTP / DFlash 2 / DSpark): a small drafter proposes multiple tokens and the main model verifies them in one pass with identical output quality.
  • Shared computing engine: both text engines (Qwen3.8-Flash-Next and plain) and the image DiTs, VAEs, and upscalers share matrix products, attention (XeFlash), Walsh-Hadamard transforms, compressed KV, and VRAM budgeting.

See docs/DETAILS.md and docs/XE.md for details.

Documentation

Area Documents Topics
Install & models INSTALL · MODELS Three-way install guide, full model catalog
Feature guides IMAGE · LORA_TRAIN · TRANSLATE · LLAMA_SWAP Images/video/SVG, LoRA training, translation, llama-swap
Advanced usage MULTIGPU · BATCHING · KVA · DETAILS Multi-GPU, batch slots, KVA, full API & troubleshooting reference
Build & internals BUILD · DEVTOOLS · BENCH · DIAGNOSE · XE Source/OBS/Podman builds, dev tools, benchmarks, diagnosis, SYCL engine
Contributing CONTRIBUTING · AGENTS.md Bug/speed reports, PR requirements, coding rules

License and credits

XeStrata is free software. Code written for XeStrata by MistVVK and the XeStrata contributors, and XeStrata as a combined work, are distributed under the GNU LGPL v3 or later (COPYING.LESSER and COPYING). Code from upstream Strata and ggml / llama.cpp (MIT) and components under third_party/ (third_party/main/README.md) keep their own licenses. An additional permission under GPL v3 section 7 for linking with GPU/CPU vendor math libraries and OS runtimes is in NOTICE. Individual model weights carry their own licenses (credits and licenses).

About

LLM & Image maker!1GPU & Intel / NVIDIA / AMD 🥳No CUDA!

Resources

Contributing

Stars

462 stars

Watchers

9 watching

Forks

Releases

Contributors

Languages