# Hong Kong T4: resolve a CUDA driver mismatch

> On a Hong Kong N1+T4 VM, determine the guest driver version and the application’s CUDA runtime separately. Use NVIDIA’s compatibility guide before choosing whether the image or driver needs to change.

A deployment can stop finding CUDA even when the hardware remains visible. Check the guest and the application image, and preserve the failing image tag or digest before changing either.

## Confirm that the accelerator is the one expected

[Google lists](https://docs.cloud.google.com/compute/docs/regions-zones/gpu-regions-zones) N1 with T4 in Hong Kong’s `asia-east2-a` and `asia-east2-c` rows. In the instance record, check the accelerator model and number actually attached to the N1 VM. A compatible image cannot expose a GPU absent from that record. If your previous successful deployment used another region or an accelerator-optimized family, capture that difference and compare the two guest environments.

## Separate the installed driver from the application runtime

Save the output of `nvidia-smi` and use [NVIDIA’s command reference](https://docs.nvidia.com/deploy/nvidia-smi/) to interpret the driver and CUDA display. Then inspect the CUDA runtime in the job image or the application’s dependencies. A driver reporting a supported CUDA version does not establish which runtime your process loads. Use [NVIDIA’s compatibility documentation](https://docs.nvidia.com/deploy/cuda-compatibility/) to check the actual pair, including restrictions on features that require a newer driver.

## Reproduce with one controlled change

Run a small CUDA test in the expected environment before replacing the application. If the driver must change, use [Google’s driver instructions](https://docs.cloud.google.com/compute/docs/gpus/install-drivers-gpu) for the VM operating system and install method. If an older known-good image runs with the same guest driver, check the new image’s dependency and runtime change. For escalation, save the exact error, driver build, CUDA runtime version and VM zone; neither “latest CUDA” nor “same container” identifies a reproducible combination.

## Sources

- Compute Engine GPU locations: https://docs.cloud.google.com/compute/docs/regions-zones/gpu-regions-zones
- Install GPU drivers: https://docs.cloud.google.com/compute/docs/gpus/install-drivers-gpu
- NVIDIA CUDA Compatibility: https://docs.nvidia.com/deploy/cuda-compatibility/
- NVIDIA System Management Interface: https://docs.nvidia.com/deploy/nvidia-smi/
