Which VM type (GPU) is compatible

Manoni 10 Reputation points
2024-08-20T08:33:19.0533333+00:00

Update: solved, solution in answers

I'm using a VM type Standard_NC6s_v3 (GPU - 1 x NVIDIA Tesla V100) which is compatible with this image:

image="mcr.microsoft.com/azureml/curated/acpt-pytorch-1.13-cuda11.7

nvidia-smi gives me:

+-----------------------------------------------------------------------------+
| NVIDIA-SMI 470.256.02   Driver Version: 470.256.02   CUDA Version: 11.7     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  Tesla V100-PCIE...  On   | 00000001:00:00.0 Off |                    0 |
| N/A   29C    P0    36W / 250W |    751MiB / 16160MiB |      5%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

and

torch.cuda.is_available()

is TRUE. So far so good.

However, I was wondering, if I'd like to use this image for python 3.10 and more recent versions of pytorch and cuda:

image="mcr.microsoft.com/azureml/curated/acpt-pytorch-2.2-cuda12.1

which VM types would be compatible? If I use this image on my Standard_NC6s_v3 then

torch.cuda.is_available()

is FALSE.

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
3,339 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Manoni 10 Reputation points
    2024-08-21T05:52:52.8733333+00:00

    To be able to use this image:

    mcr.microsoft.com/azureml/curated/acpt-pytorch-2.2-cuda12.1

    I specified exactly these dependencies in my yaml file:

    dependencies:
      - python=3.10
      - pytorch=2.2
    

    And then torch.cuda.is_available() is TRUE.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.