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.

By 0xScorPionSon

8 min read

Black Forest Labs FLUNG 8B: Variational Flow Matching Decodes 4.8–6.5 Tokens/Pass—Under CC BY-NC 4.0

BFL FLUNG 8B Flow LLM infographic showing 128-token noisy input, 34-layer FlungModel core, variational flow denoising at 4.8 tokens per pass, and CC BY-NC 4.0 shield

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_CONTEXT is 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 as feature-extraction because AutoModelForCausalLM does not recognize FlungModel.
  • 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.3 and top_p=0.9 with 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

  1. 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, and MBPP for 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, and STP 8B, alongside LLaMA3 8B and OLMo 3 7B as autoregressive references).
  2. 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.
  3. 13x distillation is a paper result, not in this repo: While arXiv:2612.06003 demonstrates that flow models can be distilled for up to 13x speedups over the full model, the black-forest-labs/flung-8b repository contains only the undistilled 7.9B checkpoint.
  4. 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 8B is 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_stop early-exit criteria interact with block-size geometry (128 tokens) 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

  1. CC BY-NC 4.0 prohibits commercial use: Unlike Gemma 4 12B, Granite Switch 4.1 8B, Qwen3.8-27B, or Qwen4-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.
  2. No serving ecosystem or quantization: Without vLLM, SGLang, llama.cpp GGUF, or transformers generate() support, integrating FLUNG 8B into existing OpenAI-compatible backends requires writing and maintaining custom Python serving wrappers.
  3. 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

  1. black-forest-labs/flung-8b Model Card — Hugging Face (Published December 4, 2026 — Primary)
  2. Towards Training Your Language Flow Model from Scratch — arXiv:2612.06003 (Submitted December 3, 2026 — Primary)
  3. FLUNG: Towards Training Your Language Flow Model from Scratch — Black Forest Labs Research (Published December 3, 2026 — Primary)
  4. FLUNG 8B: A Text Model From the FLUX Lab, Unannounced — OrcaRouter (Published December 4–5, 2026 — Secondary)
  5. FLUNG 8B vs Qwen3.8-27B: 4.8 Tokens a Pass, No Context — OrcaRouter (Published December 5, 2026 — Secondary)
  6. black-forest-labs/flung-8b Summary — TLDR (Published December 3, 2026 — Secondary)

More on AI

AI

Axel Labs Runs Unmodified 748B DeepSeek-V4.1-Flash on a Single RTX 4090: Architecture, Benchmarks, and Trade-Offs

Axel Labs demonstrated an unmodified 510.3 GB FP8/MXFP4 checkpoint of DeepSeek-V4.1-Flash-1017 running on a single 24 GB NVIDIA RTX 4090 paired with an AMD EPYC 9534 CPU and 468.1 GiB of resident host RAM. Across self-reported tests, the custom Axel Engine achieved 78.76 tok/s average decode on a 6,862-token SVG generation task, 42.81 tok/s across 18 short coding and prose prompts, and accurate 127,993-token retrieval with a 196.90-second time to first token. This analysis examines the memory split, hardware constraints, and production caveats.

9 min read

AI

DeepSeek AI Systemic Risk Policy: L1–L3 Release Tiers, Bare-Model Testing, and When Frontier Weights Stay Closed

DeepSeek published its AI Systemic Risk Management Policy Summary in December 2026, formalizing L1–L3 capability tiers across cyber, CBRN, manipulation, and loss-of-control risks. While reaffirming its commitment to MIT-licensed open weights, the policy mandates guardrail-free testing for downloadable checkpoints and bars L3 frontier weights unless red-line analysis proves a safety margin.

8 min read

Tell us what is not working

A thirty-minute call, no deck and no obligation. You will leave with a straight answer about whether this is worth building - including if that answer is no.

Start a project

Direct line

hello@codebumble.net
Dhaka, Bangladesh  :   local timeCalls in English or Bangla