<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Vulkan on tsvinc</title>
		<link>https://tsvinc.dev/tags/vulkan/</link>
		<description>Recent content in Vulkan on tsvinc</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<lastBuildDate>Tue, 13 Oct 2026 00:00:00 +0000</lastBuildDate>
		
			<atom:link href="https://tsvinc.dev/tags/vulkan/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Mistral-Small-4 ran one matmul on the CPU, and said nothing</title>
				<link>https://tsvinc.dev/posts/mistral-small-4-one-matmul-on-cpu/</link>
				<pubDate>Tue, 13 Oct 2026 00:00:00 +0000</pubDate>
				<guid>https://tsvinc.dev/posts/mistral-small-4-one-matmul-on-cpu/</guid>
				<description>&lt;p&gt;A slow local model has an obvious diagnosis: it is too big for the box. Drop to a smaller quant, or a smaller model, and move on.&lt;/p&gt;&#xA;&lt;p&gt;On the A9 Mega that diagnosis was wrong twice in one afternoon. Mistral-Small-4 generated 3.4 tokens per second, with the model loaded on the GPU and llama-bench sitting at about 300 % CPU. MiniMax-M2.7 held the GPU at 100 % busy for hours and drew about 40 W doing it.&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>
