3 ms·
Ask HN: Is it time to run the LLM engines on the CPU?
- dtagames 1mo agoYou always could. It's just slower and less efficient because most of what a model query needs to do is matrix multiplication and the GPU is optimized for that.
- bigyabai 1mo agoIt depends, how much coal are you comfortable burning?
- roschdal 1mo agoIn the future we could have CPUs which are better suited for llms, with GPU-like properties built in.
- bigyabai 1mo agoYou're reinventing the CISC wheel that Apple, Google and Nvidia all abandoned. x86 already has AVX accelerators that are a huge help for LLM inference speed and efficiency. It's just not enough, only the absolute weakest iGPUs are slower than AVX inference. The majority of consumer hardware would benefit from pipelining AI workloads through the GPU, especially on Apple Silicon and other ARM hardware that has borderline nonexistent SIMD support. ARM will be ideologically opposed to expanding CPU-side SIMD, and x86 is already buckling under the weight of modern AVX (see: AVX-512 issues).
- janwas 1mo agoNot sure what this comment is based on. Arm introduced a scalable SIMD whose whole point is to be expandable. AVX-512 works very well, for example on Zen 4 and 5.
- janwas 1mo agoThe future is already partially here: see the recent "do we still need gpus" article.
- anotherCodder 1mo ago[flagged]
- modgate 1mo ago[flagged]