Qwen3.8-Flash-Next on any consumer hardware: one-click install for Windows / Linux. Strata inference engine, OpenAI/Anthropic API on localhost, optional image input.
C++
Commits on main
metal engine: the routed gate/up's i-quant grids from constant memory (function constant 23 on moe_gu_*; STRATA_METAL_CTAB=0 off) - IQ3_S spec 2 decode +0.7-1.0%, greedy tokens unchanged
bcc2a84 Niko1221 committed 1 month ago
metal: MM_PROBE 7 - a repacked i-quant layout's cost (one aligned 16-byte load a lane a row a 32-group): IQ3_S prompt gate/up 9.5-10.9 -> 6.8-6.9 ms a layer
af6738e Niko1221 committed 1 month ago
kq_cpu_bench: the CPU pool's expert rows per format on T threads in GB/s of weights; tools/quant_bound.py: decode bounds from the per-layer formats; setup copies libstrata_kq next to a compiled engine
c7070a7 Niko1221 committed 1 month ago
decode: NVFP4 experts decode each weight part once per call for every token of the window (Split<40>), its UE4M3 scales from bits, down on 16-lane rows - bitwise the same, 1.14-2.5x
546d767 Niko1221 committed 1 month ago
nvfp4_decode_bench: the decode experts' weight bandwidth on random blobs of any format pair, with an output hash
8cc41f3 Niko1221 committed 1 month ago
Qwen3.6 T1: SiLU-gated GDN step and a 256/8 router in the native kernels; q36ref runs on them
de81ac9 Niko1221 committed 1 month ago
Formats cost nothing unless used: Q6_K gate/up experts in the normal build; the K-quant MMQ prompt kernels on by default, on CUDA as their own library (strata_kq) opened only for a model with these experts and STRATA_MMQ_KQ=1
465cd61 Niko1221 committed 1 month ago
metal: IQ3_S pack work - QUANT_CTAB (constant-memory i-quant grids, function constant 23), mm_gu4 / mm_gu5 probes
450c82f Niko1221 committed 1 month ago
setup: the NVFP4 family - sergqwer's ready-made packs (GPTQ default, NVIDIA's checkpoint second), pinned and SHA-256-checked
fab8c10 Niko1221 committed 1 month ago
Quant yardstick: tools/quant_quality.py (teacher-forced top-1 agreement and KL against Q8_0 on a fixed 5x1000-token set) and tools/quant_formats.py (per-role tensor formats from GGUF headers, local or HF range requests)
0d3553f Niko1221 committed 1 month ago
NVFP4 port: the SYCL tree takes the new defaulted args (no NVFP4 there); the 12x -> 12xa rewrite works on CMake < 3.29
5c6bdf6 Niko1221 committed 1 month ago
Qwen3.6 T1: strata-q36ref, the reference path, and its llama.cpp parity tools
3a020d5 Niko1221 committed 1 month ago
Expert arena: say at once that huge pages were skipped (#2126)
e000fe5 Niko1221 committed 1 month ago
Expert arena: MADV_HUGEPAGE is not requested when free 2 MiB blocks cover less than half of it (direct compaction stalled a 62 GB box's load at 100% system time); STRATA_ARENA_THP=1 asks anyway (#2126)
6b39557 Niko1221 committed 1 month ago
NVFP4 port: the SYCL build compiles the NVFP4 CPU rows (native_expert.cpp calls them); mmq_nvfp4_parity gets -mf16c on GCC/Clang
8e2c57b Niko1221 committed 1 month ago
serve: the route tail skip is not a default with NVFP4 experts (STRATA_ROUTE_TAIL_SKIP=7 opts in)
55e2072 Niko1221 committed 1 month ago
cpu: NVFP4 expert rows in 256-bit lanes for CPUs without AVX-512
b766cde sergiywith committed 1 month ago
prefill: the CPU rows' row_sd ones sized on their own - 0.1.42 takes the rows buffer once at its largest, which left them unallocated
f72f203 sergiywith committed 1 month ago
prefill: the CPU share on NVFP4 experts - the CPU's rows take row_sd 1 (upstream's CPU share is the base)
77c6991 sergiywith committed 1 month ago
Mixed expert formats: an NVFP4 projection beside another format in the same expert (e.g. NVFP4 gate/up + Q8_0 down)
f235e39 sergiywith committed 1 month ago
Prompt path: the MMQ group gather (upstream since 0.1.38) carries NVFP4 tails and zeroes the MMQ tail
37216b6 sergiywith committed 1 month ago
NVFP4 routed experts: converter, pack, decode, prompt path, AVX-512 CPU rows
e51b437 sergiywith committed 1 month ago
test_setup_strix_halo: gfx1103 is in the gfx11 WMMA list since the 780M change
0601072 Niko1221 committed 1 month ago
Image generation: Qwen-Image-2.1-Turbo through stable-diffusion.cpp (POST /v1/images/generations)
a5b3b6c Niko1221 committed 1 month ago
setup on macOS: rebuild the engine when its sources change (a digest of the source files, not the git commit: an unzipped copy has none); the Mac's own words for the sizes
852e065 Niko1221 committed 1 month ago
docs/MAC.md: Strata on a Mac - what it needs, memory per pack, setup, the measured numbers (M5 Max resident, M4 32 GB streaming), quality, limits, switches
ceab2ce Niko1221 committed 1 month ago
setup on macOS: IQ3_S offered (recommended from 110 GB), streaming Macs configured without MTP
93d7ceb Niko1221 committed 1 month ago
metal: serve - a new conversation resets the decode window; conversation checkpoints hold the window's state
ff0546d Niko1221 committed 1 month ago
Model families: Qwen3.6-35B-A3B (qwen35moe) recognised, geometry and layout from the GGUF, no engine path yet
14ba7a6 Niko1221 committed 1 month ago