Rust tokenizer hits 8.27 GB/s, far outpacing Hugging Face tokenizers in parallel tests
deliprao · x · 2026-07-25
A benchmark on an Apple M4 Max shows a huge tokenizer throughput gap in parallel workloads.
- Gigatoken (Rust-optimized) reaches 8.27 GB/s on GPT-2 tokenization over a 12 GB dataset.
- tiktoken hits 61.5 MB/s.
- HF tokenizers comes in at just 6.2 MB/s.
The post argues that Rust-based tokenizers can behave dramatically better than Python-based stacks when parallel throughput matters.
More from Infra
- NVIDIA says Nemotron 3 Ultra hit 97.1% on agentic RTL chip-design tasks — NVIDIAAI · 2026-07-27
- Local Qwen models power a robot that tests 78 smartphones’ battery life — gappyvalley · 2026-07-27
- MiniBot 2.40 adds xAI, HF Studio and vLLM support with inline media tools — Creative-Type9411 · 2026-07-27
- Apple smart glasses, Nvidia-SK AI data center deal, and Ctrip’s RMB 5.179 billion fine headline a tech roundup — APPSO · 2026-07-27
- DeepSeek funding rumor, EU AI transparency rules and OpenAI agent incident make a packed AI news roundup — 创业邦 · 2026-07-27
- QuixiCore argues native quantized kernels beat dequant-then-generic execution — QuixiAI · 2026-07-27