mindspore-ai / mindspore

MindSpore is a new open source deep learning training/inference framework that could be used for mobile, edge and cloud scenarios.
https://gitee.com/mindspore/mindspore
Apache License 2.0
4.24k stars 700 forks source link

官网案例--FCN, LSTM+CRF和DCGAN在pynative_mode下 报错[ERROR]KERNEL:Launch] Kernel launch failed,,具体日志信息见附件 #297

Open cui0523 opened 1 month ago

cui0523 commented 1 month ago

Environment

Hardware Environment(Ascend/GPU/CPU): Ascend

Uncomment only one /device <> line, hit enter to put that in a new line, and remove leading whitespaces from that line:

/device ascend

Software Environment:

Describe the current behavior

python xxx.py 时执行报错runtime error

Describe the expected behavior

代码执行成功

Steps to reproduce the issue

1,下载mindspore官网案例--FCN, LSTM+CRF和DCGAN 2,ms.set_context(mode=ms.PYNATIVE_MODE, device_target="Ascend", ascend_config={"precision_mode": "allow_mix_precision"}) 3,python XXX.py

Related log / screenshot

屏幕截图 2024-07-15 145111

6.27_dcgan_pynative_infer.log 6.27_lstm&crf_pynative_infer.log 7.3_fcn8s_pynative_infer.log

Special notes for this issue

wyq-Git commented 1 month ago

在gitee仓库跟踪