toks runs its tokenizer in pure assembly: 1.8 GB/s on 8 Zen 5 cores

cephaloform · x · 2026-10-07

actualinc's toks implements most of its computation in pure assembly, encoding a 16 MiB input at 1.6 GB/s on 8 GB10 cores and 1.8 GB/s on 8 Zen 5 cores — with exactly the ids of one serial call, i.e. parallelized without changing tokenization output.

Related event: Actual Releases Assembly-Based Tokenizer toks, Up to 151x Faster Than Hugging Face(3 posts)→

Original post →

More from Infra

Infra channel →