Skip to main content

Flide: Extremely Fast Decision Inference with Exact State Forking

English · 简体中文 · 日本語 · 한국어

arXiv PyPI Website Docs License Python PyTorch

News · Quick start · Models · Options

Flide is fast inference infrastructure for Jev-style decision models. With exact state forking it is up to 9.5 times faster than vLLM and SGLang, and every answer is the one the model gives the question alone. It serves the Jev /v1/systemone API.

9.5 times faster than vLLM and SGLang; exact state forking; extremely fast

One state forked into three questions, each answered in one forward pass

🔥 News

  • 🍎 2026-11-29 We added Macs with Apple silicon in Flide 0.2.1, through MLX, along with several LoRA adapters on one model (flide serve --lora) and faster attention on RTX GPUs and the A40. With --vllm-kv, Qwen2.5 and Qwen3 run on vLLM's copy of the weights, so the model sits on the GPU once.
  • 🚀 2026-11-27 We added AMD Instinct GPUs in Flide 0.2.0, where Flide answers up to 6.9 times as fast as vLLM on one MI210, along with Strands Decider v2 and 8-bit weights for Qwen2.5, Qwen3 and Gemma 4, and flide serve --vllm-kv answers questions from the keys and values of an agent that vLLM serves.
  • 💬 2026-11-26 We added Qwen2.5 and Qwen3 chat models, kev-0.5b, kev-0.6b, Decision-2.0-Kai-0.6B and the text side of clef-omni in Flide 0.1.22, and --quantize int8 for dense Qwen3.5.
Earlier news

Quick start

Flide runs on an NVIDIA GPU under Linux or Windows WSL2, on an AMD Instinct GPU under Linux, and on a Mac with Apple silicon. Install it with uv, or pull the Docker image.

uv pip install flide
docker pull omnijev/flide

See the docs for every model, images, the API and all options. On an AMD GPU, install the ROCm build of PyTorch first, as AMD GPUs shows. On a Mac, Flide runs Qwen3.5 dense models and the decision models built on them, as Macs shows.

Example

Flide answers eight questions for each of 10,000 emails in only 28 s. The email triage demo has the code to run it yourself.

An email and its eight answers, all from one forward pass

Time for one email and for 10,000 emails, Flide against three other engines

On one H200 with OneJev1.6-0.8B, Flide answers one email in 10.0 ms and all 10,000 in 28 seconds, 3.5 times as fast as the fastest other engine for one email and 4.1 times for all of them.

Models

The last three columns say how much faster Flide answers one request than the engine its release ships, as the median latency over the requests of each workload on one H200, where DI is the Decision Index. The chat models run against the faster of vLLM and SGLang (Qwen2.5 against SGLang, as vLLM refuses it), and OneJev against qev, the engine it used before Flide. KnowLine 4B, KnowLine 35B and Turion run with --quantize fp8, as their releases serve them in FP8. A value marked ~ is the average over the sizes tested.

Model Inputs DI MultiRC QuALITY
Ainvest-Decision text 1.4× 1.3× 1.3×
AJev text 3.7× 9.3× 2.6×
AutoTrust text, images ~3.2× ~7.6× ~1.6×
Bespoke-Nimble text ~2.1× ~1.8× ~1.5×
cerno text ~4.1× ~8.6× 1.1×
Clef text, images ~1.8× ~1.3× ~1.2×
Copernicus text 1.4× 2.0× 1.4×
d1 text, images ~1.6× ~1.3× ~1.1×
d3 text, images ~5.1× ~2.4× ~1.8×
Darwin text ~1.4× ~4.2× ~1.2×
Decision 2.0 text 4.5× 5.9× 2.8×
Drex text, images ~2.8× ~6.2× ~1.5×
FlexDM text 1.1× 2.0× 2.8×
Gemma 4 text, images ~1.3× ~1.7× ~1.0×
GLiDE text, images ~4.1× ~1.6× ~1.6×
Intern-Decision text, images 4.4× 1.1× 1.5×
JADE text 2.0× 9.2× 1.7×
JDI-Decision text, images 1.3× 2.8× 1.3×
Jeffan text 3.1× 2.6× 1.9×
JevAny text, images 1.5× 5.8× 1.2×
jiwo text ~1.9× ~5.9× 1.8×
karpo text 1.0× 1.2× 1.1×
Kev text ~5.2× ~1.4× ~1.7×
KnowLine text, images ~1.5× ~4.9× ~1.4×
kudhab text 1.1× 1.2× 1.1×
Linne text 2.3× 8.6× 1.2×
liquamen text 1.7× 1.9× 1.7×
Logits Sigma text 1.1× 1.4× 1.0×
Lumma text, images 1.7× 7.1× 1.2×
Lychee text 1.4× 1.5× 1.4×
mammoth text, images ~6.4× ~4.5× ~2.6×
mogan text 1.6× 8.5× 1.8×
OneJev text, images, video ~6.8× 7.3× 4.7×
Open-Jev text 4.2× 5.0× ~1.5×
pplx-decider text, images ~2.2× ~1.4× ~1.3×
Quyet text ~3.9× ~7.1× ~1.6×
Qwen2.5 and Qwen3 text ~1.5× ~4.4× ~1.3×
Qwen3.5 text, images ~2.1× ~4.8× ~1.3×
SearchJev text 5.7× 3.8× 2.7×
Senova text 3.1× 28.1× 1.2×
Sieve text ~2.3× ~8.1× ~2.3×
StartLux text 2.6× 1.1× 1.2×
Strands Decider text, images ~3.3× ~2.4× ~1.9×
SynACK Decide text 3.3× 11.9× 3.0×
this-that text 4.3× 1.5× 2.0×
torchcast text, images 1.6× 8.4× 1.5×
Turion text 1.1× 1.1× 1.0×
Wald text 1.6× 12.7× 1.5×
Xor text, images, video 2.5× 6.2× 2.8×

Options

Option What it does
--session-cache-gb 40 keeps the states of earlier requests, so an agent's next step reads only what is new
--batch-invariant the same bits for a request whatever it is batched with, at some cost in speed
--quantize fp8 Qwen2.5, Qwen3, Qwen3.5 and Gemma 4 in FP8 on NVIDIA Ada, Hopper and Blackwell GPUs
--quantize int8 Qwen2.5, Qwen3, Qwen3.5 and Gemma 4 in int8 on NVIDIA Ampere and later GPUs and on AMD Instinct GPUs, with --batch-invariant the same bits at any load
--frontends 2 HTTP, rendering and tokenizing in two processes of their own, for many clients

License

Apache-2.0. flide/kernels/gdn.py holds a kernel derived from two kernels of flash-linear-attention (MIT); THIRD_PARTY_NOTICES lists it with the other code Flide builds on.

Citation

If you use Flide in your research, please cite our paper.

@article{li2026flide,
  title   = {Flide: Accelerating Decision Inference with Exact State Forking},
  author  = {Li, Bobo and Song, Jiajia and Fei, Hao and Hsu, Wynne and Lee, Mong Li},
  journal = {arXiv preprint arXiv:2610.42148},
  year    = {2026}
}

Metadata

Release files for flide 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for flide 0.2.1
File Interpreter ABI Platform Actions
flide-0.2.1-py3-none-any.whl Python 3 none any Details for flide-0.2.1-py3-none-any.whl

Release files / flide-0.2.1-py3-none-any.whl

Download URL flide-0.2.1-py3-none-any.whl
Size 6.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
438ba6f0133d323bf3ea3508b4b122b6a2b9f2fe43c509f4de202972555c4a95
BLAKE2b-256 checksum
How to use checksums
db036d8812400fb523e777b5505d0b6d0a317f4c12eb7d037c09a3dc6b22c785
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.13

Security for flide 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page