AI
Black Forest Labs FLUNG 8B: Variational Flow Matching Decodes 4.8–6.5 Tokens/Pass—Under CC BY-NC 4.0
Black Forest Labs—the lab behind FLUX—quietly uploaded FLUNG 8B on December 4, 2026 alongside arXiv:2612.06003. Trained from scratch on 1T tokens with variational flow matching, it denoises 128-token blocks in parallel at 4.8–6.5 tokens per forward pass. Here is the full architectural breakdown, early-stopping benchmark trade-offs, and why CC BY-NC 4.0 and a 16K context limit keep it in the lab.
8 min read
Black Forest Labs FLUNG 8B: Variational Flow Matching Decodes 4.8–6.5 Tokens/Pass—Under CC BY-NC 4.0
Executive Summary
On December 3–4, 2026, Black Forest Labs (BFL)—best known for the FLUX image generation models—published its first language model, FLUNG 8B (FLUx + laNGuage), accompanied by the 21-page research paper Towards Training Your Language Flow Model from Scratch (arXiv:2612.06003, authored by Adnen Abdessaied, Ravichandra Addanki, Axel Sauer, Dustin Podell, and Robin Rombach; BFL Research page).
FLUNG 8B is a 7.9-billion-parameter (9.0B including embeddings) non-autoregressive language flow transformer trained from scratch on roughly 1 trillion open-source tokens and post-trained for chat. Instead of generating one token at a time, it initializes a 128-token block in noisy embedding space and refines all 128 positions in parallel via variational flow matching (VFM).
For AI engineers evaluating non-autoregressive decoding, four verified facts frame the release:
- Parallel decoding throughput: With early stopping (
stable_stop, halting once argmax predictions stabilize for 4 consecutive steps), FLUNG 8B decodes 4.8 tokens per forward pass at a 64-step budget and 6.5 tokens per forward pass at 32 steps—within ~2 points of full 64-step denoising across every reported benchmark. - No standard serving stack yet: Uploaded quietly to Hugging Face at 09:17 UTC on December 4 without a BFL blog announcement (
model.safetensors, 18.06 GB BF16), FLUNG 8B ships with three custom Python files (configuration_flung.py,modeling_flung.py,generation_flung.py) and currently has no vLLM, SGLang, GGUF, MLX, or upstream Transformers integration (OrcaRouter). - Short 16K context window: Buried in
generation_flung.py,MAX_CONTEXTis fixed at 16,384 tokens (prompt + reply, with a 2,048-token default reply cap)—far below contemporary 128K–1M open models. - Strictly non-commercial: Released under CC BY-NC 4.0, the model card explicitly states it is "a research artifact... not intended for commercial use or production deployment."
Architecture & How It Works
Standard flow-matching models used in image and video generation rely on a squared-error objective that implicitly assumes a Gaussian observation model—a poor fit for discrete text tokens. In arXiv:2612.06003, BFL researchers replace that Gaussian assumption with variational flow matching (VFM), modeling a categorical distribution and training with a cross-entropy objective guided by an analysis of the noise threshold at which a corrupted embedding starts revealing its underlying token.
flowchart LR
Noise["128-Token Block (Noisy Embedding Space, t=1.0 -> 0.01)"] --> Core["FlungModel (34 Blocks, 3584 Hidden, 56 Heads, SwiGLU)"]
Core --> VFM["Variational Flow Matching + Flow-Map Velocity"]
VFM --> Check{"Argmax Stable for 4 Steps?"}
Check -- "No (Step < 64)" --> Core
Check -- "Yes (Early Stop)" --> Out["Emit 128-Token Block (4.8 - 6.5 Tok/Forward Pass)"]Core Model & Packaging Specifications
| Component | Specification | Engineering Implication |
|---|---|---|
| Model Class & Parameters | FlungModel: 7.9B core (9.0B with embeddings) |
Fits on a single 24 GB GPU in BF16 (18.06 GB model.safetensors) |
| Layer Topology | 34 blocks, 3,584 residual width, 56 attention heads, SwiGLU FFN | Custom architecture requiring trust_remote_code=True (configuration_flung.py) |
| Tokenizer | 151,936-token vocabulary (vocab.json 2.78 MB, Qwen3 tokenizer, Apache 2.0) |
Tokenizer is Apache 2.0, but weights and model code are CC BY-NC 4.0 |
| Block Geometry | block_size: 128, linear time grid to t=0.01, self-conditioning + flow-map velocity |
Denoises 128 positions simultaneously; 16,384-token MAX_CONTEXT |
| Pretraining Corpus | ~1 trillion tokens of open-source data only, post-trained for chat | Smaller pretraining budget than 10T+ open autoregressive peers |
| Serving Support | Author's generate_chat() in PyTorch + Transformers 4.57.6 |
No AutoModelForCausalLM, no vLLM, no SGLang, no GGUF/FP8 |
Repository Anatomy & Why Standard Pipelines Fail
Inspecting the Hugging Face repository reveals why FLUNG 8B cannot be dropped into standard inference servers today:
- Pipeline metadata mismatch: Although the model card declares
pipeline_tag: text-generation, Hugging Face's automated Transformers metadata flags it asfeature-extractionbecauseAutoModelForCausalLMdoes not recognizeFlungModel. - No quantized or sharded variants: The entire checkpoint sits in a single unsharded
model.safetensors(18.06 GB BF16), with zero GGUF, MLX, ONNX, or FP8 builds. - Default sampling parameters: Generation defaults to
temperature=0.3andtop_p=0.9with a 2,048-token reply cap inside the 16,384-token window.
How to Run FLUNG 8B Locally (Research Only)
Inference requires instantiating AutoModel with trust_remote_code=True and invoking BFL's custom generate_chat() method:
import torch
from transformers import AutoModel, AutoTokenizer
repo = "black-forest-labs/flung-8b"
tokenizer = AutoTokenizer.from_pretrained(repo, trust_remote_code=True)
model = AutoModel.from_pretrained(repo, trust_remote_code=True, dtype=torch.bfloat16).to("cuda").eval()
messages = [
{"role": "user", "content": "A train leaves at 9:40 and arrives at 13:15. How long is the trip in minutes?"}
]
# Default: 64 steps per 128-token block with early stop n=4 (~4.8 tok/pass)
out = model.generate_chat(messages, tokenizer)
print(out["text"])
# Faster setting: 32 steps with early stop (~6.5 tok/pass)
fast = model.generate_chat(messages, tokenizer, steps=32)
print(fast["text"])
Benchmarks, Cost & Latency Analysis
All published FLUNG 8B scores come from BFL's own paper and Hugging Face model card (averaged over three seeds, zero-shot, with MT-Bench judged by GPT-4.1). As OrcaRouter notes, no independent third-party benchmark runs or community reproductions exist yet.
Vendor-Reported Quality vs. Early-Stopping Speed
| Benchmark | 64 Steps (Full) | 64 Steps + Early Stop (~4.8 tok/pass) | 32 Steps + Early Stop (~6.5 tok/pass) | Notes |
|---|---|---|---|---|
| GSM8K | — | 87.9% | 88.5% | Saturated for 8B-class models in late 2026 |
| MATH | 51.0% | 50.5% | 49.7% | -0.8 pt drop for 35% more tokens/pass |
| HumanEval | 71.7% | 70.7% | 70.3% | -1.4 pt drop from full 64-step to 32-step ES |
| MBPP | 57.7% | 56.5% | 56.1% | MBPP+ reaches 60.8% (per OrcaRouter review) |
| IFEval | — | 76.0% | 75.6% | Instruction following |
| MT-Bench | 5.78 | 5.68 | 5.71 | GPT-4.1-as-judge (self-reported) |
What the Benchmarks Do—and Do Not—Prove
- Strong retention under parallel decoding: Dropping from 64 full steps (2.0 tok/pass) to 64 steps with early stopping (4.8 tok/pass) and 32 steps with early stopping (6.5 tok/pass) sacrifices only ~1.0–1.6 points on
MATH,HumanEval, andMBPPfor a 2.4x–3.25x reduction in forward passes. In a controlled 1B experiment on identical data, tokenizer, and compute, BFL shows variational flow matching degrades far less under aggressive parallel decoding than discrete diffusion baselines (Sigma 8B,LLaDA 8B,LLaDA 1.5 8B,iLLaDA 8B-thinking,d1-LLaDA 8B,Dream 7B, andSTP 8B, alongsideLLaMA3 8BandOLMo 3 7Bas autoregressive references). - Missing head-to-head 8B autoregressive baseline: BFL explicitly scopes its claim to "competitive with open-source discrete diffusion models," not beating modern 8B autoregressive models trained on 10T+ tokens. The card omits
MMLU-Pro,GPQA,AIME,LiveCodeBench, and long-context retrieval tests. - 13x distillation is a paper result, not in this repo: While
arXiv:2612.06003demonstrates that flow models can be distilled for up to 13x speedups over the full model, theblack-forest-labs/flung-8brepository contains only the undistilled 7.9B checkpoint. - Throughput caveat under batching: Parallel block denoising shines at batch size 1 on a single GPU, where autoregressive models are memory-bandwidth-bound. Under high-concurrency batched serving (where vLLM/SGLang saturate tensor cores), 32–64 forward passes per 128 tokens can lose their wall-clock advantage unless custom continuous-batching kernels are built.
Production Deployment & Trade-Offs
Who Should Download FLUNG 8B
- Non-autoregressive & diffusion-LLM researchers: If you study discrete diffusion (
LLaDA,Dream) versus continuous/variational flow matching (VFM),FLUNG 8Bis currently the most capable open flow-based language checkpoint available to inspect and benchmark on a single 24 GB GPU. - Speculative & parallel decoding architects: Studying how
stable_stopearly-exit criteria interact with block-size geometry (128tokens) offers a clean reference for non-autoregressive inference loops.
Ecosystem Comparison: Research Artifact vs. Production Open Weights
As OrcaRouter highlights in comparing FLUNG 8B against Qwen3.8-27B (which logged 4.6 million monthly downloads under Apache 2.0 with a 262,144-token context and vLLM/SGLang/TokenSpeed support), the contrast is less about raw benchmark wins and more about supply-chain readiness. FLUNG 8B demonstrates how many tokens per forward pass a non-autoregressive flow model can sustain, whereas Apache 2.0 peers like Gemma 4 12B, Granite Switch 4.1 8B, and Qwen3.8-27B ship with quantized builds, full serving integrations, and commercial deployment rights.
Why Production Teams Should Skip It Today
- CC BY-NC 4.0 prohibits commercial use: Unlike
Gemma 4 12B,Granite Switch 4.1 8B,Qwen3.8-27B, orQwen4-35B-A3B(all Apache 2.0), FLUNG 8B cannot be legally deployed in commercial products or hosted APIs—and BFL has not announced a paid commercial license tier for FLUNG as it did for FLUX. - No serving ecosystem or quantization: Without
vLLM,SGLang,llama.cppGGUF, ortransformersgenerate()support, integrating FLUNG 8B into existing OpenAI-compatible backends requires writing and maintaining custom Python serving wrappers. - 16K context & 2K reply limit: Modern RAG, coding, and agentic pipelines routinely exceed 16,384 tokens, making FLUNG 8B unsuitable as a general-purpose worker model.
What Would Make FLUNG 8B Production-Ready
Four concrete milestones would turn FLUNG 8B from an experimental paper artifact into a deployable dependency: independent non-vendor benchmark evaluations, an upstream Hugging Face transformers and vLLM implementation, 4-bit quantized weights to reduce the 18.06 GB BF16 footprint, and a commercial licensing tier.
FAQ
1. What is FLUNG 8B?
FLUNG 8B (FLUx + laNGuage) is Black Forest Labs' first language model—a 7.9B-parameter (9.0B with embeddings) non-autoregressive variational flow matching transformer trained from scratch on ~1T open-source tokens, released alongside arXiv:2612.06003.
2. How fast does FLUNG 8B decode tokens?
With its stable_stop early-exit sampler, FLUNG 8B averages 4.8 tokens per forward pass at 64 steps and 6.5 tokens per forward pass at 32 steps, decoding 128-token blocks in parallel.
3. Can I use FLUNG 8B commercially or in production?
No. Both the weights and custom model code are licensed under CC BY-NC 4.0, and the Hugging Face model card explicitly states it is a research artifact not intended for commercial use or production deployment.
4. Does FLUNG 8B work with vLLM, SGLang, or Ollama?
No. As of December 5, 2026, FLUNG 8B has no vLLM, SGLang, GGUF, MLX, or native AutoModelForCausalLM integration; it must be run via AutoModel.from_pretrained(..., trust_remote_code=True) and model.generate_chat().
5. What is FLUNG 8B's context window?
MAX_CONTEXT in generation_flung.py is 16,384 tokens (prompt plus reply), with a default reply budget of 2,048 tokens.
Sources
- black-forest-labs/flung-8b Model Card — Hugging Face (Published December 4, 2026 — Primary)
- Towards Training Your Language Flow Model from Scratch — arXiv:2612.06003 (Submitted December 3, 2026 — Primary)
- FLUNG: Towards Training Your Language Flow Model from Scratch — Black Forest Labs Research (Published December 3, 2026 — Primary)
- FLUNG 8B: A Text Model From the FLUX Lab, Unannounced — OrcaRouter (Published December 4–5, 2026 — Secondary)
- FLUNG 8B vs Qwen3.8-27B: 4.8 Tokens a Pass, No Context — OrcaRouter (Published December 5, 2026 — Secondary)
- black-forest-labs/flung-8b Summary — TLDR (Published December 3, 2026 — Secondary)