Asked by:
I cannot find gpu in Standard NC6_Promo (6 vcpus, 56 GiB memory) instance

Question
-
Hi all.
I just spun up an virtual machine (Standard NC6_Promo (6 vcpus, 56 GiB memory) instance) but I don't seem to find gpu on the machine.
(cv_proj_1) kamoliddinov@elbek-gpu:~/cv-final$ sudo lshw -C display *-display description: VGA compatible controller product: Hyper-V virtual VGA vendor: Microsoft Corporation physical id: 8 bus info: pci@0000:00:08.0 version: 00 width: 32 bits clock: 33MHz capabilities: vga_controller bus_master rom configuration: driver=hyperv_fb latency=0 resources: irq:11 memory:f8000000-fbffffff memory:c0000-dffff *-display UNCLAIMED description: 3D controller product: GK210GL [Tesla K80] vendor: NVIDIA Corporation physical id: 1 bus info: pci@84c4:00:00.0 version: a1 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress bus_master cap_list configuration: latency=0 resources: iomemory:100-ff iomemory:140-13f memory:41000000-41ffffff memory:1000000000-13ffffffff memory:1400000000-1401ffffff
Also pytorch confirms it:
(cv_proj_1) kamoliddinov@elbek-gpu:~/cv-final$ python Python 3.6.7 |Anaconda, Inc.| (default, Oct 23 2018, 19:16:44) [GCC 7.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import torch >>> print(torch.rand(2,3).cuda()) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/kamoliddinov/miniconda3/envs/cv_proj_1/lib/python3.6/site-packages/torch/cuda/__init__.py", line 192, in _lazy_init _check_driver() File "/home/kamoliddinov/miniconda3/envs/cv_proj_1/lib/python3.6/site-packages/torch/cuda/__init__.py", line 102, in _check_driver http://www.nvidia.com/Download/index.aspx""") AssertionError: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx
I thought NC6 has a Nvidia gpu, what am doing wrong?
Any help is appreciated,
All replies
-
HI,
I'm unsure as to what the command is trying to output or what it queries, but the NC series do have an NVIDIA Tesla GPU in them?
Could this be an issue with what your command is querying? (apologies if that seems a silly question but I dont know what your command is calling).
Thanks,
Matt
-
Hi,
Looks like you dont have the NVIDIA drivers on that server.
Please follow this document to install the required extension. Two options are there in the document to install the extensions.
One is the maual methos. Other one is installing an Azure extension which installs the required drivers. Going through the Azure extensions way will be easire.
Both the methods are discussed on the doc.
After installation, You can verify them. Steps are available in the doc itself.
Install them and then try to execute the your python program.
Let me know if you have error after that also.
- Proposed as answer by jakaruna-MSFTMicrosoft employee, Moderator Monday, November 18, 2019 9:13 AM
-
-
-