Skip to main content

FAQ — GPU

Where is the GPU page in the console?​

There is none: you choose the GPU in the wizard of the resource that uses it.

  • VM: VM Instances > Create an Instance, Configuration step, Hardware Acceleration (GPU) section; or Edit on an existing VM.
  • Kubernetes: Kubernetes > Create cluster (or Edit), Nodes step, GPU section of a node group.

Which GPU models are available?​

ModelMemoryUse cases
NVIDIA L40S48 GBInference, rendering, prototyping
NVIDIA A100 80GB80 GBML training, scientific computing
NVIDIA H100 80GB80 GBTraining and inference of large models
NVIDIA RTX 6000 Pro96 GBLLM, intensive computing

The selector shows all models; those with no free unit left are marked Unavailable.


Why is a model marked Unavailable?​

All its units are assigned to other workloads. The console does not show the number of free units. Try again later, choose another model, or contact sales@hidora.io for a capacity requirement.


Can I put several GPUs on a VM?​

Yes: click a card then use + to add GPUs of the same model, or select several models. All of them must be free on the same physical server; otherwise, creation fails with The following GPUs are not available: ….


What is the difference between a GPU on a VM and a GPU on Kubernetes?​

AspectGPU on VMGPU on Kubernetes
AccessGPU dedicated to the VMGPU assigned to pods by the scheduler
DriversTo be installed in the OS (cloud-init or manually)Installed by the GPU Operator addon
SharingNoYes, with the HAMi addon
Use casesWorkstation, CUDA developmentContainerized workloads, batch, inference

Plan for 8 to 16 vCPUs per GPU, preferably in the Universal (U) series:

ConfigurationInstancevCPURAM
1 GPUu1.2xlarge832 GB
1 GPU (intensive)u1.4xlarge1664 GB
Multi-GPUu1.8xlarge32128 GB

How are the NVIDIA drivers installed?​

On a VM: by you, in the OS. Follow Install CUDA and GPU drivers, which also provides a cloud-init script to paste into Cloud-Init script (User Data).

On Kubernetes: by the GPU Operator addon, enabled automatically as soon as a node group has GPUs.


What happens when I stop a VM with a GPU?​

The GPU is released and can be assigned to another workload. The console warns you about this in the stop confirmation. On start, if the GPU is no longer available, the Select an alternative GPU dialog offers you another model.


Can I add GPUs to an existing Kubernetes node group?​

Not to a group created without GPUs: add a new node group with GPUs. A group created with GPUs can change model or count, while keeping at least one GPU.


How do I request a GPU in a Kubernetes pod?​

pod-gpu.yaml
apiVersion: v1
kind: Pod
metadata:
name: gpu-workload
spec:
containers:
- name: cuda-app
image: nvidia/cuda:12.4.1-base-ubuntu22.04
command: ["sleep", "infinity"]
resources:
limits:
nvidia.com/gpu: 1
note

Without the HAMi addon, a pod cannot request a fraction of a GPU: the value of nvidia.com/gpu is a whole number of physical GPUs.


How do I check that the GPU is detected?​

On a VM:

lspci | grep -i nvidia # the GPU is visible
nvidia-smi # the drivers are installed

On Kubernetes (with the cluster's kubeconfig, Kubeconfig button on the cluster page, reserved for project administrators):

kubectl get nodes -o custom-columns=NAME:.metadata.name,GPU:.status.allocatable.'nvidia\.com/gpu'
kubectl exec -it <pod> -- nvidia-smi