Skip to content

FLYX v0.2.3

Choose a tag to compare

@pmzzs pmzzs released this 30 Nov 12:10
e4d30f5

FLYX v0.2.3 — Faster Long-Context StrataFlux, Self-Contained .flyx Packs, Native Document Input, Qwen4Exp & Inkling-2 Vision

Zero-dependency local LLM inference in a single 59.98 MB Windows .exe — no CUDA Toolkit, Python, or Docker required. v0.2.3 delivers a major long-context speedup (load-time measured AUTO StrataFlux switching, chunked-ring host copy streaming, and prompt-end head replay), flyx pack for single-file GGUF+drafter .flyx packages with multi-drafter longest-context selection and dashboard tier listing, native zero-dependency PDF & Office document input, Day-0 Qwen4Exp (text, vision, and all speculative drafter families), Inkling-2 image projectors, explicit session affinity, per-model chat sampling defaults, and an optional Docker / Compose deployment recipe.

Downloads

Platform File Size Notes
Windows x86_64 (Single .exe) flyx-0.2.3-windows-x86_64-cuda13.exe 59.98 MB Recommended: double-click to start the server and open the web dashboard.
Windows x86_64 (Full ZIP) flyx-0.2.3-windows-x86_64-cuda13.zip 51.88 MB CLI (flyx.exe), shared C API (flyx.dll), loadable backends, headers, and Python bindings.
Windows x86_64 (Python Wheel) flyx-0.2.3-py3-none-win_amd64.whl 48.37 MB pip install Python bindings with bundled CPU & CUDA backends.
Linux / WSL2 x86_64 flyx-0.2.3-linux-x86_64-cuda13.tar.gz 54.74 MB CLI (bin/flyx), shared C API (lib/libflyx.so), loadable backends (sm_80–sm_120), headers, and Python bindings (glibc >= 2.35, e.g. Ubuntu 22.04+).
Linux x86_64 (Python Wheel) flyx-0.2.3-py3-none-manylinux_2_35_x86_64.whl 50.33 MB pip install Python bindings with bundled backends (glibc >= 2.35).
Checksums SHA256SUMS.txt 522 B SHA-256 digests for all release files.

Highlights

Performance & Long Context

  • Load-time measured AUTO StrataFlux switch (#104, #113, fixes #103) — Under --kv-method auto, FLYX now anchors the exact-to-StrataFlux switch to the real GPU KV placement (accounting for drafters, fixed state, and low-bit copies) and runs a brief load-time micro-probe (cached per GPU/driver/link/model) so spilled contexts never stall on PCIe exact-KV reads (resolving the ~2× long-context slowdown on PCIe cards reported in #103). Sessions that fit wholly on the GPU stay laid out whole at the frozen switch (#113), preserving full prefill and long-context decode speed on 24 GB cards at --ctx max.
  • Chunked-ring host StrataFlux streaming & packed 2-bit multi-row scans (#100) — Reclaims speed-only head copies when doing so keeps more 2-bit Strata copies resident on GPU, sizes Strata scratch to the widest lowered round instead of a fixed 16 rows, streams remaining host copies through an async chunked H2D DMA ring, and packs 2-bit multi-row scans.
  • Instant prompt-end head replay (#105) — Repeating an already-cached prompt (from live state, rollback window, local checkpoint, or RAM/disk snapshot) restores the saved post-norm pre-head vector and replays only the 1-row output head and sampler under the new request's settings—eliminating redundant final-pass prefill while preserving bit-exact sampling, penalties, grammars, LoRA, vision, and drafter parity.
  • Request-sized contiguous KV layouts & exact GPU prefix preservation (#91, #98) — Automatic server session sizing now preserves the resident exact GPU KV prefix before the AUTO Strata switch and reserves request-sized contiguous KV layouts against global VRAM/RAM budgets, parking/evicting idle sessions cleanly under memory pressure.

.flyx Packaging & Dashboard

  • flyx pack — single-file .flyx tiers (#90) — Pack any GGUF model together with its speculative drafters (auto-discovered MTP/DSpark or explicit --drafter-file), optional --mmproj projector, SHA-256 provenance, and measured --recommended settings into one self-contained .flyx (format 2) file—keeping GGML blocks byte-for-byte with zero re-quantization.
  • Recommended drafter lists choosing the longest context (#114) — Packed .flyx files can now record an ordered "recommended"."drafter" list (fastest first, e.g. ["dflash2", "mtp"]). When GPU VRAM trims the first drafter's context below what was asked, FLYX evaluates the remaining drafters and keeps the one achieving the longest context (falling back cleanly to plain decoding if none loads), letting one .flyx file serve both 16 GB and 24 GB+ GPUs.
  • Dashboard .flyx tier repositories (#111) — Hugging Face repositories holding packed .flyx tiers (and local cache snapshots) now list each tier cleanly in the dashboard Model page alongside GGUFs, tagged .flyx, selectable by quantization or filename.
  • Reproducible tier & drafter selection harness (#102) — Added bench/tiers/ (run_tiers.sh, tiers_table.py, setup_box.sh) to benchmark quantization tiers against every compatible drafter (speed, peak VRAM, token-for-token equivalence, and KL/top-1/perplexity vs BF16) and pack the recommended tiers.

New Models & Multimodal

  • Day-0 Qwen4Exp text, vision & all drafter families (#92, #110) — Full support for qwen4exp (4-stream hyper-connections, indexed/compressed attention, and tiered per-layer n-gram embeddings via --ple auto|gpu|host|disk|hybrid and --ple-hot-mb), shared qwen3vl multimodal vision with 3D MRoPE, and every FLYX drafter family (HC+MoE MTP, DFlash2 HF/GGUF, DSpark HF/GGUF including SpecForge DSparkDraftModel, DSpine, and EAGLE-4 chains/trees).
  • Inkling-2 image projectors (#99) — Vision input for inkling2_loop models with inkling2v mmproj projectors (auto-fetched from Hub repos), including RGBA checkerboard compositing, panorama token budgets, and bit-exact multimodal decoding with DSpark.
  • Broader GGUF quantization compatibility (#96) — Mixed-format weight stacks (e.g., Q8_0 / NVFP4 / BF16 mixed layers from community GGUFs) now quantize minor members into the stack's dominant format on upload instead of failing; per-tensor NAME.scale factors for GGML NVFP4 and F8_E4M3 (type 43) load accurately; Hadamard-rotated weights (prism.hadamard.*) are explicitly refused with a clear reason instead of generating silently corrupted output.

Server & UX

  • Native document input & explicit session affinity (#101) — Attach PDF, Word (.docx), PowerPoint (.pptx), Excel (.xlsx), and plain-text files directly through OpenAI Chat Completions, Responses, and Anthropic Messages—parsed entirely in-process with zero external libraries (scanned PDF pages route as images to vision models). Added explicit session affinity via session headers (x-flyx-session-id, x-session-id, x-claude-code-session-id, x-codex-session-id, x-conversation-id, thread-id, plus x-claude-code-agent-id and prompt_cache_key) so concurrent coding-agent conversations sharing a system prompt stay isolated on their own slots.
  • Per-model chat sampling defaults (#94) — Resolves default temperature, top_p, top_k, and penalties from the loaded model's metadata and profiles (--sampling-profile thinking|thinking_coding), keeping CLI/request overrides explicit and exposing effective defaults and origins in telemetry.
  • Server, CLI, Anthropic & dashboard polish (#88) — Logs accurate usage and timing on cancelled streams; enforces Anthropic thinking budgets safely with in-flight rounds; returns structured JSON errors for transport-level HTTP failures while keeping form-body limits bounded; reads idle GPU metrics via NVML alone without holding a CUDA context after model unload; fixes per-round token accounting (including stop tokens), CLI -n 0 and argument validation, flyx monitor RAM display, and model-switch telemetry scoping.
  • Optional Docker server image & Compose stack (#93) — Added packaging/Dockerfile.server, packaging/docker-compose.yml, and packaging/docker-entrypoint.sh for teams wanting pinned single-GPU container deployments (no CUDA Toolkit in the runtime stage; automatic persistent API key generation for bridge-published dashboards). Standalone native binaries remain zero-dependency and need no Docker.

Correctness & Stability

  • Chunk-invariant Inkling-2 sliding-window FlashAttention (#97) — Anchors sliding-window softmax tiles to absolute key positions so prefill outputs are identical regardless of chunk cut boundaries.
  • Exact extended-prompt restoration on short last passes (#108) — Keeps the start of a ≤ 16-row final prefill pass as the restore point for longer follow-up prompts, ensuring extended prompts on inkling2_loop match fresh prefill token-for-token.
  • PCIe Strata gather atomics fix (#106) — Moves pageable Strata gather request counting to a device counter copied back on the callback stream, fixing failures on PCIe GPUs/hosts without native system-scoped PCIe atomics.
  • Windows ZIP test reliability (#107) — Isolates PowerShell module paths and suppresses progress UI in release_zip tests across PowerShell 5.1, PowerShell 7, and Windows Explorer extraction.

Three-GPU Verified Benchmarks

Decode speed in tokens/s (greedy, Linux).

  • Plain is decoding with no drafter.
  • The two Speculative columns turn DSpark on for chat and for code prompts, with the speedup over plain on the same prompts in parentheses.
  • Speculative output matched plain decoding token for token in every run: 96/96 short runs per card (greedy and sampled), 8/8 at 256 tokens, and 5/5 long-context depths through the 2-bit copy.

Inkling-2-Mini + DSpark

  • Workloads: chat, 8 prompts × 128 tokens; code, 8 prompts × 384 tokens.
  • Prefill: a 6K prompt.
GPU Quant Plain Speculative · chat Speculative · code Prefill (6K)
RTX 5090 (32 GB) UD-IQ3_XXS 216.6 259.7 (1.20×) 431.1 (1.98×) 5,332 tok/s
RTX 4090 (24 GB) UD-IQ3_XXS 161.2 182.0 (1.13×) 318.8 (1.95×) 3,905 tok/s
RTX 3090 (24 GB) UD-IQ3_XXS 126.2 138.8 (1.10×) 213.0 (1.69×) 1,793 tok/s

Long context, --ctx 262144, default --kv-method auto, plain decoding. Prefill and decode are at the prompt's depth.

GPU Prefill 32K Prefill 128K Decode at 128K Decode at 200K
RTX 5090 (32 GB) 4,960 tok/s 3,847 tok/s 134.1 145.3 (v0.2.2: 70.2, 2.07×)
RTX 4090 (24 GB) 3,684 tok/s 3,012 tok/s 126.0 126.0
RTX 3090 (24 GB) 1,668 tok/s 1,346 tok/s 90.0 87.7

Measured on RTX 3090 / 4090 / 5090 against published v0.2.2 on the same hosts (with #113's whole-GPU AUTO layout fix applied on the RTX 4090 long-context row: prefill within 0.2% of the pinned switch, decode matching v0.2.2's 126.4 / 125.9 tok/s). Drivers: 580.178.04 (3090), 580.159.03 / 580.95.05 (4090), 615.71.09 (5090). Speedups are from the medians.

Quick Start

  • Windows: Double-click flyx-0.2.3-windows-x86_64-cuda13.exe, or run:
    .\flyx-0.2.3-windows-x86_64-cuda13.exe serve unsloth/Inkling-2-Mini-GGUF:UD-IQ3_XXS
  • Linux / WSL2:
    tar -xzf flyx-0.2.3-linux-x86_64-cuda13.tar.gz
    cd flyx-0.2.3-linux-x86_64-cuda13
    ./bin/flyx serve
  • Open http://127.0.0.1:8080 in your browser.