How to share Nvidia GPUs that don’t support MIG and vGPU isn’t an option
shambu.bearblog.dev·11h
Flag this post
  • 15 Nov, 2025 *

I recently had to build a system to share two Nvidia L40S GPUs (each with 48 GB of memory) among a group of users. The L40S does not support MIG (Multi-instance GPU) as it was designed as a PCIe-only GPU. Therefore, hardware slicing an individual GPU was not an option. Nvidia’s vGPU was another option, but it would require separate per-GPU or per-user licensing, which did not make sense for a small academic setup.

How can I share a couple of GPUs with a small group of users without MIG, using vGPU, and at the same time without giving everyone root access on the host?

The TLDR answer is:

Genv for soft GPU partitioning and enforcement

Docker for per-user environments

Some XFS tricks for disk quotas

A lot of glue scripts

This post walks you through wh…

Similar Posts

Loading similar posts...