重新安装驱动
dkms remove -m nvidia -v 510.73.06 –all
vGPU version
如果使用的版本是14.1vGPU Version 14.1
https://github.com/VGPU-Community-Drivers/NV-VGPU-Driver/releases
新增:驱动下载可与查看这里(未测试)
https://cloud.google.com/compute/docs/gpus/grid-drivers-table?hl=zh-cn
vGPU激活
安装服务
一般情况下使用,特殊情况使用venderid伪装成正常显卡
fastapi-dls 开源项目
容器地址是:https://hub.docker.com/r/collinwebdesigns/fastapi-dls
1 2 3 4 5 6 7 8 9 10 11 12 13 14
| WORKING_DIR=/opt/docker/fastapi-dls/cert mkdir -p $WORKING_DIR
cd $WORKING_DIR openssl genrsa -out $WORKING_DIR/instance.private.pem 2048 openssl rsa -in $WORKING_DIR/instance.private.pem -outform PEM -pubout -out $WORKING_DIR/instance.public.pem openssl req -x509 -nodes -days 3650 -newkey rsa:2048 -keyout $WORKING_DIR/webserver.key -out $WORKING_DIR/webserver.crt
docker run -e LEASE_EXPIRE_DAYS=1825 -e DLS_URL=192.168.10.85 -e DLS_PORT=443 -p 443:443 -v $WORKING_DIR:/app/cert collinwebdesigns/fastapi-dls:latest
docker run -e LEASE_EXPIRE_DAYS=1825 -e DLS_URL=192.168.11.84 -e DLS_PORT=443 -p 443:443 -v $WORKING_DIR:/app/cert collinwebdesigns/fastapi-dls:latest
|
安装完成后检查地址https://192.168.10.85/-/readme
Linux
!!!安装dkms后启动驱动程序,使用dkms安装
1
| sudo ./NVIDIA-Linux-***.sh --dkms
|
1 2 3 4
| sudo curl --insecure -X GET https://192.168.10.85/-/client-token -o /etc/nvidia/ClientConfigToken/client_configuration_token.tok
sudo curl --insecure -X GET https://192.168.11.87/-/client-token -o /etc/nvidia/ClientConfigToken/client_configuration_token.tok nvidia-smi -q | grep "License"
|
windows
放置文件到:
C:\Program Files\NVIDIA Corporation\vGPU Licensing\ClientConfigToken
1
| nvidia-smi -q |findstr License
|