首页 > 其他分享 >Detected non-NVML platform: could not load NVML: libnvidia-ml.so.1: cannot open shared object

Detected non-NVML platform: could not load NVML: libnvidia-ml.so.1: cannot open shared object

时间:2023-10-18 21:46:09浏览次数:34  
标签:load non NVML Detected nvidia docker open

前言

kubernetes 中配置 https://github.com/NVIDIA/k8s-device-plugin 时,
报错:Detected non-NVML platform: could not load NVML: libnvidia-ml.so.1: cannot open shared object

解决

kubernetes 使用运行时 docker,需要编辑通常存在的配置文件 /etc/docker/daemon.json, 以设置 nvidia-container-runtime 为默认的低级运行时:

{
    "default-runtime": "nvidia",
    "runtimes": {
        "nvidia": {
            "path": "/usr/bin/nvidia-container-runtime",
            "runtimeArgs": []
        }
    }
}

然后重新启动 docker

$ sudo systemctl restart docker

标签:load,non,NVML,Detected,nvidia,docker,open
From: https://www.cnblogs.com/niuben/p/17773410.html

相关文章

  • GraalVM进行spring boot的native编译报错 “returned non-zero result”解决方法
    使用GraalVM对springboot工程进行native编译:系统:CentosJDK:GraalVMJDK21报错:Ifyouareunabletoresolvethisproblem,pleasefileanissuewiththeerrorreportat:https://graalvm.org/support[INFO]---------------------------------------------------------......
  • System.TypeLoadException:“程序集“XXXX.K3.SCM.App.Core, Version=1.0.0.0, Cultur
    一、问题描述:网站页面调用方法时报错:报错内容如下:System.TypeLoadException:“程序集“XXXX.K3.SCM.App.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null”中的类型“XXXX.K3.SCM.App.Core.StockService”的方法“WriteBackAfterByInWhenAudit”没有实现。”......
  • Expression #3 of SELECT list is not in GROUP BY clause and contains nonaggregate
    这个报错的完整信息Expression#3ofSELECTlistisnotinGROUPBYclauseandcontainsnonaggregatedcolumn'jira.ji.ID'whichisnotfunctionallydependentoncolumnsinGROUPBYclause;thisisincompatiblewithsql_mode=only_full_group_by这个说的意......
  • Go - Uploading a File to a Web Application
    Problem: Youwanttouploadafiletoawebapplication. Solution: Usethenet/httppackagetocreateawebapplicationandtheiopackagetoreadthefile. UploadingfilesiscommonlydonethroughHTMLforms.YoulearnedthatHTMLformshaveanencty......
  • fastify-autoload + ncc + s3 实现模块的插件化开发加载
    以前简单说明过基于fastify-autoload的插件化加载fastify插件,方便实现开发,但是对于实际生产环境我们可以需要频繁的模块修改,发布以及构建,所以需要我们需要频繁的调整,不是很方便,我们可以基于ncc进行入口的打包,同时对于每个插件也基于ncc打包为独立的文件,这样我们开发的插件只需......
  • 5.9 Shannon-Fano-Elias Coding
    Definethemodifiedcdf\(\overline{F}(x)\)basedonthestandardcdf\(F(x)\):\[\overline{F}(x)=\sum_{a<x}p(a)+\frac{1}{2}p(x)=F(x-1)-\frac{1}{2}p(x)\]Assumethat\(p(x)>0\)forall\(x\inS_X\),then\(\overline{F}(a)\neq......
  • fastify-autoload 一个方便的插件动态加载包
    fastify-autoload是一个方便的fastify插件加载工具,我们可以基于路径直接加载开发的插件参考使用配置constFastify=require('fastify')constpath=require("path")constautoLoad=require('@fastify/autoload');constapp=Fastify({logge......
  • loading效果
    css*{margin:0;padding:0;}#load{width:100%;height:100%;display:block;position:absolute;z-index:1999!important;background-color:rgba(0,0,0,0.5);}#loadmain{......
  • How to fix the bug that the beforeunload event cannot be triggered All In One
    HowtofixthebugthatthebeforeunloadeventcannotbetriggeredAllInOne如何修复beforeunload事件无法触发的bugAllInOnebeforeunloadconstbeforeUnloadHandler=(event)=>{event.preventDefault();//Equivalenttothefollowingle......
  • elasticsearch安装dynamic-synonym插件
    今天就来和大家讲讲如何在es中安装dynamic-synonym插件,首先我们需要去github上下载与es版本对应的插件,一般github上基本都是本地词库和远程文本词库的,在gitee上可以找到采用数据库作为词库的源码,大致思路就是修改一些参数配置,然后自己创建一个表作为同义词词库,最后将打包好的jar包......