Top
Best
New

Posted by syrusakbary 4 hours ago

GigaToken: ~1000x faster Language model tokenization(github.com)
227 points | 45 commentspage 2
zerolines 2 hours ago|
wow, best release all week.
semiinfinitely 2 hours ago||
quite excellent software
vmware508 1 hour ago|
We should just rewrite everything in Rust, especially bloated Python code, and the world would be a better place. ;) Disclosure: I'm a Rust advocate!
minimaxir 1 hour ago||
Both the example libraries compared (tokenizers and tiktoken) are Rust-based with Python bindings. There's just a few levers in Rust that can speed it up even more particularly with LLM assistance as the AI Use Discloure here notes:

> Final profiling stages and the last ~4x worth of performance from eliminating branching and improving the pretoken cache hierarchy

SOLAR_FIELDS 1 hour ago|||
1 year ago everyone would have called you insane for suggesting this. Now we all shrug and say yeah maybe we can do this and it’s actually a good idea?
weberer 1 hour ago||
We should rewrite all Rust code in Python. Not for any technical reason. I'm just sick of the Rust cult at this point.