Skip to content

Using the GPU

When you create a workspace you choose how it accesses the GPU. The available modes depend on what your admin has enabled on the server.

The workspace gets no GPU access. Suitable for data preparation, CPU-only inference, or when all GPUs are in use and you want to queue work.

Your workspace gets exclusive use of one or more entire physical GPUs - all of their memory and compute. No other workspace shares those GPUs while yours is running.

Set the GPU count with the number input. The form shows how many whole GPUs are free right now and your policy cap. If the count you request exceeds what’s free, you can still create the workspace; LabPod will grant the GPUs when you click Start and they are available.

One physical GPU is shared among multiple workspaces simultaneously. Your workspace is given a hard VRAM limit and a soft compute time share. Work-conserving: if the GPU is otherwise idle, your workspace can use more compute than its share; the limit is only enforced under contention.

When configuring, you set:

  • GPU memory limit - hard cap in MB on how much VRAM your processes can allocate.
  • Compute limit (%) - your share of the GPU’s compute time, up to your policy maximum.

Only available if your admin has enabled this mode on the server. The workspace detail page shows a VRAM bar so you can see how close you are to the limit.

A hardware-partitioned slice of an A100 or H100 GPU with its own dedicated memory and compute engines - physically isolated, not just a software limit. Your workspace gets exclusive use of that slice.

Slices are pre-configured by your admin. Each slice has a profile name like 1g.10gb (1 GPU instance, 10 GB memory). The form shows which slice sizes have free slots. This mode is only available if the server has MIG-capable GPUs and your admin has provisioned slices.

The workspace creation form offers a Light / Medium / Heavy picker that selects the best available mode automatically:

Use caseWhat it picks
Light - notebook, small model, quick experimentsSmallest available GPU slice or smallest shared GPU fraction
Medium - fine-tuning, mid-size inferenceLarger shared GPU fraction or a whole GPU if no sharing is available
Heavy - training a large model, long-running jobsA whole GPU

For precise control, expand Advanced: pick exact GPU mode inside the form.

Terminal window
nvidia-smi # see the GPU, VRAM, running processes
python -c "import torch; print(torch.cuda.is_available())"

With a shared GPU, nvidia-smi reports the full card but your processes are subject to the VRAM cap set at workspace creation. You can view current VRAM usage on the workspace detail page.

LabPod sets the container’s /dev/shm to half the workspace memory limit (rather than Podman’s default of 64 MB). This means:

  • torch.utils.data.DataLoader(num_workers > 0) works without Bus error.
  • Single-container multi-GPU DDP training over NCCL’s shared-memory transport works without extra flags.