Skip to content

FLYX v0.3.0

Latest

Choose a tag to compare

@pmzzs pmzzs released this 04 Dec 12:21
· 26 commits to main since this release
e3113b5

Updated 2026-12-04: Qwen4-35B-A3B with MTP on a 16 GB GPU now opens the model twice instead of three or four times at load (UD-IQ4_XS default load about 59 s -> about 42 s on an RTX 5070 Ti, Windows). Outputs are unchanged.

FLYX v0.3.0 — Day-0 Qwen4-35B-A3B, Automatic CPU/Host Offload & Long-Context QSA

Zero-dependency local LLM inference in a single 65.6 MB Windows .exe — no CUDA Toolkit, Python, or Docker required.

v0.3.0 ships Day-0 Qwen4 support verified on the released Qwen4-35B-A3B weights (including 16 GB GPU offload with MTP on by default and 32 GB full-GPU + MTP), automatic CPU/Host weight offload for models larger than your GPU (MoE cold experts, streamed dense layers, and prefill VRAM loans), 352K-context QSA on 16 GB VRAM, and automatic per-GPU tier selection.

Downloads

Platform File Size Notes
Windows x86_64 (Single .exe) flyx-0.3.0-windows-x86_64-cuda13.exe 65.6 MB Recommended: double-click to start server + web dashboard.
Windows x86_64 (Full ZIP) flyx-0.3.0-windows-x86_64-cuda13.zip 56.1 MB CLI (flyx.exe), shared C API (flyx.dll), backends, headers, Python bindings.
Windows x86_64 (Python Wheel) flyx-0.3.0-py3-none-win_amd64.whl 52.3 MB pip install Python bindings with bundled CPU & CUDA backends.
Linux / WSL2 x86_64 flyx-0.3.0-linux-x86_64-cuda13.tar.gz 107.0 MB CLI, C API, backends (sm_80–sm_120), headers, Python bindings (glibc >= 2.35).
Linux x86_64 (Python Wheel) flyx-0.3.0-py3-none-manylinux_2_35_x86_64.whl 102.3 MB pip install Python bindings with bundled backends (glibc >= 2.35).
Checksums SHA256SUMS.txt 522 B SHA-256 digests for all release files.

Highlights

Day-0 Qwen4 Support (Verified on Released Weights)

  • Official Qwen4-35B-A3B GGUFs work out of the box (#168, #171, #172, #173) — Official qwen4 tokenizer, Qwen4-35B-A3B.jinja chat template, compact </think> & tool-call grammars, reasoning_effort (off–xhigh), YaRN rotary scaling (#161), and Q4/IQ3/Q5 split n-gram (engram) tables.
  • MTP on by default on 16 GB offload (#175) — On offloaded 16 GB Qwen4-35B-A3B loads, the default ladder now keeps MTP (shedding 7–14 GPU experts/layer instead of dropping the drafter) with flat-at-checkpoint shaping and concurrent PLE readers, delivering token-identical decode up to +28% faster on code (UD-IQ4_XS: 135 vs 106 tok/s; UD-Q4_K_XL: 111 vs 92 tok/s; UD-Q4_K_XL cold load ~88 s vs 62 s; pass --drafter none to restore plain decoding; note: 8K/32K TTFT and max-ctx under the new default were not separately benchmarked before tag).
  • Verified on unsloth/Qwen4-35B-A3B-GGUF (RTX 5070 Ti 16 GB & RTX 5090 32 GB) — UD-IQ4_XS, UD-Q4_K_XL, UD-IQ3_XXS, UD-Q5_K_S, and UD-Q5_K_XL load with default options, match llama.cpp logits (KL 0.0079–0.0131, ~95–96.5% top-1, identical tokenization), keep token-identical MTP (8/8 prompts, ~71% draft acceptance), handle English/Chinese thinking and 32K+ prompts cleanly, and load cleanly on 32 GB Windows desktops (tip: --ple-hot-mb 1024 raises the n-gram row cache to 1 GB).
  • Fast UD-Q5_K_XL default loads (#177) — Memoizing load-fit estimates per model instance cuts UD-Q5_K_XL default load time on 16 GB Windows (32 GB RAM) from ~6 minutes down to 49 s.
  • Full Qwen4 family & offload paths (#118, #119, #166, #167, #169) — Supports Qwen4 Dense 4B/27B (layer streaming on 16 GB) and 35B-A3B MoE (separate gate/up + MTP offload + bit-exact Q4_K / IQ3_XXS CPU cold-expert kernels).

Run Models Larger Than Your GPU (Automatic Offload)

  • MoE cold experts & streamed dense layers (#70, #140, #144, #145, #147) — Hot experts stay in VRAM while cold experts live in pinned host memory; expert_path=auto benchmarks your machine once (cached) and selects the fastest bit-identical path (mapped, cpu, or hybrid). Dense layers past --gpu-layers stream from RAM. flyx serve --ctx max now offloads automatically to fit the longest context.
  • Prefill VRAM loans & safe session moves (#142, #162, #176) — Long prompts temporarily borrow cold experts' VRAM for wider prefill passes (−27% prefill time at 32K–128K on 16 GB), step down cleanly without losing sessions when VRAM is tight (#176), and restore exact residency before decode. Single-open load fitting and cached timing profiles cut offload cold load time by up to ~50%.
  • 352K-context QSA on 16 GB VRAM (#143, #149, #152) — Packed 4-bit host QSA K/V store (qsa_host_store=auto) runs Qwen3.8-Flash-Next up to 352K tokens on a 16 GB RTX 5070 Ti (Linux, 32 GB RAM) at 39.4 tok/s decode while keeping KL ≤ 0.011.

Performance, Server, ABI & Fixes

  • Faster QSA, Qwen4 & NVFP4 kernels (#127, #131, #134, #138, #139, #140) — Rewritten QSA kernels (4.7–10× faster per layer), fused Qwen4 CUDA graphs, Q8_0 hyper-connections, and default sm_120a W4A4 FP4 tensor-core prompt passes (Inkling-2-Mini NVFP4 on RTX 5090: DSpark 32K decode 205 → 248 tok/s, 128K prefill 7,110 → 8,177 tok/s).
  • Auto per-GPU tier selection (#112, #120, #133) — flyx run org/repo automatically picks the measured .flyx tier and drafter for your GPU/RAM from flyx-tiers.json.
  • Server & stability fixes (#117, #122, #141, #150–#163, #154) — Fixed Claude Code /v1/messages system turns, concurrent named-session 409 conflicts, H100 (sm_90) 512-expert router ptxas miscompile (#157), drafted arithmetic parity (#160), pipelined staging zero-fill race (#154), and VMM/session admission races.
  • Backend ABI 60u → 79u — Out-of-tree backends must be rebuilt against the v0.3.0 headers (ABI 79 adds flyx_model_desc::instance in #177).

Quick Start

  • Windows: Double-click flyx-0.3.0-windows-x86_64-cuda13.exe, or run:
    .\flyx-0.3.0-windows-x86_64-cuda13.exe serve unsloth/Qwen4-35B-A3B-GGUF:UD-IQ4_XS
  • Linux / WSL2:
    tar -xzf flyx-0.3.0-linux-x86_64-cuda13.tar.gz
    cd flyx-0.3.0-linux-x86_64-cuda13
    ./bin/flyx serve unsloth/Qwen4-35B-A3B-GGUF:UD-IQ4_XS
  • Open http://127.0.0.1:8080 in your browser.