SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2412.09871 · 2024

Byte Latent Transformer: Patches Scale Better Than Tokens

arXiv · PDF · Open in the Atlas

Code that ran

16 of 22 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 4 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 11 failures of our instrument; 6 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2412.09871.json · badge: /api/ran/2412.09871.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
facebookresearch/blt canonical (classifier label)
classifier basis: census
16 ran · 6 no recorded run
FunctionStatusWhere it lives
attention_flops_per_token Ran
ran, honoured the contract we drafted
facebookresearch/blt/bytelatent/model/blt.py
pointer only (licence: NONE) · get_code("26ff74d6538ab161")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, facebookresearch/blt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

causal_mask Ran
ran, violated the contract we drafted
facebookresearch/blt/bytelatent/model/blt.py
pointer only (licence: NOASSERTION) · get_code("09761695b9f13821")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, facebookresearch/blt (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

convert_to_bytes Ran
ran; our contract draft was wrong, not the code
facebookresearch/blt/bytelatent/tokenizers/blt_tokenizer.py
pointer only (licence: NOASSERTION) · get_code("5a9d087d5195cea8")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, facebookresearch/blt (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

cross_entropy Ran
ran; our contract draft was wrong, not the code
facebookresearch/blt/bytelatent/base_transformer.py
pointer only (licence: NONE); the stored copy get_code serves, from facebookresearch/lst, is pointer only (licence: NOASSERTION) · get_code("1d34daf1ab8748db")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, facebookresearch/blt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_num_flop_per_token Ran
ran, honoured the contract we drafted
facebookresearch/blt/bytelatent/model/blt.py
pointer only (licence: NONE) · get_code("5e36da6fe12b04f3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, facebookresearch/blt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_pydantic_default_args Ran
ran; our contract draft was wrong, not the code
facebookresearch/blt/bytelatent/config_parser.py
pointer only (licence: NOASSERTION) · get_code("c5734202cfd3e300")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, facebookresearch/blt (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_rng_state Ran
ran; our contract draft was wrong, not the code
facebookresearch/blt/bytelatent/args.py
pointer only (licence: NONE); the stored copy get_code serves, from facebookresearch/lst, is pointer only (licence: NOASSERTION) · get_code("1d8b97adda18ea42")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, facebookresearch/blt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

named_replace Ran
ran; our contract draft was wrong, not the code
facebookresearch/blt/bytelatent/float8.py
pointer only (licence: NONE); the stored copy get_code serves, from facebookresearch/lst, is pointer only (licence: NOASSERTION) · get_code("aaa4b37e564944fe")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, facebookresearch/blt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

precompute_freqs_cis Ran
ran, honoured the contract we drafted
facebookresearch/blt/bytelatent/base_transformer.py
pointer only (licence: NONE); the stored copy get_code serves, from facebookresearch/lst, is pointer only (licence: NOASSERTION) · get_code("1775c1f6cd5bd79c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, facebookresearch/blt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

recursively_parse_config Ran
ran; our contract draft was wrong, not the code
facebookresearch/blt/bytelatent/config_parser.py
pointer only (licence: NONE); the stored copy get_code serves, from facebookresearch/lst, is pointer only (licence: NOASSERTION) · get_code("ff8e64af8f92c325")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, facebookresearch/blt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

repeat_kv Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
facebookresearch/blt/bytelatent/base_transformer.py
pointer only (licence: NONE); the stored copy get_code serves, from facebookresearch/lst, is pointer only (licence: NOASSERTION) · get_code("705c70c44ddc8080")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, facebookresearch/blt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

sample_tokens Ran
ran; our contract draft was wrong, not the code
facebookresearch/blt/bytelatent/generate.py
pointer only (licence: NONE); the stored copy get_code serves, from facebookresearch/lst, is pointer only (licence: NOASSERTION) · get_code("294621d07f3c12f0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, facebookresearch/blt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

sample_top_k Ran
ran; our contract draft was wrong, not the code
facebookresearch/blt/bytelatent/generate.py
pointer only (licence: NONE); the stored copy get_code serves, from facebookresearch/lst, is pointer only (licence: NOASSERTION) · get_code("5b1313e8dd2cbcfa")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, facebookresearch/blt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

sample_top_p Ran
ran; our contract draft was wrong, not the code
facebookresearch/blt/bytelatent/generate.py
pointer only (licence: NONE); the stored copy get_code serves, from facebookresearch/lst, is pointer only (licence: NOASSERTION) · get_code("2f2141ad0c4f3dbd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, facebookresearch/blt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

scale Ran
ran; our contract draft was wrong, not the code
facebookresearch/blt/bytelatent/float8.py
pointer only (licence: NONE); the stored copy get_code serves, from facebookresearch/lst, is pointer only (licence: NOASSERTION) · get_code("2848341791f9a450")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, facebookresearch/blt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

text2bytes_bpe_delims Ran
ran, honoured the contract we drafted
facebookresearch/blt/bytelatent/tokenizers/blt_tokenizer.py
pointer only (licence: NOASSERTION) · get_code("0febe46155d9d826")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, facebookresearch/blt (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

consolidate_checkpoints Not yet run
unverified (harvested, no recorded run)
facebookresearch/blt/bytelatent/checkpoint.py
pointer only (licence: NONE); the stored copy get_code serves, from facebookresearch/lst, is pointer only (licence: NOASSERTION) · get_code("f20a2b559a7b8775")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, facebookresearch/blt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

dist_max Not yet run
unverified (harvested, no recorded run)
facebookresearch/blt/bytelatent/distributed.py
pointer only (licence: NONE); the stored copy get_code serves, from facebookresearch/lst, is pointer only (licence: NOASSERTION) · get_code("75d20eeaeb19679a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, facebookresearch/blt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

dist_min Not yet run
unverified (harvested, no recorded run)
facebookresearch/blt/bytelatent/distributed.py
pointer only (licence: NONE); the stored copy get_code serves, from facebookresearch/lst, is pointer only (licence: NOASSERTION) · get_code("f766bed8cc55159b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, facebookresearch/blt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_device_mesh Not yet run
unverified (harvested, no recorded run)
facebookresearch/blt/bytelatent/distributed.py
pointer only (licence: NONE); the stored copy get_code serves, from facebookresearch/lst, is pointer only (licence: NOASSERTION) · get_code("ebf689175ca08206")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, facebookresearch/blt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

matmul Not yet run
unverified (harvested, no recorded run)
facebookresearch/blt/bytelatent/float8.py
pointer only (licence: NONE); the stored copy get_code serves, from facebookresearch/lst, is pointer only (licence: NOASSERTION) · get_code("30e68c9cadfddd32")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, facebookresearch/blt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

parse_file_config Not yet run
unverified (harvested, no recorded run)
facebookresearch/blt/bytelatent/config_parser.py
pointer only (licence: NONE); the stored copy get_code serves, from facebookresearch/lst, is pointer only (licence: NOASSERTION) · get_code("8751ebfdda7f9c83")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, facebookresearch/blt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 22 samples lifted from this paper's linked repositories, 22 carry a function identity and 0 do not. Of the 22 distinct functions with an identity, 18 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 5 the same month, 18 later) and 4 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
dist_max 4 other papers
1 the same month, 3 later
2412.09764 (2024-12)
Memory Layers at Scale
2503.18866 (2025-03)
Reasoning to Learn from Latent Thoughts
2506.14761 (2025-06)
From Bytes to Ideas: Language Modeling with Autoregressive U-Nets
and 1 more not named here
get_device_mesh 4 other papers
1 the same month, 3 later
2412.09764 (2024-12)
Memory Layers at Scale
2503.18866 (2025-03)
Reasoning to Learn from Latent Thoughts
2506.14761 (2025-06)
From Bytes to Ideas: Language Modeling with Autoregressive U-Nets
and 1 more not named here
matmul 3 other papers
1 the same month, 2 later
2412.09764 (2024-12)
Memory Layers at Scale
2503.18866 (2025-03)
Reasoning to Learn from Latent Thoughts
2510.06195 (2025-10)
Latent Speech-Text Transformer
named_replace 3 other papers
1 the same month, 2 later
2412.09764 (2024-12)
Memory Layers at Scale
2503.18866 (2025-03)
Reasoning to Learn from Latent Thoughts
2510.06195 (2025-10)
Latent Speech-Text Transformer
scale 3 other papers
1 the same month, 2 later
2412.09764 (2024-12)
Memory Layers at Scale
2503.18866 (2025-03)
Reasoning to Learn from Latent Thoughts
2510.06195 (2025-10)
Latent Speech-Text Transformer
attention_flops_per_token 2 other papers
1 dated earlier, 1 later
2312.16682 (2023-12)
Some things are more CRINGE than others: Iterative Preference Optimization with the Pairwise Cringe Loss
2605.20670 (2026-05)
LT2: Linear-Time Looped Transformers
cross_entropy 2 other papers
1 dated earlier, 1 later
2312.16682 (2023-12)
Some things are more CRINGE than others: Iterative Preference Optimization with the Pairwise Cringe Loss
2510.06195 (2025-10)
Latent Speech-Text Transformer
sample_top_k 2 other papers
1 dated earlier, 1 later
2404.08801 (2024-04)
Megalodon: Efficient LLM Pretraining and Inference with Unlimited Context Length
2510.06195 (2025-10)
Latent Speech-Text Transformer
consolidate_checkpoints 1 other paper
1 later
2510.06195 (2025-10)
Latent Speech-Text Transformer
dist_min 1 other paper
1 later
2510.06195 (2025-10)
Latent Speech-Text Transformer
get_num_flop_per_token 1 other paper
1 later
2605.20670 (2026-05)
LT2: Linear-Time Looped Transformers
get_rng_state 1 other paper
1 later
2510.06195 (2025-10)
Latent Speech-Text Transformer
parse_file_config 1 other paper
1 later
2510.06195 (2025-10)
Latent Speech-Text Transformer
precompute_freqs_cis 1 other paper
1 later
2510.06195 (2025-10)
Latent Speech-Text Transformer
recursively_parse_config 1 other paper
1 later
2510.06195 (2025-10)
Latent Speech-Text Transformer
repeat_kv 1 other paper
1 later
2510.06195 (2025-10)
Latent Speech-Text Transformer
sample_tokens 1 other paper
1 later
2510.06195 (2025-10)
Latent Speech-Text Transformer
sample_top_p 1 other paper
1 later
2510.06195 (2025-10)
Latent Speech-Text Transformer

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

We introduce the Byte Latent Transformer (BLT), a new byte-level LLM architecture that, for the first time, matches tokenization-based LLM performance at scale with significant improvements in inference efficiency and robustness. BLT encodes bytes into dynamically sized patches, which serve as the primary units of computation. Patches are segmented based on the entropy of the next byte, allocating more compute and model capacity where increased data complexity demands it. We present the first FLOP controlled scaling study of byte-level models up to 8B parameters and 4T training bytes. Our results demonstrate the feasibility of scaling models trained on raw bytes without a fixed vocabulary. Both training and inference efficiency improve due to dynamically selecting long patches when data is predictable, along with qualitative improvements on reasoning and long tail generalization. Overall, for fixed inference costs, BLT shows significantly better scaling than tokenization-based models, by simultaneously growing both patch and model size.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2412.09871")
get_code_for_paper("2412.09871")
have("2412.09871")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2412.09871.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2412.09871.svg)](https://syntology.ai/paper/2412.09871)

Connect an agent — have() is free.