CUDA
YoJayC
这个作者很懒,什么都没留下…
展开
-
Error response from daemon: manifest for nvidia/cuda:latest not found: manifest unknown: manifest
原因:The "latest" tag for CUDA, CUDAGL, and OPENGL images has been deprecated on NGC and Docker HubDocker Hub中的CUDA, CUDAGL和OPENGL镜像已经弃用"latest"标签,直接使用docker pull nvidia/cuda或者在Dockerfile中指定FROM nvidia/cuda:latest都会出现Error response...原创 2021-09-09 20:45:41 · 10842 阅读 · 2 评论 -
查看nvidia gpu共享内存大小
在 linux 上使用locate deviceQuery命令找到使用cuda预实现的sample程序deviceQuery在命令行执行/home/amax/NVIDIA_CUDA-10.0_Samples/bin/x86_64/linux/release/deviceQuery 查看GPU的详细信息参考:https://blog.csdn.net/weixin_40005329/article/details/106853783...原创 2021-03-22 08:32:10 · 3751 阅读 · 0 评论 -
RuntimeError: cuDNN error: CUDNN_STATUS_EXECUTION_FAILED
https://blog.csdn.net/qq_39938666/article/details/86611474https://blog.csdn.net/weixin_39466251/article/details/101789574?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-2.control&depth_1-utm_source=distribute.pc_rele原创 2021-02-02 09:30:07 · 398 阅读 · 0 评论 -
使用openpose出现Check failed: error == cudaSuccess (2 vs. 0) out of memory错误
在使用openpose的docker执行命令时,出现下述错误提示root@1015281c1858:/openpose# python3 consecutive_openpose.py Starting OpenPose demo...Configuring OpenPose...Starting thread(s)...F1117 06:45:27.081745 90 syncedmem.cpp:71] Check failed: error == cudaSuccess (2 vs.原创 2020-11-17 15:21:33 · 2872 阅读 · 0 评论 -
使用torch.nn.BatchNorm1d出现Tensor for argument #2 ‘weight‘ is on CPU, but expected it to on GPU错误
st_gcn网络定义中使用了torch.nn.BatchNorm1d,在运行网络时出现RuntimeError: Tensor for argument #2 'weight' is on CPU, but expected it to be on GPU (while checking arguments for cudnn_batch_norm)论坛中的解释是因为在forward函数中直接定义并使用了一个函数,但是源代码中是在__init__函数中定义,forward函数中再使用的github上原创 2020-11-12 17:15:30 · 7272 阅读 · 3 评论 -
使用NSIGHT进行CUDA调试时出现链接错误解决方法
使用VS2013+CUDA8.0+NSIGHT5.2+NVIDIA GEFORECE 610M点击NSIGHT栏中START CUDA DEBUGGING后出现显卡链接错误,无法进行调试在论坛中得知是显卡太老,且为fermi架构,不支持最新的5.2,降级为NSIGHT5.1后可正常使用NISHGT调试原创 2017-03-30 20:47:19 · 742 阅读 · 0 评论 -
CUDA配置注意
在VS上配置CUDA时要注意在DEBUG模式下进行配置,否则执行时会出现链接错误原创 2017-03-23 12:25:39 · 510 阅读 · 0 评论 -
cuda使用原子操作出现未定义解决方法
在cud代码中使用atomicMin(&a,b)原子操作编译时出现未定义错误原因是代码是在1.0架构下进行编译的,编译参数为compute_10andsm_10右键工程在Configuration Properties/CUDA C/C++/Device中将Code Generation改为compute_20,sm_20(在2.0架构下进行编译)后可正常编译原创 2017-04-12 10:17:43 · 2805 阅读 · 2 评论 -
用远程连接进行nsight调试出现WDDM adapters will not be debuggable
远程连接到高性能GPU主机上,在VS2010上nsight栏中 点击start CUDA Debugging后出现The remote system is logged in through Remote Desktop. WDDM adapters will not be debuggable.CUDA context created : 02699b10等错误信息原创 2017-04-06 16:56:34 · 1060 阅读 · 0 评论