msprof application 参数包含双引号 命令解析出问题
收藏回复举报
msprof application 参数包含双引号 命令解析出问题
t('forum.solved') 已解决
新人帖
发表于2024-04-16 18:50:47
0 查看

CANN版本:CANN6.0.RC1.2

使用 msprof --application='/xxx/msame --model xxx --dymHW "480,480"' --aic-metrics="ArithmeticUtilization" xxxx 执行报错 “the dymHW parameter is not correct”

true

如果仅仅使用 /xxx/msame --model xxx --dymHW "480,480" 进行推理是没问题的,怀疑是 msprof 解析 application 同时 application参数存在双引号的情况下,解析出现的问题

true

true

在 msprof + msame 执行过程中我也查看过进程的参数,参数正确,但是依旧执行报错 “the dymHW parameter is not correct”

true

同时,如果 dymHW不加双引号,执行是正确的,不会报错 msprof --application='/xxx/msame --model xxx --dymHW 480,480' --aic-metrics="ArithmeticUtilization" xxxx , 但是这种格式不符合msame的规定,不确定会不会有问题

我要发帖子