Giter Site home page Giter Site logo

Comments (2)

leestott avatar leestott commented on August 27, 2024

What are you trying to do

I'm trying to install pytorch with GPU acceleration.

What command are using > What DSVM version are you running and OS
Ubuntu 20.04 DSVM on a Standard NV32as v4 (East US 2)

Error encountered
Typing in python :

import torch
torch.cuda.is_available() # evaluates to False

Expected behaviour
should evaluate to true (it did on the nvidia machines of the NS family,
but they are all unavailable). So I started troubleshooting :

$ lspci
0299:00:00.0 VGA compatible controller: Advanced Micro Devices, Inc.
[AMD/ATI] Vega 10 [Radeon Instinct MI25 MxGPU]

and there is no /dev/kfd and lsmod does not show any amd related modules
: the amdgpu drivers are not loaded. In recent kernel versions they
should be bundled by default, but if they are not, one can install them
using these instructions :
https://amdgpu-install.readthedocs.io/en/latest/install-prereq.html#installing-the-installer-package

which boils down to downloading the right package and using the
following commands :

sudo apt --fix-broken install ./amdgpu-install_21.50.2.50002-1_all.deb
sudo apt update
sudo amdgpu-install --no-32
sudo modprobe amdgpu

I then get the following error message indefinitely and the last command
hangs :

...
[drm:amdgpu_virt_read_pf2vf_data [amdgpu]] ERROR invalid pf2vf message
[drm:amdgpu_virt_read_pf2vf_data [amdgpu]] ERROR invalid pf2vf message
[drm:amdgpu_virt_read_pf2vf_data [amdgpu]] ERROR invalid pf2vf message
[drm:amdgpu_virt_read_pf2vf_data [amdgpu]] ERROR invalid pf2vf message
[drm:amdgpu_virt_read_pf2vf_data [amdgpu]] ERROR invalid pf2vf message
[drm:amdgpu_virt_read_pf2vf_data [amdgpu]] ERROR invalid pf2vf message
[drm:amdgpu_virt_read_pf2vf_data [amdgpu]] ERROR invalid pf2vf message
...

from datasciencevm.

riow1983 avatar riow1983 commented on August 27, 2024

Hi,
I tried again to create my VM from the latest version of DSVM image (detailed below) and found the issue above has been solved. I'll close this issue. Thanks.

"imageReference": {
      "communityGalleryImageId": null,
      "exactVersion": "22.05.11",
      "id": null,
      "offer": "ubuntu-2004",
      "publisher": "microsoft-dsvm",
      "sharedGalleryImageId": null,
      "sku": "2004-gen2",
      "version": "latest"
    },

from datasciencevm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.