Skip to content

GPU Sandboxes

View as Markdown

Daytona provides GPU sandboxes for workloads that require NVIDIA GPU acceleration, such as model inference, fine-tuning, and CUDA-accelerated compute.

GPU sandboxes are ephemeral and support up to 16 vCPUs, 192GB RAM, and 512GB disk.

  • NVIDIA H100
  • NVIDIA H200
  • NVIDIA RTX Pro 6000
  • NVIDIA RTX 4090
  • NVIDIA RTX 5090

Daytona provides methods to create GPU sandboxes.

  1. Navigate to Daytona Sandboxes ↗

  2. Click Create Sandbox

  3. Select a GPU snapshot:

    • daytona-gpu
  4. Select ephemeral or set auto-delete interval to 0

  5. Click Create

from daytona import Daytona, CreateSandboxFromSnapshotParams
daytona = Daytona()
sandbox = daytona.create(
CreateSandboxFromSnapshotParams(
snapshot="daytona-gpu",
auto_delete_interval=0
),
)

Daytona provides methods to create GPU sandboxes with custom GPU count and types.

  1. Create a sandbox from an image

  2. Set the auto-delete interval to 0 (ephemeral)

  3. Set the GPU count to the number of GPUs you want

  4. Specify the GPU type(s):

    The GPU type field accepts a single value or an ordered list of preferred types.

    Daytona uses the first available type in the order you provide. This lets you fall back from a preferred GPU to an alternative when the first choice is not available.

    • H100
    • H200
    • RTX-PRO-6000
    • RTX-4090
    • RTX-5090
from daytona import Daytona, CreateSandboxFromImageParams, Image, Resources, GpuType
daytona = Daytona()
sandbox = daytona.create(
CreateSandboxFromImageParams(
image=Image.debian_slim("3.12"),
auto_delete_interval=0,
resources=Resources(
gpu=1,
gpu_type=[GpuType.H100, GpuType.RTX_PRO_6000],
),
)
)