# Mumbai A3 Ultra H200: diagnose CUDA out of memory

> When an H200 job in Mumbai fails an allocation, inspect the GPU assigned to the failing rank and its memory use immediately before the error. Available memory on a different GPU does not help that allocation.

A new Mumbai job can fail to allocate CUDA memory even though the VM exposes all expected accelerators. Identify the specific device and stage of the run before changing the workload size or VM type.

## Distinguish Mumbai’s A3 Ultra from its other families

[Google’s accelerator location data](https://docs.cloud.google.com/compute/docs/regions-zones/gpu-regions-zones) lists A3 Ultra in `asia-south1-b` and A3 Edge in `asia-south1-c`. [Google’s machine reference](https://docs.cloud.google.com/compute/docs/accelerator-optimized-machines) identifies A3 Ultra as an H200 family. Record the actual machine type and per-process mapping before comparing against an earlier run on another Mumbai VM. The region name does not establish the amount of memory available to a single rank.

## Measure the device that failed the allocation

Use the memory and process information in [NVIDIA’s nvidia-smi reference](https://docs.nvidia.com/deploy/nvidia-smi/) to inspect device and process usage just before the failure. Record the GPU UUID, failing rank and the last successful operation. Compare memory on that GPU with its peers; for example, ranks may receive unequal work or multiple processes may share a device unintentionally. Once the process exits, a device may appear empty again, so post-failure readings alone can miss the peak.

## Reproduce without changing the hardware

Run the same workload on the same machine shape with only the batch or input reduced. Keep the failing allocation message and capture which peak changes. If you suspect device loss instead of memory exhaustion, look for a separate guest event or a disappearing device; an application’s CUDA out-of-memory exception does not establish either. Share the exact model, shape, image, failing operation and per-device timeline so the fix can be tested against the original failure.

## Sources

- Compute Engine GPU locations: https://docs.cloud.google.com/compute/docs/regions-zones/gpu-regions-zones
- Accelerator-optimized GPU machine types: https://docs.cloud.google.com/compute/docs/accelerator-optimized-machines
- NVIDIA System Management Interface: https://docs.nvidia.com/deploy/nvidia-smi/
