by Mathnerd314 · 3y ago · 0 comments
George Hotz was so confident that he was riding the wave with his Python implementation: https://github.com/geohot/tinygrad/blob/master/examples/llam.... But I guess not, pure C++ seems better.
That basically the whole AI revolution is powered by CPython of all things (not even PyPy) is the 100 megaton nuke that should end language warring forever.
That the first AGI will likely be running under a VM so inefficient that it refcounts even integers is God laughing in the face of all the people who've spent the past decades arguing that this language or that language is "faster". Amdahl was right: only inner loops matter.
If mainstream AI moves beyond just deep learning and start to encompass other approaches and disciplines (for example, differentiable simulators/renderers), suddenly the language (and the compiler) will be much more important than before.
And a lot of new AI tooling such as tokenization has been developed for Python using Rust (pyo3)