isard-vdi / isard

Isard VDI. Open Source KVM Virtual Desktops based on KVM Linux and dockers. Please use https://gitlab.com/isard/isardvdi

Home Page:http://www.isardvdi.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inquiries about NVIDIA vGPU support

dndud2532 opened this issue · comments

Hi, Thanks to your help, the test is going well.

If you have any questions, please contact us.

Currently, my server has NVIDIA A100 vGPU enabled, but within the IsardVDI portal, only A40 and P4 are checked in GPU Profile.

Is it possible to use other than the above two cards?

If it is available, how do I activate it?

image

image

#213

Hi,

can you copy/paste this script in your server and share the output?

https://gitlab.com/-/snippets/2400795

Alberto Larraz
IsardVDI

Hello, I wrote and executed the content of the script you sent me as follows.

image

I get the following output, is there anything else I need to check?

image

Hello,

it seems that the script has not been executed. Have you executed previously in the hos this command?t

/usr/lib/nvidia/sriov-manage -e 00000000:c3:00.0

Then enter in the engine container and verify that script exists and execute inside:

docker exec -it isard-engine /bin/ash

inside the container:

/isard # ls -l info_nvidia.py
-rw-r--r--    1 root     root           192 Sep  1 16:11 info_nvidia.py

/isard # cat info_nvidia.py 
from engine.models.hyp import hyp
from pprint import pprint
h = self = hyp("isard-hypervisor",port=2022)
h.get_hyp_info(nvidia_enabled=True)
h.get_nvidia_capabilities()
pprint(h.info_nvidia)

/isard # python3 info_nvidia.py 

Hello, I ran the cmd you suggested as below, but the screen is the same as before. Am I missing something while running it?

image