name | about | labels |
---|---|---|
Bug Report | Use this template for reporting a bug | kind/bug |
[CI][MS]联合CI 模型导出报错ValueError: For now, while running in Ascend, the input [paddings] of PadV3 is required to be constant, make sure that paddings is a list
Ascend
/GPU
/CPU
) / 硬件环境:Please delete the backend not involved / 请删除不涉及的后端:
/device ascend/GPU/CPU/kirin/等其他芯片
Software Environment / 软件环境 (Mandatory / 必填):
-- MindSpore version (e.g., 1.7.0.Bxxx) :
-- Python version (e.g., Python 3.7.5) :
-- OS platform and distribution (e.g., Linux Ubuntu 16.04):
-- GCC/Compiler version (if compiled from source):
Excute Mode / 执行模式 (Mandatory / 必填)(PyNative
/Graph
):
Please delete the mode not involved / 请删除不涉及的模式:
/mode pynative
/mode graph
Please assign maintainer to check this issue.
请为此issue分配处理人。
@188******92
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
感谢您的提问,您可以评论//mindspore-assistant更快获取帮助:
根因分析:
PadV3算子在算子前端接口中,新增仅针对于Ascend后端的拦截:paddings
必须是固定的值,不能是其他算子的输出。
否则报错:
ValueError: For now, while running in Ascend, the input [paddings] of PadV3 is required to be constant, make sure that paddings is a list
修改方法:
将该拦截删除,在Ascend后端单独校验。
自验结果:
本地无法自验,经测试验证,验证通过。
使用以下版本运行pass
MindSpore 2.3.0.B080-20240402115331
Ascend HDK 24.1.RC1.B071-20240329025251-41
Milan-ASL V100R001C17B229
Sign in to comment