×

签到

分享到微信

打开微信,使用扫一扫进入页面后,点击右上角菜单,

点击“发送给朋友”或“分享到朋友圈”完成分享

[cnmlError] n c h w d = 6442450944 is too big. yingkaihe2023-11-28 15:08:35 回复 查看 技术答疑
[cnmlError] n c h w d = 6442450944 is too big.
分享到:

【寒武纪硬件产品型号】必填*:MLU270


【使用操作系统】必填*:ubuntu


【使用驱动版本】必填*:
例如:v4.2.0


【出错信息】必填*:我已经实现了量化的操作,但是在使用量化模型在mlu上推理的时候出现了如下错误:

[WARNING][/pytorch/catch/torch_mlu/csrc/aten/operators/op_methods.cpp][line:688][ones_like][thread:140653100107584][process:32491]: 

ones_like Op cannot run on MLU device, start running on CPU!

2023-11-28 15:05:06.780326: [cnmlError] n * c * h * w * d = 6442450944 is too big.

2023-11-28 15:05:06.780442: [cnmlError] illegal shape

2023-11-28 15:05:06.780712: [cnmlError] n * c * h * w * d = 6442450944 is too big.

2023-11-28 15:05:06.780806: [cnmlError] illegal shape

[ERROR][/pytorch/catch/torch_mlu/csrc/aten/operators/cnml/internal/dyadic_internal.cpp][line:51][cnml_dyadic_internal][thread:140653100107584][process:32491]: 

CNML error: CNML_STATUS_INVALIDPARAM

[WARNING][/pytorch/catch/torch_mlu/csrc/aten/operators/op_methods.cpp][line:766][mul][thread:140653100107584][process:32491]: 

mul Op cannot run on MLU device, start running on CPU!

2023-11-28 15:05:11.607184: [cnmlError] n * c * h * w * d = 6442450944 is too big.

2023-11-28 15:05:11.607322: [cnmlError] illegal shape

2023-11-28 15:05:11.607413: [cnmlError] n * c * h * w * d = 6442450944 is too big.

2023-11-28 15:05:11.607605: [cnmlError] illegal shape

[11-28 15:5:11] [LOG_CNMLTRACE] [cnmlError] FINDLIMIT: findLimit: lower_bound and upper_bound is invalid! current lower_bound is 1, upper_bound is -2147483648 

[11-28 15:5:11] [LOG_MATCHER] [cnmlError] Launch kernel failed.

[11-28 15:5:11] [LOG_MATCHER] [cnmlError] group id: 54 type: ACTIVE

2023-11-28 15:05:11.610523: [cnmlError] MATCHER: launchTpl: No match template!

[ERROR][/pytorch/catch/torch_mlu/csrc/aten/operators/cnml/internal/sqrt_internal.cpp][line:34][cnml_sqrt_internal][thread:140653100107584][process:32491]: 

CNML error: CNML_STATUS_UNSUPPORT

[WARNING][/pytorch/catch/torch_mlu/csrc/aten/operators/op_methods.cpp][line:1954][sqrt][thread:140653100107584][process:32491]: 

sqrt Op cannot run on MLU device, start running on CPU!

Killed



版权所有 © 2024 寒武纪 Cambricon.com 备案/许可证号:京ICP备17003415号-1
关闭