From b2c41f0b0fc9415c90bd11b03714982596e4f0cd Mon Sep 17 00:00:00 2001 From: iProbe Date: Mon, 29 Apr 2024 15:59:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20Nginx/=E6=A0=B9=E6=8D=AEgp?= =?UTF-8?q?u=E4=BD=BF=E7=94=A8=E7=8E=87=E8=B0=83=E5=BA=A6/=E8=8E=B7?= =?UTF-8?q?=E5=8F=96gpu=E4=BD=BF=E7=94=A8=E7=8E=87=E8=84=9A=E6=9C=AC.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Nginx/根据gpu使用率调度/获取gpu使用率脚本.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Nginx/根据gpu使用率调度/获取gpu使用率脚本.md b/Nginx/根据gpu使用率调度/获取gpu使用率脚本.md index 6efa1b1..bf9aee1 100644 --- a/Nginx/根据gpu使用率调度/获取gpu使用率脚本.md +++ b/Nginx/根据gpu使用率调度/获取gpu使用率脚本.md @@ -1,4 +1,7 @@ **lb.py** +```shell +pip install nvidia-ml-py +``` ```python #!/usr/bin/env python