Get all your news in one place.
100’s of premium titles.
One app.
Start reading
Tom’s Hardware
Tom’s Hardware
Technology
Zhiye Liu

$95 AMD CPU Becomes 16GB GPU to Run AI Software

Ryzen CPU

The newer Ryzen 5 5600G (Cezanne) has replaced the Ryzen 5 4600G (Renoir) as one of the best CPUs for gaming. However, a trick has breathed new life into the Ryzen 5 4600G, transforming the budget Zen 2 APU into a 16GB graphics card to run AI applications on Linux.

Not everyone has to budget to buy or rent a Nvidia H100 (Hopper) to experiment with AI. With the current demand for AI-focused graphics cards, you may be unable to access one even if you have the money. Luckily, you don't need an expensive H100, an A100 (Ampere), or one of the best graphics cards for AI. One Redditor demonstrated how a Ryzen 5 4600G retailing for $95 can tackle different AI workloads.

The Ryzen 5 4600G, which came out in 2020, is a hexa-core, 12-thread APU with Zen 2 cores that operate with a base and boost clock of 3.7 GHz and 4.2 GHz. The 65W chip also wields a Radeon Vega iGPU with seven compute units clocked up to 1.9 GHz. Remember that APUs don't have dedicated memory but share system memory. You can determine the amount of memory inside the motherboard’s BIOS. In this case, the Redditor had 32GB of DDR4 and allocated 16GB to the Ryzen 5 4600G. Typically, 16GB is the maximum amount of memory you can dedicate to the iGPU. However, some user reports claim that certain ASRock AMD motherboards allow for higher memory allocation, rumored up to 64GB.

The trick converts the Ryzen 5 4600G into a 16GB "graphics card," flaunting more memory than some of Nvidia's latest GeForce RTX 40-series SKUs, such as the GeForce RTX 4070 or GeForce RTX 4070 Ti, which are limited to 12GB. Logically, the APU doesn't deliver the same performance as a high-end graphics card, but at least it won't run out of memory during AI workloads, as 16GB is plenty for non-serious tasks.

AMD's Radeon Open Compute platform (ROCm) doesn't officially support Ryzen APUs. Third-party companies, such as BruhnBruhn Holding, offer experimental packages of ROCm that'll work with APUs. That means APUs can work with PyTorch and TensorFlow frameworks, opening the gate to most AI software. We wonder if AMD's latest mobile Ryzen chips, like Phoenix that taps into DDR5 memory, can work and what kind of performance they bring.

The Redditor shared a YouTube video claiming that the Ryzen 5 4600G could run a plethora of AI applications, including Stable Diffusion, FastChat, MiniGPT-4, Alpaca-LoRA, Whisper, LLM, and LLaMA. Unfortunately, he only provided demos for Stable Diffusion, an AI image generator based on text input. He doesn't detail how he got the Ryzen 5 4600G to work with the AI software on his Linux system. The YouTuber has vouched to release a thorough video of the setup process. 

As for the performance, the Ryzen 5 4600G only took around one minute and 50 seconds to generate a 512 x 512-pixel image with the default setting of 50 steps. It's an excellent result for a $95 APU and rivals some high-end processors. The author said he used DDR4 memory but didn't list the specifications. Although the Ryzen 5 4600G natively supports DDR4-3200, many samples can hit DDR4-4000, so it would be fascinating to see AI performance scaling with faster memory.

The experiment is fantastic for those who own a Ryzen 5 4600G or Ryzen 5 5600G and want to play around with AI. For those who don't, throwing $500 into an APU build doesn't make much sense when you can probably get a discrete graphics card that offers better performance. For instance, AMD's Radeon 16GB graphics cards start at $499, and Nvidia recently launched the GeForce RTX 4060 Ti 16GB, which has a similar starting price.

Sign up to read this article
Read news from 100’s of titles, curated specifically for you.
Already a member? Sign in here
Related Stories
Top stories on inkl right now
One subscription that gives you access to news from hundreds of sites
Already a member? Sign in here
Our Picks
Fourteen days free
Download the app
One app. One membership.
100+ trusted global sources.