GPU types and blocks

GPU types. Hangar offers four GPUs in Australia, and this page shows the command that starts each one. You pay from prepaid credit at the price of the GPU, including GST: A$1.35 an hour for a fractional L4 and A$4.55 an hour for an L4, by the second. An H100 or a Trainium2 costs the price that hangar status shows, by the minute.

Start now on an H100 or a Trainium2: by the minute, no booking

A block is a set of GPU capacity that Hangar reserves. It fixes the GPU type and the GPU count of every session in the block. Hangar's H100 blocks in Sydney and its Trainium2 block in Melbourne start when you ask, while a machine of the block is free. Each session is a fresh instance that Hangar launches in the block for your organisation alone. Hangar attests and resets the instance before your job starts. The session ends with a job certificate.

hangar status --pools
hangar run --gpu trn2 model:v1 -- python infer.py
hangar run --gpu h100 --limit 60 train:v2 -- python train.py

Instant GPUs: by the second, no booking

Two GPUs start when you ask. You do not book a night. Each session has its own instance for your organisation. The worker attests the instance, and Hangar resets the instance before your job starts. The session ends with a job certificate. The certificate shows the instance type and the GPU.

What you startInstance typeGPU memoryvCPUMemoryPrice per hour, including GST
A fractional L4: one eighth of an NVIDIA L4g6f.large3 GB2 [verify]8 GiB [verify]A$1.35
An L4: one NVIDIA L4g6.xlarge, or g6.2xlarge when AWS cannot start g6.xlarge24 GB4, or 816 GiB, or 32 GiBA$4.55

An L4 starts on g6.xlarge in the first Sydney zone that has capacity. When no Sydney zone can start g6.xlarge, Hangar starts g6.2xlarge. The g6.2xlarge has one NVIDIA L4 with 24 GB of GPU memory, the same as the g6.xlarge, and you pay the same price for each hour. The certificate records the instance type that started.

The fractional L4 is one eighth of a physical NVIDIA L4. Each fractional session has its own kernel, driver, memory, disk and network interface. Other instances share the physical GPU through vGPU (NVIDIA's way to split one GPU), and the provider keeps the shares apart. When the session starts, Hangar sets the GPU memory of your share to zero and reads the memory back. Choose the L4 when your work needs a GPU that no other instance shares.

hangar run --gpu l4-fraction smoke:v1 -- nvidia-smi -L
hangar run --gpu l4 --limit 90 server:v3 -- python serve.py
hangar stop <session>

hangar status, hangar logs, hangar pull and hangar verify accept a session id. They accept a booking id too.

Read this page as Markdown