摘要: 1.获取gpu信息 [root@ks-devops python]# cat gpu_info.py import pynvml UNIT = 1024 * 1024 def GpuInfo(): pynvml.nvmlInit() #初始化 gpuDeriveInfo = pynvml.nvmlS 阅读全文
posted @ 2022-10-02 10:37 Leonardo-li 阅读(119) 评论(0) 推荐(0) 编辑