flung-8b Flow-Based Text Generation Language Model: 24GB+ VRAM

flung-8b Flow-Based Text Generation Language Model: 24GB+ VRAM

At a Glance

Item Value
Repository black-forest-labs/flung-8b
Publisher guide Black Forest Labs: models and licenses
Published 2026-12-04
License cc-by-nc-4.0
Formats safetensors
Paper arXiv:2612.06003
Source type Primary source (the publisher itself)

Values determined by this site’s code when the information was collected. Dates are JST.

Overview

Black Forest Labs has released “FLUNG 8B", a language model that applies the flow model underpinning the FLUX image generation model to text generation. Rather than generating text sequentially one token at a time like traditional autoregressive language models, it adopts an approach where 128-token blocks are drafted collectively as noise and refined in parallel.

According to the abstract of the paper detailing this model’s technology, “Towards Training Your Language Flow Model from Scratch“, it was developed with the aim of advancing language flow models from a proof-of-concept stage to a practical option for general-purpose language modeling. Trained entirely from scratch using open-source datasets, it is reported to achieve performance competitive with open-source discrete diffusion models in mathematical reasoning, code generation, and instruction following, while maintaining quality even under aggressive parallel decoding environments.

Specifications

  • Number of parameters: 7.9B (9.0B including embedding layers)
  • Architecture: FlungModel (Language flow transformer)

Performance

Zero-shot generation benchmark measurement results derived from the paper, as stated in the model card (average of 3 seeds, sampler settings: temperature 0.3, top-p 0.9), are as follows. Early Stop (ES) is a setting where denoising is terminated when block argmax readings do not change for 4 consecutive steps.

→ Scroll horizontally to see all columns

Steps tok/fwd Math / GSM8K Math / MATH Code / HE Code / HE+ Code / MBPP Code / MBPP+ Alignment / IFEval Alignment / MT-Bench
64 + ES (default) 4.8 87.9 50.5 70.7 65.7 56.5 60.8 76.0 5.68
64 2 88.9 51.0 71.7 67.1 57.7 62.7 76.3 5.78
32 + ES 6.5 88.5 49.7 70.3 65.7 56.1 61.9 75.6 5.71
32 4 89.1 50.3 70.5 65.9 56.8 62.5 76.1 5.64

According to the model card description, the default setting “64 + ES" decodes 4.8 tokens per forward pass, and the “32 + ES" setting decodes 6.5 tokens per forward pass in parallel. According to reports from the publishers, even in environments with a reduced number of sampling steps at 32 steps or when applying early stopping, score drops across all benchmarks are kept within 2 points compared to full 64-step denoising.

It records 87.9–89.1 on GSM8K, which tests grade-school level math word problems, and 49.7–51.0 on MATH, which handles high school to competition-level math problems. HumanEval (HE), which measures the implementation accuracy of short Python functions, stands at 70.3–71.7, and MBPP, which solves Python programming tasks, stands at 56.1–57.7, demonstrating that equivalent performance is maintained even when reducing the number of steps.

In addition, it records 75.6–76.3 on IFEval, which measures the ability to follow output format instructions. MT-Bench, which measures conversational quality, ranges from 5.64 to 5.78, showing stability where scores do not drastically collapse overall even when aiming for acceleration.

Strengths and Use Cases

FLUNG 8B is primarily designed for non-commercial research into language flow models and non-autoregressive parallel text generation. Unlike traditional autoregressive models, it adopts a method of generating and refining 128-token blocks collectively from noise, demonstrating high suitability for general language tasks such as mathematical reasoning, code generation, instruction following, and conversational processing.

Training for this model was conducted entirely from scratch using open-source datasets, consuming a total of approximately 1T tokens. According to published materials, the training pipeline was constructed through the following stages:

  • Pre-training: Conducted using approximately 0.82T tokens including web data, code, and mathematical data.
  • Mid-training: Continued training with 200B tokens adding higher-quality web, code, mathematical data, and instruction data.
  • Supervised Fine-Tuning (SFT): 4.7B tokens incorporating code, mathematics, instruction following, conversation, science, and safety were injected.
  • Distillation: Guidance distillation and flow-map step distillation were applied to enable sampling with low iterations of 32–64 steps per 128-token block.
  • Preference tuning: Following offline DPO (Direct Preference Optimization), alignment was performed using online GRPO (Generative Representative Policy Optimization) with rewards obtained from unit tests, correct reference answers, constraint checkers, and LLM judges.

Major training data sources listed include Nemotron-CC, Nemotron pre-training code and math sets, FinePDFs-Edu, FineMath, Dolma 3 Dolmino, OpenMathInstruct-2, OpenCodeInstruct, Nemotron post-training sets, Tülu 3, and SmolTalk. Note that the training data itself is not bundled with the model distribution.

The following limitations are explicitly stated as intended uses and precautions for use:

  • Restriction to Research: Positioned as a research artifact intended for non-commercial research purposes on language flow models and non-autoregressive generation, and commercial use or deployment in production environments is out of scope.
  • Output Accuracy and Safety: Like general language models of the same scale, it may generate plausible-sounding incorrect statements, incomplete code, and faulty reasoning. Use in areas where erroneous or harmful outputs could cause damage without human review should be avoided.
  • Supported Languages: Trained primarily focusing on English text and code, and performance regarding languages other than English has not been evaluated.

Hardware Requirements

Estimated requirements (calculated by Local Model Watch) — 9.0B parameters

Your VRAM Quantization File size Est. memory needed
24GB (RTX 4090 / 3090, etc.) BF16 16.8GB 20.2GB

Inference engine support (architecture name matched against each project’s own model registry in its source code, checked 2026-12-05): llama.cpp: not registered, vLLM: not registered, MLX (mlx-lm): not registered. “Not registered" means the name is absent from that registry today, not that the model cannot run.

Memory estimates add a 20% runtime overhead (KV cache, etc.) to the actual size of the distributed files. Actual usage varies with context length, batch size and inference engine. These figures are computed by this site from file sizes, not published by the model’s authors. Compare with other models in our VRAM quick reference. What the quantization names mean: glossary.

Can You Run It Locally?

Not usable in Ollama, LM Studio and llama.cpp yet.

The publisher ships safetensors only, and llama.cpp’s registry does not list this architecture. llama.cpp would need to add support before these tools can run it. 1 converted build(s) from other uploaders exist. Today it can be run with transformers, using the memory figures in the table above.

License — cc-by-nc-4.0 (Commercial use prohibited): Commercial use is prohibited (NC = NonCommercial). Internal business use can also count as commercial, so avoid this license for work use.

Compiled by this site’s code from the published formats, converted builds we have found, and each engine’s own model registry. “Not found" means we have not seen such a build, not that none exists. License summaries are not legal advice — check the publisher’s original terms before relying on them.

Our Own Measurements

Measurements We Did Not Take

This model’s license (cc-by-nc-4.0) does not permit commercial use. Because this site carries advertising, we did not run the model (no CPU run, answers, quantization comparison, conversion or generation).

Recent Models in the Same Size Class

Models with 4–15B parameters that Local Model Watch covered recently, listed by code from our article log for comparison. VRAM tiers are this site’s estimates; licenses are as stated on the model cards.

→ Scroll horizontally to see all columns

Model Parameters Smallest VRAM tier License Our article
Efficient-Large-Model/Agentic-LongLive-Planner-Qwen3-8B 8.2B 24GB apache-2.0 Agentic-LongLive-Planner-Qwen3-8B: Our Test Answers, 24GB+ VRAM (2026-12-02)
allenai/DR-Tulu2-4B 4.5B 12GB apache-2.0 DR-Tulu2-4B Text Generation Model: Our Test Answers (2026-12-01)
AtomicChat/CCORE-Web-Coder-4B-GGUF 4.5B 4GB apache-2.0 CCORE-Web-Coder-4B-GGUF: Our Test Answers, 4GB+ VRAM (2026-11-28)
microsoft/UserRepGen-4B 4.5B 4GB mit UserRepGen-4B Text Generation Model: Our Test Answers, 4GB+ VRAM (2026-11-17)
IFM/Jais-3-7B-GGUF 9.0B 8GB apache-2.0 Jais-3-7B-GGUF Text Generation Model: Our Test Answers, 8GB+ VRAM (2026-11-17)

How to Get It

The model weights for FLUNG 8B are published in safetensors format on the Hugging Face black-forest-labs/flung-8b repository. The CC BY-NC 4.0 license applies, and it is available exclusively for non-commercial research purposes. No preliminary terms of service agreement (gating feature) is set on Hugging Face, allowing anyone to download it directly.

Because this model’s architecture includes custom code (custom_code), trust_remote_code=True must be specified when executing inference. Furthermore, execution environments require torch and Hugging Face transformers (verified with 4.57.6).

An example code snippet for executing conversational generation from a Python environment using the Transformers library is as follows:

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?"}]
out = model.generate_chat(messages, tokenizer)  # デフォルトでは128トークンブロックあたり64ステップ、early stop n=4
print(out["text"])

# 呼び出しごとにサンプリング設定を上書きすることも可能です
fast = model.generate_chat(messages, tokenizer, steps=32, stable_stop=0, max_new_tokens=512, seed=1973)

As shown above, sampling parameters such as the number of steps (steps), early stopping threshold (stable_stop), and maximum generated tokens (max_new_tokens) can be precisely specified to control behavior via the generate_chat method.

Other Models for the Same Task

Recent text generation models covered by Local Model Watch, newest first. Grouped by the task each publisher declares on Hugging Face (pipeline_tag); the smallest VRAM tier is this site’s estimate.

See all text generation models →

What to Read Next

Sources