ascendebug 使用有问题
收藏回复举报
ascendebug 使用有问题
t('forum.solved') 已解决
发表于2024-08-01 01:03:59
0 查看
我想用printf调试算子,按照文档,需要使用ascendebug工具用以下命令,但报错如下
ascendebug kernel --backend npu --dump-mode normal

error: User specified two different cann Installation package path: /home/HwHiAiUser/Ascend/ascend-toolkit/8.0.RC2.alpha003/tools/ascendc_tools and /home/HwHiAiUser/Ascend/ascend-toolkit/ 

error: User specified two different cann Installation package path: /home/HwHiAiUser/Ascend/ascend-toolkit/8.0.RC2.alpha003/tools/ascendc_tools and /home/HwHiAiUser/Ascend/ascend-toolkit/ 

error: User specified two different cann Installation package path: /home/HwHiAiUser/Ascend/ascend-toolkit/8.0.RC2.alpha003/tools/ascendc_tools and /home/HwHiAiUser/Ascend/ascend-toolkit/ 

Please make sure source the correct cann package setenv.bash only. you can open a new window,and restart

我要发帖子