# Changhua G2 GPU missing: separate host and guest checks

> For a Changhua G2 VM with a missing L4, compare its machine type with the actual guest inventory. Resolve host-driver visibility before treating it as a container problem.

Application logs that report zero GPUs do not reveal which layer lost sight of the device. Use three checkpoints: the VM inventory, the guest driver and the process environment.

## Check the attachment in the instance record

[Google lists](https://docs.cloud.google.com/compute/docs/regions-zones/gpu-regions-zones) G2 in all three Changhua County rows, with G4 also in a and A3 High in c. If two deployments target “Changhua GPU,” confirm that your job actually uses G2, which [Google documents](https://docs.cloud.google.com/compute/docs/accelerator-optimized-machines) as the L4 machine family. Compare the declared GPU count for the exact size to what the guest currently enumerates. Keep the VM and zone identifiers for each test rather than describing all hosts by the region name.

## Check host-driver visibility outside the job

Run `nvidia-smi` directly in the Linux guest before entering the workload container. Preserve the response and the driver package state. If the command fails here, open [the Compute Engine driver guide](https://docs.cloud.google.com/compute/docs/gpus/install-drivers-gpu) for the installed operating system and driver path. Compare against the known-good image or package deployment; reinstalling both driver and container runtime together loses information about which boundary changed.

## Check the container separately

If the device is visible on the guest but absent in the container, inspect how the runtime passes through NVIDIA devices. The [NVIDIA Container Toolkit troubleshooting page](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/troubleshooting.html) covers cases where a container loses GPU access and what evidence to collect. Compare the running config and image digest of a good and bad container on the same VM. Run the smallest reproducer that exposes the device mismatch, then record whether the issue follows the image or stays with the VM.

![A Google sign outside the gate to the Xianxi data centre in Changhua County](/media/google-data-centre-changhua-xianxi-entrance.jpg)

The entrance to Google’s Changhua data centre, shown for regional context. · [Kai3952 · Wikimedia Commons](https://commons.wikimedia.org/wiki/File:Exterior_view_of_the_main_gate%2C_Google's_Taiwan_data_center_in_Xianxi%2C_Changhua%2C_as_taken_on_7_March_2021.jpg) · [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/) · Resized for web.

## 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
- Install GPU drivers: https://docs.cloud.google.com/compute/docs/gpus/install-drivers-gpu
- NVIDIA Container Toolkit troubleshooting: https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/troubleshooting.html
