@
tsanie 我照着这篇文章
https://fairysen.com/844.html 做,16.1 也不行,可能时我的操作有问题?
在 windows 虚拟机的信息
授权服务器容器:
```bash
admin@ubuntu-server:~$ docker container ls
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
3080406f537d makedie/fastapi-dls "uvicorn main:app --…" 41 minutes ago Up 41 minutes (healthy) 0.0.0.0:443->443/tcp, :::443->443/tcp cranky_hermann
```
NVIDIA 控制面板的 许可证服务器详情
| 主服务器地址 | 端口号 | 次服务器地址和 | 端口号 |
|:--: |:---:|:---:|:---:|
|10.0.0.6 | 443 | | |
powershell 查看信息
```powershell
PS C:\Program Files\NVIDIA Corporation\vGPU Licensing\ClientConfigToken> nvidia-smi.exe Wed Dec 20 16:31:19 2023 +---------------------------------------------------------------------------------------+ | NVIDIA-SMI 537.13 Driver Version: 537.13 CUDA Version: 12.2 | |-----------------------------------------+----------------------+----------------------+ | GPU Name TCC/WDDM | Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. | | | | MIG M. | |=========================================+======================+======================| | 0 GRID P40-4Q WDDM | 00000000:01:00.0 On | N/A | | N/A 0C P8 N/A / N/A | 593MiB / 4096MiB | 0% Default | | | | N/A | +-----------------------------------------+----------------------+----------------------+ +---------------------------------------------------------------------------------------+ | Processes: | | GPU GI CI PID Type Process name GPU Memory | | ID ID Usage | |=======================================================================================| | 0 N/A N/A 1560 C+G C:\Windows\System32\dwm.exe N/A | | 0 N/A N/A 1636 C+G C:\Windows\System32\svchost.exe N/A | | 0 N/A N/A 3480 C+G C:\Windows\System32\LogonUI.exe N/A | | 0 N/A N/A 3504 C+G C:\Windows\System32\dwm.exe N/A | | 0 N/A N/A 4452 C+G C:\Windows\System32\WUDFHost.exe N/A | | 0 N/A N/A 4872 C+G ...les\microsoft shared\ink\TabTip.exe N/A | | 0 N/A N/A 6420 C+G ...2txyewy\StartMenuExperi
$ pwd
Path ---- C:\Program Files\NVIDIA Corporation\vGPU Licensing\ClientConfigToken
$ cat .\client_configuration_token_20-12-23-04-05-44.tok
eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI3NWVlMzAyYy0zYWQ1LTQ5NDEtOTI1My
...
$ Restart-Service NVDisplay.ContainerLocalSystem
$ nvidia-smi.exe -q | Select-String License vGPU Software Licensed Product License Status : Unlicensed (Unrestricted)
```