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

Earlier news

Quick start

Flide runs on an NVIDIA GPU under Linux or Windows WSL2. See the docs for every model, images, the API and all options.

uv venv -p 3.12 && source .venv/bin/activate
uv pip install flide torchvision
flide serve --model OmniJev/OneJev1.6-0.8B

Any model in the model table starts the same way, for example Perplexity's decision model.

flide serve --model perplexity-ai/pplx-decider-flash-v1.2

Every one of them answers this request.

curl http://localhost:8000/v1/systemone -H "Content-Type: application/json" -d '{
  "state": "Order #1182 arrived with a cracked screen. The customer asks for a refund and attached two photos.",
  "questions": {
    "action": {"type": "choice", "instructions": "What should support do next?",
               "criteria": {"refund": "refund the order", "replace": "send a replacement", "escalate": "ask a human"}},
    "urgent": {"type": "noul", "instructions": "Does this need a reply within the hour?"}
  }
}'

Flide also comes as a Docker image. The image holds no model. Models download into the mounted Hugging Face cache, and another model only needs a different --model. The host needs only the NVIDIA driver (580 or newer; omnijev/flide:cu126 runs on older drivers).

mkdir -p ~/.cache/huggingface
docker run --gpus all -p 8000:8000 --user $(id -u):$(id -g) -v ~/.cache/huggingface:/data/hf omnijev/flide serve --model OmniJev/OneJev1.6-0.8B

On a cluster without Docker, Apptainer runs the same image.

mkdir -p ~/.cache/huggingface ~/.cache/flide
apptainer build flide.sif docker://omnijev/flide
apptainer run --nv --cleanenv --bind ~/.cache/huggingface:/data/hf --bind ~/.cache/flide:/data/triton flide.sif serve --model OmniJev/OneJev1.6-0.8B

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, and OneJev against qev, the engine it used before Flide. 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.7× ~1.1× ~1.0×
Copernicus text 1.4× 2.0× 1.4×
d1 text, images ~1.6× ~1.3× ~1.1×
d3 text, images ~5.0× ~1.5× ~1.8×
Darwin text ~1.4× ~4.2× ~1.2×
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 ~7.9× ~1.5× ~1.7×
KnowLine text, images ~1.4× ~4.3× ~1.5×
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 ~4.3× ~2.8× ~1.8×
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×
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×
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 Qwen3.5 in FP8 on Ada, Hopper and Blackwell GPUs
--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.1.19

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.1.19
File Interpreter ABI Platform Actions
flide-0.1.19-py3-none-any.whl Python 3 none any Details for flide-0.1.19-py3-none-any.whl

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

Download URL flide-0.1.19-py3-none-any.whl
Size 7.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
a29872b96b34a0494b606da00afb036ddabb7b0e06246799b6176984663fa7a4
BLAKE2b-256 checksum
How to use checksums
f0843f5e3cfcd12012737091cce603ca24e1534f6c680819ed6877461209314d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Security for flide 0.1.19

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