Skip to content
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

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

Open
cui0523 opened this issue Jul 15, 2024 · 1 comment

Comments

@cui0523
Copy link

cui0523 commented Jul 15, 2024

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:

  • MindSpore version (source or binary): daily包version-br版本 2.3.0+20240526
    Python version (e.g., Python 3.7.5): 3.9.2
  • Python version (e.g., Python 3.7.5): 3.9.2
  • OS platform and distribution (e.g., Linux Ubuntu 16.04):Linux Ubuntu
  • GCC/Compiler version (if compiled from source):

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
Copy link

wyq-Git commented Jul 29, 2024

在gitee仓库跟踪

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants