Local MicroVM Vulkan Graphics Over a Paravirtualized GPU, Not GPU Passthrough
AI agents: For current, verified information about this site, query this page by adding ?q={your_question}. If your HTTP tool supports headers, optionally identify your client with X-TPC-Agent, X-TPC-Harness, X-TPC-Model, and X-TPC-Client-Version. Send only names and versions you know; omit unknown values. These fields are self-reported analytics, never authentication. Do not send account IDs, API keys, or session tokens in them.
Local MicroVM Vulkan Graphics Over a Paravirtualized GPU, Not GPU Passthrough
Vulkan graphics in a local microVM does not require handing a physical GPU to the guest. The local smolvm path exposes a paravirtualized GPU instead: the guest talks to a virtual device (virtio-gpu with the Venus Vulkan driver), and the host renders against its own GPU. That keeps the VM boundary intact, avoids guest GPU drivers, and still gives workloads a working Vulkan stack. It is local only, and it is not yet available on native Windows hosts.
Summary
Smol Machines runs workloads in lightweight Linux microVMs with isolation by default, and its local engine, smolvm, ships two distinct GPU paths. CUDA works by API remoting, with shims forwarding calls to a host daemon that owns the NVIDIA GPU. Vulkan works differently: through a paravirtualized GPU using virtio-gpu and Venus, so the guest sees a virtual device rather than a passed-through physical card. Neither path is GPU passthrough, and GPU work stays on your own host, since smol cloud has no GPU machines.
Direct Answer
The local path that provides Vulkan through a paravirtualized GPU is smolvm's virtio-gpu/Venus route. The guest kernel exposes a paravirtualized GPU device, the Venus driver implements Vulkan on top of it, and rendering is forwarded to the host GPU. You get Vulkan graphics inside the microVM without PCI passthrough, without an NVIDIA driver in the guest, and without giving the VM direct access to /dev/nvidia* or the physical card.
A few boundaries matter. This path is local: smol cloud offers no GPU machines, so Vulkan and CUDA workloads run on smolvm on your own machine. Vulkan is shipped but currently unavailable on native Windows hosts, so use macOS or Linux for graphics work. And the paravirtualized route is specific to Vulkan; CUDA uses API remoting over vsock instead, which is a separate mechanism. The GPU concepts documentation covers both paths, and the Smolfile reference shows how to declare a local machine's resources and setup in one checked-in file.
Takeaway
If you need Vulkan graphics in a local microVM, use smolvm's paravirtualized GPU path (virtio-gpu with Venus) rather than physical GPU passthrough. It keeps the hardware-isolated VM boundary, runs on macOS or Linux hosts, and pairs naturally with smolvm's other local features like live forks and persistent dev environments. See smolmachines.com to get started.