News for hackers. Stuff that matters.
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by eightysixfour on Wednesday October 16, 2024 @05:21PM (#41863959)
It isn't as fun as you think - they are setup for specific use cases and quite small. Here's a link to the software page: https://ryzenai.docs.amd.com/en/latest/index.html

The teeny-tiny "NPU," which is actually an FPGA, is 10 TOPS.

Edit: I've been corrected, not an FPGA, just an IP block from Xilinx.

Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by wtallis on Wednesday October 16, 2024 @05:30PM (#41864036)
It's not a FPGA. It's an NPU IP block from the Xilinx side of the company. It was presumably originally developed to be run on a Xilinx FPGA, but that doesn't mean AMD did the stupid thing and actually fabbed a FPGA fabric instead of properly synthesizing the design for their laptop ASIC. Xilinx involvement does not automatically mean it's an FPGA.
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by boomskats on Wednesday October 16, 2024 @05:40PM (#41864111)
Do you have any more reading on this? How come the XDNA drivers depend on Xilinx' XRT runtime?
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by wtallis on Wednesday October 16, 2024 @06:03PM (#41864296)
It would be surprising and strange if AMD didn't reuse the software framework they've already built for doing AI when that IP block is instantiated on an FPGA fabric rather than hardened in an ASIC.
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by boomskats on Wednesday October 16, 2024 @06:46PM (#41864630)
Well, I'm irrationally disappointed, but thanks. Appreciate the correction.
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by almostgotcaught on Wednesday October 16, 2024 @05:55PM (#41864232)
because XRT has a plugin architecture: XRT<-shim plugin<-kernel driver. The shims register themselves with XRT. The XDNA driver repo houses both the shim and the kernel driver.
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by boomskats on Wednesday October 16, 2024 @06:43PM (#41864611)
Thanks, that makes sense.
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by eightysixfour on Wednesday October 16, 2024 @05:33PM (#41864064)
Thanks for the correction, edited.
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by boomskats on Wednesday October 16, 2024 @05:33PM (#41864062)
Yes, the one on the ryzen 7000 chips like the 7840u isn't massive, but that's the last gen model. The one they've just released with the HX370 chip is estimated at 50 TOPS, which is better than Qualcomm's ARM flagship that this post is about. It's a fivefold improvement in a single generation, it's pretty exciting.

A̵n̵d̵ ̵i̵t̵'̵s̵ ̵a̵n̵ ̵F̵P̵G̵A̵ It's not an FPGA

Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by almostgotcaught on Wednesday October 16, 2024 @05:56PM (#41864248)
> And it's an FPGA.

nope it's not.

Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by boomskats on Wednesday October 16, 2024 @07:26PM (#41864925)
I've just ordered myself a jump to conclusions mat.
Re:AI PCs Aren't Good at AI: The CPU Beats the NPU by almostgotcaught on Wednesday October 16, 2024 @07:51PM (#41865072)
Lol during grad school my advisor would frequently cut me off and try to jump to a conclusion, while I was explaining something technical often enough he was wrong. So I did really buy him one (off eBay or something). He wasn't pleased.