-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error occurs when I run stable diffusion 2.1 #42
Comments
model_zoo( https://gitee.com/ascend/ModelZoo-PyTorch/tree/master/PyTorch/built-in/diffusion/stablediffusion-2.1 ) 已有适配完成的,可以参考使用 |
升级到CANN 7.1 torch==2.1.0 torch-npu==2.1.0.post3后,又出现以下问题:
|
这个不是基于diffusers的 |
same issue!do you have any updates? |
cann 和 torch_npu 同步更新,可以的话使用最新的版本 |
Loading pipeline components...: 100%|██████████| 6/6 [00:01<00:00, 3.86it/s]
0%| | 0/50 [00:00<?, ?it/s].EZ9999: Inner Error!
EZ9999 [InferShape] The k-axis of a(64) and b(9216) tensors must be the same[FUNC:InferShape][FILE:matrix_calculation_ops.cc][LINE:1402]
TraceBack (most recent call last):
Failed to infer output shape[FUNC:BatchMatMulInferShape][FILE:matrix_calculation_ops.cc][LINE:2455]
Call InferShapeAndType for node:BatchMatMul(BatchMatMul) failed[FUNC:Infer][FILE:infershape_pass.cc][LINE:119]
process pass InferShapePass on node:BatchMatMul failed, ret:4294967295[FUNC:RunPassesOnNode][FILE:base_pass.cc][LINE:530]
build graph failed, graph id:126, ret:1343242270[FUNC:BuildModel][FILE:ge_generator.cc][LINE:1443]
[Build][SingleOpModel]call ge interface generator.BuildSingleOpModel failed. ge result = 1343242270[FUNC:ReportCallError][FILE:log_inner.cpp][LINE:161]
[Build][Op]Fail to build op model[FUNC:ReportInnerError][FILE:log_inner.cpp][LINE:145]
build op model failed, result = 500002[FUNC:ReportInnerError][FILE:log_inner.cpp][LINE:145]
My Code:
torch torch-npu version: 1.11.0
CANN 6.3
The text was updated successfully, but these errors were encountered: