首页 Paddle Inference 帖子详情
在JetPack 4.4环境的Jetson开发套件上运行带卷积的模型报错 已解决
收藏
快速回复
Paddle Inference 问答推理 1219 1
在JetPack 4.4环境的Jetson开发套件上运行带卷积的模型报错 已解决
收藏
快速回复
Paddle Inference 问答推理 1219 1

在JetPack 4.4环境的Jetson开发套件上运行带卷积的模型报错terminate called after throwing an instance of 'std::logic_error' what(): basic_string::_M_construct null not valid。

旧鸱c_
已解决
2# 回复于2021-08
这个是cuDNN 8.0在SM_72下的bug,在运行cudnnConvolutionBiasActivationForward的时候会出错,见https://forums.developer.nvidia.com/t/nx-jp44-cudnn-internal-logic-error/124805。 目前有以下两种解决方案: 1)通过config.pass_builder()->DeletPass()删除如下PASS:conv_elementwise_add_act_fuse_pass、conv_elementwise_add2_act_fuse_pass、conv_elementwise_add_fuse_pass, 来避免预测期间进行conv + bias + activation的融合。 2)将cuDNN 8.0降级为cuDNN 7.6。
展开
0
收藏
回复
全部评论(1)
时间顺序
旧鸱c_
#2 回复于2021-08

这个是cuDNN 8.0在SM_72下的bug,在运行cudnnConvolutionBiasActivationForward的时候会出错,见https://forums.developer.nvidia.com/t/nx-jp44-cudnn-internal-logic-error/124805。 目前有以下两种解决方案: 1)通过config.pass_builder()->DeletPass()删除如下PASS:conv_elementwise_add_act_fuse_pass、conv_elementwise_add2_act_fuse_pass、conv_elementwise_add_fuse_pass, 来避免预测期间进行conv + bias + activation的融合。 2)将cuDNN 8.0降级为cuDNN 7.6。

0
回复
需求/bug反馈?一键提issue告诉我们
发现bug?如果您知道修复办法,欢迎提pr直接参与建设飞桨~
在@后输入用户全名并按空格结束,可艾特全站任一用户