Live data from Hacker News

Llm.c – LLM training in simple, pure C/CUDA

github.com

11–20 of 189 posts

Re: Llm.c – LLM training in simple, pure C/CUDA

#13
post #3
post #2

> LLM training in simple, pure C/CUDA. There is no need for 245MB of PyTorch or 107MB of cPython

Python has been popular for this because it’s convenient to quickly hack on and experiment with, not because it’s the most efficient thing.

The overhead really isn't that bad is it? Since the the python code is mostly about saying multiply matrix A with matrix B, and then that actual computation is done by optimized low level code.

Re: Llm.c – LLM training in simple, pure C/CUDA

#18
post #2

> LLM training in simple, pure C/CUDA. There is no need for 245MB of PyTorch or 107MB of cPython

107MB of cPython defeated Go to try for self Step 1 download 2.4GB of CUDA

The size of CUDA really is astonishing. Any chance someone might figure out how to slim that down?
Post reply on HN