gpt-oss-120b in a Linux container generated as many as 41.6 tokens per second on an AMD Strix Halo mini PC. In a separate Windows 11 test, the same model produced 31.7 tokens per second on an Asus ROG Flow Z13 with the same processor and memory capacity. That doesn’t make the container faster than bare metal: XDA’s Joe Rice-Jones used different inference software and prompts on the two machines. But it does answer the more useful question for a home lab: can a shared Proxmox node serve a large local model without feeling slow enough to justify a dedicated box? In this case, yes.
Share the AMD GPU without assigning it to a VM
The Proxmox host was a Bosgame M5 with a Ryzen AI Max+ 395, Radeon 8060S integrated graphics, and 128 GB of unified memory. Lemonade Server ran as a service in an unprivileged Debian 13 LXC, configured with 12 CPU cores, a 112 GB memory limit, and no swap. The same node also handled DNS, a reverse proxy, and other containers.
The key difference from conventional PCIe passthrough is where the driver runs. A VM has its own kernel; an LXC shares the Proxmox host’s Linux kernel. In this setup, the host kept control of the GPU, and ROCm userspace in the container reached the host driver through exposed device files. Rice-Jones mapped /dev/kfd, /dev/dri/renderD128, and /dev/dri/card0 using pct set on the host after his API request returned HTTP 403. AMD’s container documentation identifies /dev/kfd as the compute interface and explains how individual render nodes can narrow GPU access without exposing the entire /dev/dri directory.
The three node names describe this machine, not a universal checklist. So does the 0666 mode Rice-Jones used, which grants read and write access to every user in the container. Proxmox’s device mapping supports explicit uid, gid, and mode settings, so start with the access the Lemonade service account actually needs. Keeping the LXC unprivileged is worthwhile, but it doesn’t give GPU workloads the separate kernel boundary of a VM.
Check the backend before blaming the container
The clearest comparison was not Proxmox versus Windows. It was Vulkan versus ROCm on the same container. In Rice-Jones’s Qwen3.5-9B tests, switching the llama.cpp backend made a much bigger difference than anything the cross-machine results could establish.
| Qwen3.5-9B in the Debian LXC | Vulkan | ROCm |
|---|---|---|
| Generation speed, long chat output | 10.7 tok/s | 33.0 tok/s |
| Time to first token, code-debug test | 5,261 ms | 495 ms |
| Reported GPU memory use | 0.2 GB | 6.7 GB |
On that installation, low GPU memory usage was the clue that Vulkan wasn’t making much use of the Radeon. Rice-Jones selected ROCm explicitly and saved it for future loads. Lemonade’s CLI documentation confirms the backend selector and persistence flag.
lemonade load Qwen3.5-9B-GGUF --llamacpp rocm --save-options
Saved options are per model. Setting ROCm for Qwen didn’t prevent gpt-oss-120b from later auto-loading with Vulkan and generating at about 13 tok/s. Check the server log after an automatic load: in the version Rice-Jones tested, the status display reported llamacpp without distinguishing the two backends. If you already have a custom context size or other saved options, check those before saving again; Lemonade’s API documentation says a saved load replaces the model’s stored options with the supplied set.
With ROCm, the container ran the MXFP4 gpt-oss-120b at 41.6 tok/s with a 9,344-token context and 36.2 tok/s with a 21,532-token prompt. The Windows 11 tablet’s 31.7 tok/s result came from Ollama with ROCm and a short prompt. The LXC had also produced just 19 tok/s in late August through a model router, before the October runs; the GPU mapping stayed the same, but the software changed, so the gain can’t be pinned on a particular update.
Nor is ROCm always the winner. On a separate bare-metal Ryzen AI Halo mini PC, Rice-Jones measured Qwen3-Coder-30B-A3B at 90.1 tok/s on Vulkan and 69.5 tok/s on ROCm. In the LXC, that model initially managed only 7.6 tok/s on Vulkan. If you want to measure the cost of the container itself, hold the machine, model file, backend build, prompt, and context settings constant. Track time to first token as well as generation speed: a model can stream quickly once it starts and still leave you waiting for the first word. Lemonade’s benchmark command reports those separately.
Budget unified memory for the whole host
The Bosgame’s BIOS originally reserved 64 GB for the GPU. Rice-Jones reduced the fixed reservation to 512 MB and adjusted ttm.pages_limit on the Proxmox host, reporting that the GPU could then draw up to about 100 GB from system memory as needed. The smaller model used roughly 7 GB and gpt-oss-120b about 60 GB; unloading them freed memory for other work. AMD’s Strix Halo Linux guidance also favors a small fixed reservation and a larger shared pool. One detail worth checking before copying any boot setting: the kernel parameter is measured in pages, not gigabytes. AMD identifies /sys/module/ttm/parameters/pages_limit as the place to read the effective host value.
That flexibility is what made one Lemonade endpoint practical for a search service, a Discord bot, and a coding workspace over the local bridge. ZFS snapshots also gave Rice-Jones a rollback point for two Lemonade upgrades, both of which preserved his settings. But when he kept gpt-oss-120b and a second model loaded, the container reached 111.8 GB of its 112 GB limit, wouldn’t stop, and he had to reboot the host.
For a mixed-use Proxmox node, the better acceptance test is whether the model stays responsive at your real context lengths while the rest of the lab is busy. Start with one resident model, confirm the backend after a reload, and measure memory before adding another. A few extra tokens per second are nice. Keeping DNS up while your coding assistant is thinking is nicer.
References
- Running local LLMs in a Proxmox LXC is closer to bare metal than you’d think XDA · 2026-11-23T01:01:21+00:00
- Run ROCm Docker containers — AMD ROCm 10.1.0 rocm.docs.amd.com
- Running ROCm Docker containers — ROCm installation (Linux) rocm.docs.amd.com