Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Segmentation fault when launching python on a fresh GPU instance

I am experiencing an issue with a GPU VM instance launched via the google cloud console web UI.

I launched a "a2-ultragpu-1g" instance using the "Deep Learning VM for PyTorch 2.3 with CUDA 12.1 M125" machine image in "us-central1-a". This previously worked as expected. However, now I get a "Segmentation fault" when trying to launch python:

```bash
(base) my-user-name@my-instance-name:~$ python
Python 3.10.15 | packaged by conda-forge | (main, Sep 20 2024, 16:37:05) [GCC 13.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
Segmentation fault
```

First, I stopped and re-started the instance, this did not help. Secondly, I deleted the instance and created an identically configured instance again, but the problem persists. The instance is using the official "Deep Learning VM for PyTorch 2.3 with CUDA 12.1 M125" machine image including Nvidia drivers.

Just to be clear: The "Segmentation fault" happens on a fresh VM instance, after ssh-ing into the instance for the first time, when running "python" in the command line.

0 4 643