Skip to main content

Strata backend (experimental)

Strata is an MIT-licensed inference engine for large mixture-of-experts models on consumer hardware. LocalAI exposes it through the experimental strata backend. The backend starts the Strata engine as a child process and talks to it over the engine’s line protocol. Text generation only.

Strata is developed by its own authors, not by the LocalAI project.

Installing

local-ai backends install strata

LocalAI picks the image that fits the machine. The image already contains everything the backend needs: the engine, a portable Python (with numpy) for the tokenizer helper and the pack tool, and the Strata Python modules. You do not build or download an engine yourself.

Supported hardware

HardwareImageNotes
NVIDIA GPU, CUDA 12 (x86_64)cuda12-strataGTX 10 and newer. NVIDIA driver 575 or newer.
NVIDIA GPU, CUDA 13 (x86_64)cuda13-strataRTX 20 series and newer. NVIDIA driver 580 or newer.
NVIDIA DGX Spark (arm64, CUDA 13)cuda13-nvidia-l4t-arm64-strataThe engine is built for the GB10 chip (sm_121) only. Needs glibc 2.39 or newer.
AMD Radeon (x86_64, Linux)rocm-strataRX 9000 and Radeon AI PRO R9700, RX 7000, Strix Halo, and RX 6000. The image holds one engine per GPU family and the launcher picks the one that matches the card. Only the amdgpu kernel driver is needed, not a ROCm install. RX 6000 is built upstream but not tested on a real card.
Intel Arc (x86_64, Linux)intel-strataSYCL engine. Install the Intel compute runtime on the host (libze1, intel-opencl-icd). Tested upstream on Arc A-series only.
Apple Siliconmetal-stratamacOS 15 or newer.

These targets have no Strata engine, so there is no image for them: CPU only, Vulkan, NVIDIA Jetson (JetPack 6, CUDA 12 on arm64), other AMD GPU families, and Intel Macs. On those hosts local-ai backends install strata reports that no variant fits the machine.

The images are large because each engine package carries its own GPU runtime libraries (CUDA, ROCm or oneAPI). The ROCm image carries four engines, one per GPU family.

DeepSeek V4.1-Flash runs on a second engine, strata-dsv41, which Strata ships as a separate package. The images carry it next to the Qwen engine where Strata publishes one:

ImageDeepSeek V4.1 engine
cuda13-strata, cuda13-nvidia-l4t-arm64-stratayes: x86_64 has code for RTX 30, 40 and 50 series cards (sm_86, sm_89, sm_120); arm64 only for the DGX Spark (sm_121)
rocm-stratayes, for the RX 9070 and Radeon AI PRO R9700 family only (gfx1200, gfx1201)
metal-stratayes, text only
cuda12-strata, intel-stratano: Strata publishes none, so a DeepSeek model fails to load there with a message
RX 7000, RX 6000 and Strix Halo in rocm-stratano: the image has no DeepSeek engine code for these cards

Licensing

The engine and the Strata Python modules are MIT licensed. The engine packages published by Strata also bundle runtime libraries from NVIDIA (CUDA), AMD (ROCm) and Intel (oneAPI), which keep their own licences. The images ship the upstream packages unchanged.

Models

Strata does not run a single GGUF file. A model is a directory that holds the GGUF files and a Strata pack (an index, the dense weights and the tokenizer). The model gallery installs all of them in one step, with the strata backend, the model’s own chat template, and the vision projector for images. Every file is pinned to a Hugging Face commit and checked by SHA-256.

For the GGUF models the gallery downloads only the GGUF files. The backend builds the pack with Strata’s own tools the first time the model loads (the pack_gguf option; see backend/go/strata/README.md). This takes a few minutes and a few GB of disk. A finished pack is never built again. If the build fails, the load fails with the last lines of the tool.

local-ai models install qwen3.8-flash-next-ista-iq2_xs

Qwen3.8-Flash-Next (125B parameters, mixture of experts, Qwen Community License 1.0). The n-gram table (about 29 GB in the ISTA-DASLab files) is read from disk, so use an SSD. RAM is what the experts need plus about 10 GB; the entries map the experts from the files, so a machine with less RAM still runs, slower. Add --resident-experts to engine_args to copy the experts into RAM when there is room.

Gallery nameSource and formatDownloadMemory (RAM and VRAM)
qwen3.8-flash-next-ista-q2_0ISTA-DASLab GSQ-RCO Q2_0, the fastest67 GBabout 38 GB
qwen3.8-flash-next-ista-iq2_xsISTA-DASLab IQ2_XS69 GBabout 39 GB
qwen3.8-flash-next-ista-iq3_xxsISTA-DASLab IQ3_XXS77 GBabout 47 GB
qwen3.8-flash-next-ista-iq3_sISTA-DASLab IQ3_S, the best quality85 GBabout 55 GB
qwen3.8-flash-next-coder-iq1_mISTA-DASLab Coder IQ1_M, half the experts, for code59 GBabout 32 GB of RAM
qwen3.8-flash-next-unsloth-ud-iq4_xsUnsloth UD-IQ4_XS95 GBabout 72 GB for all experts
qwen3.8-flash-next-unsloth-ud-q4_k_xlUnsloth UD-Q4_K_XL112 GBabout 88 GB
qwen3.8-flash-next-unsloth-ud-q5_k_xlUnsloth UD-Q5_K_XL159 GBabout 108 GB
qwen3.8-flash-next-unsloth-ud-q6_k_xlUnsloth UD-Q6_K_XL170 GBabout 118 GB
qwen3.8-flash-next-unsloth-q8_0Unsloth Q8_0, the reference189 GBabout 136 GB
qwen3.8-flash-next-gyro-sagentionai Gyro-S, the smallest59 GBabout 28 GB
qwen3.8-flash-next-gyro-magentionai Gyro-M93 GBabout 35 GB
swift-1.5-qwen3.8-flash-next-iq2_xsUkisAI Swift 1.5 fine-tune, IQ2_XS69 GBabout 39 GB
swift-1.5-qwen3.8-flash-next-iq3_xxsSwift 1.5, IQ3_XXS77 GBabout 47 GB
swift-1.5-qwen3.8-flash-next-iq3_sSwift 1.5, IQ3_S85 GBabout 55 GB
qwen3.8-flash-next-nvfp4-gptqNVFP4 experts (GPTQ), ready Strata pack129 GBabout 80 GB of RAM
qwen3.8-flash-next-nvfp4-nvidiaNVIDIA’s NVFP4 checkpoint, ready Strata pack129 GBabout 80 GB of RAM

The ISTA-DASLab, Unsloth and Gyro files are those of the Hugging Face repositories of the same names. The Unsloth and Gyro files need the pack tool’s --compat-bf16 option, which the entries set. NVFP4 packs run on NVIDIA GPUs only. The MTP draft layer is not configured in any entry. The context size is 32768 tokens by default; set context_size for more. For less RAM with the Unsloth files, add --resident-budget-gib N to engine_args, as described in the Strata model guide.

Qwen3.6-35B-A3B (35B parameters, 3B active, Apache License 2.0). Unsloth’s GGUF with the MTP layer, which the engine uses for speculative decoding. It runs on NVIDIA and AMD GPUs; the Intel Arc and Apple builds of Strata do not run it. The engine keeps every expert it can in VRAM and computes the rest on the CPU. On the first load the backend only exports the tokenizer from the GGUF file (pack_tool:tokenizer).

Gallery nameFormatDownloadRAM
qwen3.6-35b-a3b-ud-q4_k_xl-strataUnsloth UD-Q4_K_XL24 GBabout 32 GB
qwen3.6-35b-a3b-ud-q6_k_xl-strataUnsloth UD-Q6_K_XL34 GBabout 44 GB
qwen3.6-35b-a3b-q8_0-strataUnsloth Q8_039 GBabout 52 GB

Licences. Qwen3.8-Flash-Next models are under the Qwen Community License 1.0: free use, but it asks for a separate licence from Qwen if you run a Model as a Service or AI Work Assistant business with it, and for the model name to be shown in products above its user and revenue limits. Swift 1.5 adds UkisAI’s Swift Open License 1.0. The NVIDIA checkpoint adds the NVIDIA Open Model License Agreement. Qwen3.6 is Apache 2.0. Read the LICENSE file of the repository before you offer a model to other people. The ISTA-DASLab model cards also carry an Apache 2.0 tag; their text says the weights inherit the base model’s licence, and the entries follow the text.

DeepSeek-V4.1-Flash-1017 (763B parameters, 384 experts per layer, MIT License). It runs on the strata-dsv41 engine, with the model’s own V4.1 chat template, its reasoning trace and its DSML tool calls (the same prompt bytes as DeepSeek’s reference encoder). The quantization is ISTA-DAS’s GSQ-RCO; the draft model for speculative decoding (DSpark) is Unsloth’s. Text only: this backend does not send images to the DeepSeek engine. Each entry needs a GPU with 12 GB of VRAM or more, and Strata measured it with 46 to 64 GB of RAM; with less it runs slowly. The 111 GB n-gram table stays on disk and is read for every token, so use an NVMe drive. The table and the 8 GB draft model are downloaded once into strata/models/deepseek-v4.1-flash-shared and used by every DeepSeek entry.

Gallery nameSource and formatDownloadRAM, at the least
deepseek-v4.1-flash-ista-iq1_mISTA-DAS IQ1_M, 1.75 bpw, the smallest239 GBabout 34 GB
deepseek-v4.1-flash-ista-iq2_xxsISTA-DAS IQ2_XXS, 2.00 bpw257 GBabout 40 GB
deepseek-v4.1-flash-ista-iq2_xsISTA-DAS IQ2_XS, 2.25 bpw, the best quality274 GBabout 44 GB
deepseek-v4.1-flash-ista-coder-iq2_xxsISTA-DAS Coder, half the experts, for code191 GBabout 24 GB

Strata measured the quality against the original model: the 2.25 set is 7% worse in perplexity, the 2.00 set 16% and the 1.75 set 21%; the Coder set is about 48% worse overall and is meant for code and agent work. Free disk space is the download plus about 1 GB. The default context is 8192 tokens, the size Strata checked; the engine reads up to 1M, and the KV cache takes GPU memory from the experts, so raise context_size with care.

The DeepSeek options of the backend are family:deepseek41 (set by these entries), dspark (auto, the default, on, off or none), experts (5 for faster answers, 6 for full quality; the engine decides when it is not set) and mmap_experts. See backend/go/strata/README.md. These entries were not run on a real engine: the pack build was run on the real file headers, and the prompts were compared with Strata’s reference tokens.

Not in the gallery:

  • NVIDIA’s retrained FP4 checkpoint (NVFP4-QAD). Strata converts NVIDIA’s 102 GB of files on the user’s machine with a tool that needs a heavy Python stack.
  • OrcaRouter’s uncensored IQ3_XXS. Upstream documents it as a manual conversion.

You can still run these by building the pack with Strata and writing a model config by hand (see backend/go/strata/README.md).

The gallery entries are experimental. The backend has not yet been run against a real engine and model, and the pack build has not been run on a real model file. For DeepSeek, the pack tool was run on the real GGUF headers only.

Limits

No embeddings, no grammar, no video or audio input, one request at a time. DeepSeek models take no images and no logprobs. See backend/go/strata/README.md for the full list, including images, logprobs, tool calls and reasoning, which the backend supports.

Versions

The Strata release and the SHA-256 of every engine package, DeepSeek packages included, are pinned in backend/go/strata/Makefile. A nightly job (bump-strata in .github/workflows/bump_deps.yaml) opens a pull request when Strata publishes a release. The backend speaks an unversioned line protocol, so review each bump against backend/go/strata/README.md.