[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
▼ Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: 1750004605261385.png (655 KB, 1080x1302)
655 KB PNG
Absolute tech retard here, can some explain to me, in tard terms, why AI and AI corpos need GPUs in particular this had and everyone is stocking on Nvida? Why don't/can't AI use CPU?
Also, apparently RAM too?
>>
>>110479498
Ask AI
>>
>>110479514
Never used one
>>
Great question! Let's break it down simply.

AI is just a giant pile of numbers. Running or training it means multiplying huge grids of numbers together billions of times. It's simple math, just an absurd amount of it, and none of it depends on the step before.

A CPU has a few very smart cores built for step-by-step work where each step depends on the last: your OS, browser, game logic. A GPU has thousands of dumb cores that all multiply at once. AI math is the GPU kind of problem, so a GPU finishes in minutes what takes a CPU weeks. AI can run on a CPU, just 10-100x slower.

NVIDIA wins on Tensor Cores built only for this math, and CUDA: for 20 years all AI software has been written for NVIDIA, so rival chips can't run it without a rewrite.

RAM matters because the numbers have to live somewhere and reach the cores fast. Too little and the model doesn't fit; too slow and the cores sit waiting. Training needs 4-8x the model's size in memory.
>>
>>110479498
It used to work well on CPU, but since every model now has to have image capabilities they need GPU.
>>
>>110479560
Shut the fuck up, clanker
>>
Gonna necrobump with a half-right answer:

GPU and RAM are the fastest memory available on your computer (GPU being the fastest). For AI to do its thing, it needs fast memory. When AI runs out of GPU memory, it will use the next fastest memory on the system, which is your RAM. Now scale this up to data centers that cost more than some country's GDPs, and you can see why. Big players secure flash memory supply in advance from fabs like TSMC, making present available memory more of a comodity than it once was. And yeah, some models can offload to CPU, but it's not as fast as the faster memory the AI wants to use.
>>
Just for the record there are small AI models that run on CPUs and they most likely vastly outnumber gpu models in use by a significant margin, they're commonly used for cctv systems and color pattern recognition among other things.
>>
>>110479498
They don't, its quite literally a scam
>>
>>110479552
Do you use Google?
>>
>>110479498
It turns out that parallelism on CPUs is actually kind of a big fat fucking lie. Enter GPUs. The end.
>>
Every processor exists on a general <-> specialized spectrum. The more specialized, the faster and more efficient.
CPUs are the most general, they can do anything.
GPUs are less general, they can't run a OS by themselves, but they are fast for parallel math tasks like 3d graphics or AI.
Dedicated chips (like a video decoder) is much smaller and faster but can only do one single task (such as decoding 8k video)

The later is the problem for nvidia now, its very much possible and not THAT hard to design chips for AI (especially inference), basically every company is trying to, google, openAI, amazon, spaceX, broadcom etc. Just like how bitcoin went from GPU mining to ASICs.
Their own chips don't even need to be that good, because nvidia takes a 400% profit margin.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.