<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Coder Legion - Recent posts tagged passthrough</title>
<link>https://coderlegion.com/tag/passthrough</link>
<description>Powered by Question2Answer</description>
<item>
<title>What is GPU Passthrough?</title>
<link>https://coderlegion.com/27968/what-is-gpu-passthrough</link>
<description>&lt;p&gt;GPU passthrough is a virtualisation method used to directly assign a physical graphics processing unit to a single VM, ultimately bypassing the virtualisation software layers like the &lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.nvidia.com/vgpu/index.html&quot;&gt;NVIDIA Virtual GPU (vGPU)&lt;/a&gt; manager. In this configuration, the physical hardware is accessed exclusively by the driver running inside that specific VM and is not shared with other environments. While a single VM can be assigned multiple physical GPUs depending on hypervisor limits, individual physical GPUs cannot simultaneously host virtual GPUs and perform passthrough.&lt;/p&gt;
&lt;p&gt;This architectural limitation creates challenges for local development setups. For instance, I was trying to run a simple Kubernetes cluster through Docker Desktop on my Apple Silicon Macbook and I had encountered a now obvious hardware limitation because macOS container runtimes operates inside a Linux VM via the Hypervisor framework. This setup cannot natively pass through the Apple Silicon GPU using Metal to containers. As a result, running even a simple, small &lt;code&gt;qwen2.5:7b&lt;/code&gt; model relied entirely on CPU software inference, which easily maxed-out the processor cores and caused noticeable performance bottlenecks. Like, I was unable to perform even the most basic tasks with this local model.&lt;/p&gt;
&lt;p&gt;To address hardware isolation and GPU utilisation constraints in production environments, tools like Edera allow direct &lt;strong&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.edera.dev/guides/gpu/nvidia-passthrough/&quot;&gt;NVIDIA&lt;/a&gt;&lt;/strong&gt; and &lt;strong&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.edera.dev/guides/gpu/amd-passthrough/&quot;&gt;AMD&lt;/a&gt;&lt;/strong&gt; GPU passthrough into isolated Edera zones. By configuring hardware identifiers in the protect daemon, binding devices to the appropriate drivers, and launching zones with dedicated kernel variants, users can run GPU-accelerated workloads and verify hardware access directly through utilities like &lt;code&gt;nvidia-smi&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Bryan Steiner has a really useful tutorial for GPU passthrough, if this is interesting to readers:&lt;br&gt;
&lt;a rel=&quot;nofollow&quot; href=&quot;https://github.com/bryansteiner/gpu-passthrough-tutorial&quot;&gt;https://github.com/bryansteiner/gpu-passthrough-tutorial&lt;/a&gt;&lt;/p&gt;
</description>
<category>Articles</category>
<guid isPermaLink="true">https://coderlegion.com/27968/what-is-gpu-passthrough</guid>
<pubDate>Mon, 21 Sep 2026 14:40:10 +0000</pubDate>
</item>
</channel>
</rss>