Repository navigation
uv pip install flide==0.2.1
What's new
- Macs with Apple silicon, through MLX, for Qwen3.5 dense models and their decision models (Macs).
flide serve --lora NAME=PATHserves several LoRA adapters on one copy of the base weights (Several LoRA adapters).- Attention up to 2.5 times as fast on RTX 30, 40 and 50, RTX PRO 6000, A40 and L4 (Kernels).
--quantize fp8runs SwiGLU and its float8 scaling in one pass.flide serve --vllm-kvruns Qwen2.5 and Qwen3 on vLLM's copy of the weights and takes 40% less time a step (Agents on vLLM).- The built-in template takes
"attention": "blocks"(#63). flide run --batch-invariantcomputes a prefix shared by several requests once (#64).- A Docker image for AMD GPUs,
omnijev/flide:rocm. - Strands Decider and the 8-bit paths start without compiling on every GPU with prebuilt kernels.
- this-that answers every question of a request again, and liquamen names the type it refuses.
Kernels come prebuilt for sm_86 (RTX 30, A40), sm_89 (RTX 40, L4, L40S), sm_90 (H100, H200), sm_120 (RTX 50, RTX PRO 6000), sm_121 (DGX Spark) and gfx90a (MI210).
Contributors
Thanks to @MokeAstor for #63 and @Lumea-art for #64, to @reneleonhardt for suggesting Macs in #67, and to @lawen5 for the kernel ideas in #45.
All changes
Kernels
- Attention in Gluon for 64-, 128- and 256-dim heads on GPUs with less shared memory.
- SwiGLU and float8 quantization in one kernel for Qwen2, Qwen3, Qwen3.5, LFM2 and LFM3.
- The startup log counts only the kernels it builds.
Serving
- Several LoRA adapters on one model (
--lora), one adapter in a GPU round at a time. - vLLM's blocks are gathered whole and given back off the request's path.
--vllm-kvbuilds Qwen2.5 and Qwen3 dense models on vLLM's weights; other models read their own copy.- Same-prefix requests run as one plan under
--batch-invariant(#64).
Mac
- An MLX engine (
--device mlx) with Metal kernels for the DeltaNet recurrence and 8-bit weights. - DeltaNet's inputs in the model's dtype on a Mac, as on a GPU.
Fixes
- this-that reads every question's slot in its default layout.
- liquamen refuses a question type it does not answer before it estimates the length.
Templates
"attention": "blocks"in the built-in template (#63).- A
decisionfamily for checkpoints that ship transformers' decision config.
Packaging
- A
rocmDocker image. - A warning at start when PyTorch is outside 2.12.1 to 2.14.
flide run,serveandverifycheck the device before they download a model.- Modules regrouped in layers; the old import paths still work.
- Every source file carries its SPDX license line.
python tests/run.pyruns every test, each in its own process.- Docstrings for the public API.
Full changelog: v0.2.0...v0.2.1