Troubleshooting · Jakarta

Jakarta T4 to G4: isolate a CUDA image regression

Moving a working image to a different Jakarta GPU series changes the hardware it sees. Treat this as a compatibility comparison and note the first stage where the old and new deployments diverge.

Select valid old and new machines

The Jakarta location rows show N1+T4 in asia-southeast2-a and b, and G4 in b and c. That makes b a potential same-zone comparison if your own deployment can obtain both shapes. Google’s machine reference identifies G4’s GPU family. Preserve the device model and driver shown by each guest instead of assuming the same region provides an equivalent CUDA environment.

Find the first failing layer

Start with driver visibility in the guest. If that succeeds, run a basic CUDA operation inside the job image. A driver initialization failure and a kernel image error occur at different points. Compare the application’s runtime build with NVIDIA’s CUDA compatibility guide. If only particular kernels fail, capture the exact error and use the Blackwell compatibility guide to inspect the target architectures used to build the application or its CUDA extensions rather than changing the operating system first.

Keep the working image as a diagnostic control

Save the old image digest, new driver branch, test input and error output. Duplicate the failing operation without changing both image and driver in the same attempt. If you find the guest driver missing or wrong, follow Google’s installation guide for that machine and operating system. If a simple CUDA operation works on G4 but a compiled extension fails, test a correctly targeted extension with the same runtime before replacing the full container image.

Questions

Which Jakarta zone lists both T4 and G4?

Google’s asia-southeast2-b row lists both combinations.

Does basic CUDA initialization establish that compiled kernels will run?

No. Test the actual failing kernel or extension to check its target architecture support.

Sources