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

官网案例--快速入门,RNN,CycleGAN,ResNet50迁移学习,ResNet50图像分类 ,ViT,ShuffleNet,Pix2Pix,GAN,SSD,和Diffusion在pynative_mode下 报错RunimeError,具体日志信息见附件 #296

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官网案例--快速入门,RNN,CycleGAN,ResNet50迁移学习,ResNet50图像分类 ,ViT,ShuffleNet,Pix2Pix,GAN,SSD,和Diffusion 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 144039 屏幕截图 2024-07-15 144141

0715_quick_pynative.log 0715_rnn_pynative.log 0629_pix2pix_infer_pynative.log 0629_shufflenet_infer_pynative_failed.log 6.21_cyclegan_pynative_infer.log 0607_diffusion_pynative.log

Special notes for this issue

wyq-Git commented 1 month ago

在gitee仓库跟踪