Advanced GPU examples
See the CLI examples for pending GPU capacity, cancellation acceptance, successful status, and program-log formatting. These fictional outputs do not establish GPU validation for these examples.
Start with the one-GPU example in the GPU guide. The examples here are for controlled capacity and integration tests.
The camera integration also needs LLM inference access and is restricted to an approved single-tenant imaging environment.
| Example | Status | Purpose |
|---|---|---|
cuda-multi.yaml | Approval required | Starts four concurrent one-GPU jobs. |
cuda-burst.yaml | Approval required | Starts ten short one-GPU jobs. |
cuda-service.yaml | Validation pending | Starts a long-running service with one GPU. |
vllm-camera.yaml | Single-tenant experimental | Checks one GPU, LLM inference, and Capture Request create/cancel acceptance. |
Each GPU component requests one shared access token with gpuRequest: true.
The Standard Plan template permits 16 concurrent GPU accesses and 16 CPUs per
Tenant. Existing Tenants retain their enrolled limits unless a platform administrator
increases their effective capacity. cuda-burst.yaml requires at least ten GPU
accesses and ten CPUs; a Run exceeding the effective Tenant budget is rejected
before acceptance. Thor continues to advertise four shared GPU access tokens, so
additional GPU Pods wait for tokens to become available.
Runs that fit the Tenant budget can remain Pending while other work holds
Tenant capacity or the cluster has fewer free GPU access tokens than requested.
Do not resubmit them with new idempotency keys. Cancel long-running services after
collecting their logs:
dphi> run cancel YOUR_RUN_ID
dphi> run wait YOUR_RUN_ID
For vllm-camera.yaml, uplink the script first:
dphi> storage uplink default docs/examples/gpu/gpu-vllm-camera.py examples/gpu-vllm-camera.py
dphi> run create docs/examples/gpu/vllm-camera.yaml --idempotency-key gpu-vllm-camera-001