Good news for those who want to start image generation AI but are giving up because Grabo is expensive, even with an inexpensive APU, it is possible to allocate a large amount of VRAM and generate images



Image generation AI such as Stable Diffusion can be installed on your own machine and run locally. However, the ``graphic board with large capacity VRAM'' required for comfortable image generation is one of the most expensive PC parts, so many people should give up image generation due to budget constraints. The AI-related YouTube channel 'Tech-Practice' has reported a new verification result that images could be generated at a practical speed even with an inexpensive APU.

Democratize AI: turn a $95 chip into a 16GB VRAM GPU! Beats most of the discrete GPUs! | by Ttiotech | Aug, 2023 | Medium

https://medium.com/@ttio2tech_28094/51a8636a4719

Democratize AI: turn a $95 chip into a 16GB VRAM GPU! Beats most of the discrete GPUs.Demo of AI app - YouTube


The VRAM capacity of the graphic board is important when trying to generate images with Stable Diffusion. If you use a graphic board with a large amount of VRAM, you can generate high-resolution images, and if you use a graphic board with a small amount of VRAM, you may not be able to load model data and generate images.

High-end graphics boards tend to have more VRAM capacity, and high-end graphics boards are more expensive. For example, if you search Amazon.co.jp for 'GeForce RTX 4060 Ti' with 16GB of VRAM, you can see that even a cheap model is sold for about 80,000 yen.



Since the graphics board uses the memory chip placed on the board as VRAM, it is not possible to add VRAM by standard means. On the other hand, the APU, which combines the CPU and GPU on the same chip, uses the main memory attached to the motherboard as VRAM, so it is possible to change the VRAM capacity according to the situation, and the main memory capacity is sufficient. It is also possible to allocate 16GB of VRAM to the APU if you have one. Therefore, Tech-Practice allocated 16GB of VRAM to AMD's APU '

Ryzen 5 4600G ' and verified the comfort of image generation by Stable Diffusion.



As a result of generating an image with Stable Diffusion using Ryzen 5 4600G with settings of `` resolution 512 × 512 pixels '' and `` number of steps 50 '', it was said that it succeeded in generating one image in about 1 minute 50 seconds.



At the time of article creation, Ryzen 5 4600G is sold at Amazon.co.jp for 20,787 yen including tax. When using a graphic board, it is necessary to purchase a CPU in addition to an expensive GPU, but in the case of an APU, you only need to purchase the APU, so the cost of building a machine can be greatly reduced.

Amazon | AMD Ryzen™ 5 4600G, 6 Core, 12 Thread Unlocked Desktop Processor with Wraith Stealth Cooler. | AMD | CPU mail order



At the time of writing the article, 'Ryzen 5 5600G', which has higher CPU performance than Ryzen 5 4600G, is sold at Amazon.co.jp for 17,980 yen including tax, so it is also ant to select Ryzen 5 5600G. .

Amazon | AMD Ryzen 5 5600G with Wraith Stealth cooler 3.9GHz 6 cores / 12 threads 70MB 65W 100-100000252BOX 3 years warranty [parallel import goods] | AMD | CPU mail order



in Hardware, Posted by log1o_hf