Comments (6)
已经正确设置LIBCUDA_PATH环境变量。是否是有其他选项或配置需要注意?
from megengine.
而且正常情况下,第一次getLastError()之后,第二次getLastError()应该不会报错的。
from megengine.
我使用的环境是 CUDA 10.1.168 , driver 418.67, V100显卡。满足官网所属环境要求
from megengine.
感谢您对 MegEngine 项目的关注,您可以用 ldd 命令看一下 _internal 下的动态库 .so 文件指向的 cuda 路径
from megengine.
@zhangheng408 如果您了解 LIBCUDA_PATH 环境变量,您应该是已经看过 cuda-stub 相关的代码
为了使得 MegEngine 可以正确的打包为 manylinux2010 标准的wheel包,同时不需要包含 libcuda.so 驱动,MegEngine 包含了一个 cuda-stub 的 so 用来将相关请求转发到系统的 libcuda.so 中
具体代码您可以参考: https://github.com/MegEngine/MegEngine/blob/master/dnn/cuda-stub/src/libcuda.cpp
所以你可以观察一下是否您的驱动(libcuda.so) 是在 LIBCUDA_PATH 的路径中,或者在 cuda-stub 可以找到的标准路径中
从目前的返回值(35)来看,cuda-stub是找到了一个 驱动,但是这个驱动过旧了,所以可能您需要检查是否正确配置了环境。
更多情况也希望您能补充更多日志来协助我们分析
from megengine.
closed due to inactive.
from megengine.
Related Issues (20)
- 自定义算子头文件目录 HOT 2
- Help-wanted Issue: 使用CUDA编译MegEngine后, 在GPU上的tensor的get_memory_ptr返回的指针无法直接操作,而需要通过CUDA接口操作 HOT 3
- MegEngine v1.11.0 release中的conv2d性能优化 HOT 1
- 如何针对部分Tensor值进行修改操作 HOT 2
- python 3.10 pip download wanted HOT 4
- DeformableConv2d 的 python 接口不完整 HOT 2
- 关于MegEngine/dnn/src/cuda/conv_bias/matmul/inplace_matmul_impl.cu中的代码问题 HOT 4
- AssertionError: Loss explosion: inf HOT 2
- 编译模型的时候出现error: failed to legalize operation 'MGB.ConvBias'
- NVIDIA GeForce RTX 3080(gpu0) with CUDA capability sm_86 is not compatible with the current MegEngine installation HOT 1
- Help-wanted Issue HOT 1
- RuntimeError: assertion `depth < context.transformations.size()' HOT 3
- error when run inference HOT 2
- topk_fp16 结果错误 HOT 3
- Linux下源码编译失败, 报错 /usr/bin/ld.gold: error: cannot find -lMKL_CORE_LIBRARY-NOTFOUND HOT 2
- 如何测试自定义的带 CUDA 后端的算子 HOT 7
- 将.tm模型量化成int8模型
- pip3 install之后,Downloading 多个MegEngine版本是怎么回事
- 手动实现pixel_unshuffle时使用 F.conv2d报错 HOT 1
- 旷世天元实现矩阵乘法的位置在哪儿 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from megengine.