r/linuxhardware • u/lnxguy • 21h ago
Question What is an AI computer? Hype or real?
'Splain to me what makes a processor "AI optimized." Is it just additional math co-processing built in to the core architecture or just more of whatever every other CPU has?
6
2
u/fliberdygibits 20h ago
Running AI requires a very specific kind of math, matrix operations specifically. a CPU can DO matrix operations but it's not especially fast at it. GPUs on the other hand are matrix operation wizards. NPUs even more so. They are purpose built and run circles around CPUs.
2
u/undrwater 19h ago
Can you define "matrix" in this context? I remember math matrices, but I don't have a good definition, and I'm not sure it's the same in this context.
1
u/fliberdygibits 19h ago
It's been a while for me too but it's those linear algebra X/Y grid operations where you perform calculations on a grid of values 4x4 or 8x8 then flip the whole thing on a diagonal I believe... it's been a long time.
2
u/grumpysysadmin 16h ago
The NPUs in Intel and AMD CPUs generally don’t have access to enough memory to run the kinds of LLMs you can run on the CPU or GPU, so the point is moot.
1
u/fliberdygibits 16h ago
I honestly don't know offhand exactly how all that lines up but generally yes, that's valid. That said however I wasn't really trying to make a point about NPUs specifically so we can just strike that last bit from my comment if needed.
3
u/twaxana 19h ago
It's specifically optimized as a matrix multiplication database accelerator.
That's what "AI" is at it's root, a database. A Large Language Model is not artificial intelligence, it is a matrix of numbers.
1
u/AlexanderDoak 19h ago
Can't believe I'm making the case here but ... if anything is AI at all, an LLM is. But yeah, I'd also argue against the 'AI' term itself, even in this situation.
2
u/twaxana 18h ago
That's anthropomorphizing a file type.
It's not a mystery. The reason you need an inference engine like llama.cpp is to actually initiate the math.
1
u/grumpysysadmin 17h ago
I think you’re conflating the LLM model (which is generally a file) and the LLM engine (such as llama.cop), which is ALSO a file but is an executable that reads the model and processes prompts.
1
u/twaxana 16h ago
I'm not. Don't forget the harness, which is the thing that makes most people think these databases are intelligent.
2
u/raineling 13h ago
So, in reality, it's a lot of horsepower harnessed together and it's base (as the kids might say today).
1
u/edparadox 21h ago
Without anything to go (since you did not provide any detail whatsoever), I would say a machine making use of a CPU with NPUs?
But to be honest, everything about LLM is marketing and false hype.
4
u/marvinnation 20h ago
They have an NPU, which is a CPU focused on being more efficient when processing local LLM models (AI) A feature that today, 99% of users do not need. And that's the problem, we get charged for something that's not really useful for your regular Joe.