Device API gpu is not enabled. Please install the cuda version of dgl.错误

摘要:
由于dgl分为gpu版本和cpu版本,估计默认安装了cpu版本,因此无法调用cuda。解决方案https://www.dgl.ai/pages/start.html,选择要安装的指定版本。如果在安装后访问cuda时发生以下错误/opt/dgl/src/runtime/c_runtime_api。cc:88:检查失败:allow_缺失:DeviceAPIgpuisnoten

因为dgl分gpu版和cpu版,估计默认安装的是cpu版本,所以无法调用cuda,解决方法

https://www.dgl.ai/pages/start.html,选择指定版本进行安装即可,如果在安装后,访问cuda时出现以下错误

 /opt/dgl/src/runtime/c_runtime_api.cc:88: Check failed: allow_missing: Device API gpu is not enabled. Please install the cuda version of dgl.
可以降低安装的dgl的cuda版本,如果11.0出现错误,就安装10.2试试

Device API gpu is not enabled. Please install the cuda version of dgl.错误第1张

免责声明:文章转载自《Device API gpu is not enabled. Please install the cuda version of dgl.错误》仅用于学习参考。如对内容有疑问,请及时联系本站处理。

上篇cadence allegro和ad9之间的转换详解 Interpolator动画插值器下篇

宿迁高防,2C2G15M,22元/月;香港BGP,2C5G5M,25元/月 雨云优惠码:MjYwNzM=

相关文章

解决'androidx.arch.core:core-runtime' has different version for the compile (2.0.0) and runtime (2.0.1)

先说原因,我们引用的包版本不同产生了冲突,所以编译不通过。解决的办法是在引用的时候排除一个版本,只留一个版本。 解决过程: 先找出哪些库引用了相同的库,仅仅是版本不同。 gradle app:dependencies app换成你工程中的模块名,它会生成一个依赖列表,我们要做的是分析一下这个列表,比如我的引用就是: dependencies { i...

《ArcGIS Runtime SDK for Android开发笔记》——(15)、要素绘制Drawtools3.0工具DEMO

1、前言 移动GIS项目开发中点线面的要素绘制及编辑是最常用的操作,在ArcGIS Runtime SDK for iOS 自带AGSSketchLayer类可以帮助用户快速实现要素的绘制,图形编辑。但是在ArcGIS Runtime SDK for Android的版本中并没有提供类似的功能,实现过程相对较复杂。(10.2.8及以下版本需要用户自定义扩展...

apache benchmark 的简单安装与测试

1. 下载apache benchmark Copy From https://blog.csdn.net/fyqaccpt96/article/details/43272001 yum install apr-util yum-utils yum-utils.noarch mkdir /apache && cd /apache...

【FFMPEG】关于硬解码和软解码

一、一些命令 1、显示所有可用的硬件加速器 [root@tranCodeing ~]# ffmpeg -hwaccels ffmpeg version 4.1 Copyright (c) 2000-2018 the FFmpeg developers built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-...

关于启动Docker容器的错误:OCI runtime create failed: container with id exists

环境 系统:centos7.6 Docker:20.10.7 症状 在执行如下启动命令后docker start mysqlserver出现了一下异常报错 1 docker start mysqlserver 2 Error response from daemon: OCI runtime create failed: container with id...

CSE(Corrupted State Exceptions) 严重异常处理办法

原因分析 出现这个问题说明.NET版本至少是4.0,因为微软在.NET 4.0版本中更改了异常处理机制。微软认为catch(Exception)这种写法是不负责任的,程序员应该按照异常严重类别决定程序是否继续执行。然而事实是catch(Exception)遍地开花,程序出现异常后继续顽强地执行,然后内存报错,系统报错,蓝屏,用户来一句"破系统"。现在微软不...