Troubleshooting · Hong Kong

Hong Kong T4: resolve a CUDA driver mismatch

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 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 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 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 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.

Questions

Does nvidia-smi show the CUDA toolkit inside a container?

Its CUDA version field describes the driver’s supported CUDA level. Check the application environment separately.

Which Hong Kong zones list a T4?

Google lists N1+T4 in asia-east2-a and asia-east2-c.

Sources