<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Rocm on tsvinc</title>
		<link>https://tsvinc.dev/tags/rocm/</link>
		<description>Recent content in Rocm on tsvinc</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<lastBuildDate>Sun, 01 Nov 2026 00:00:00 +0000</lastBuildDate>
		
			<atom:link href="https://tsvinc.dev/tags/rocm/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Faster prompts, slower agents: a second engine on the 680M</title>
				<link>https://tsvinc.dev/posts/igpu-faster-prompts-slower-agents/</link>
				<pubDate>Sun, 01 Nov 2026 00:00:00 +0000</pubDate>
				<guid>https://tsvinc.dev/posts/igpu-faster-prompts-slower-agents/</guid>
				<description>&lt;p&gt;&lt;em&gt;Assumes you&#39;ve run a local model behind a coding agent. &lt;a href=&#34;https://tsvinc.dev/posts/igpu-bandwidth-picked-the-model/&#34;&gt;Part 1&lt;/a&gt; has the laptop and why every model here is a mixture-of-experts; &lt;a href=&#34;https://tsvinc.dev/posts/igpu-agent-runs-none-merge-ready/&#34;&gt;part 2&lt;/a&gt; has how the agent runs were graded.&lt;/em&gt;&lt;/p&gt;&#xA;&lt;div class=&#34;tldr&#34;&gt;&#xA;  &lt;span class=&#34;tldr-label&#34;&gt;TL;DR&lt;/span&gt;&#xA;  On a laptop&#39;s integrated Radeon 680M, UnbiasedStrata, an inference engine built around mixture-of-experts models (each token runs through a few expert blocks, a small slice of the parameters), read a 2,048-token prompt 1.4 to 1.5 times as fast as llama.cpp&#39;s Vulkan backend once warm, but only on models whose experts all fit in GPU memory. It generated slower on every model it ran: 52 to 78% of llama.cpp&#39;s speed. Three coding-agent runs on the same model file got the same grades on both engines (2, 3 and 3 out of 5) from part 2&#39;s blind review, which grades the code under a random id. They took longer on Strata: one ran out the two-hour clock, one died on the context limit. Agents spend most of their time generating, so llama.cpp stays the engine for agents on this laptop.&#xA;&lt;/div&gt;&#xA;&#xA;&lt;p&gt;The README of UnbiasedStrata closes its human-written note with &amp;quot;Use at your own risk. Works on my machine.&amp;quot; My machine is a 2022 laptop with a Ryzen 7 PRO 6850U and its integrated Radeon 680M GPU, which has no memory of its own and borrows about 16 GB of the laptop&#39;s 30 GB of RAM. It is not the machine the README means. The engine targets an NVIDIA card with CUDA, and the 680M&#39;s chip, gfx1035, appears nowhere in the build&#39;s list of AMD GPUs, not even among the ones marked &amp;quot;unvalidated&amp;quot;. I read the warning, agreed with it, and built the thing anyway.&lt;/p&gt;</description>
			</item>
			<item>
				<title>120 GiB for the GPU, set in the kernel, not the BIOS</title>
				<link>https://tsvinc.dev/posts/gpu-120gib-in-the-kernel/</link>
				<pubDate>Sat, 10 Oct 2026 00:00:00 +0000</pubDate>
				<guid>https://tsvinc.dev/posts/gpu-120gib-in-the-kernel/</guid>
				<description>&lt;div class=&#34;tldr&#34;&gt;&#xA;  &lt;span class=&#34;tldr-label&#34;&gt;TL;DR&lt;/span&gt;&#xA;  On a Ryzen AI Max+ 395 with 128 GB, set the BIOS&#39;s Dedicated Graphics Memory to its minimum (0.5 G) and raise the TTM limit on the kernel command line: &lt;code&gt;ttm.pages_limit=31457280 ttm.page_pool_size=31457280&lt;/code&gt;. The unit is 4 KiB pages, so that is 120 GiB. Linux then sees 124.9 GiB, and the GPU can map up to 120 GiB of it on demand. &lt;code&gt;amdgpu.gttsize&lt;/code&gt; is deprecated and not needed. A firmware reset (F3, Optimized Defaults) quietly puts the carve-out back to 64 G. With the memory fixed, llama.cpp&#39;s Vulkan backend beat Fedora&#39;s ROCm build on every model tested. The two were different llama.cpp builds, though, and the benchmark&#39;s mean-power column measures something other than efficiency.&#xA;&lt;/div&gt;&#xA;&#xA;&lt;p&gt;The A9 Mega&#39;s setup menu keeps its GPU memory setting under Advanced → GFX Configuration, and it goes from 0.5 G to 96 G. The machine has 128 GB of LPDDR5X soldered to the board, and it was bought to run models whose weights alone are 63 GB. Dedicated Graphics Memory went to 96 G, the top of the list.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
