2.4K Star 8.2K Fork 4.4K

GVPMindSpore / mindspore

 / 详情

[ST][MS][教程][MAC]cnnctc、generative_diffusion、gan教程在Mac_Arm环境训练有打印告警日志

DONE
Bug-Report
创建于  
2024-04-15 15:58
name about labels
Bug Report Use this template for reporting a bug kind/bug

Describe the current behavior / 问题描述 (Mandatory / 必填)

cnnctc、generative_diffusion、gan教程在Mac_Arm环境训练有打印告警日志
gan教程地址:https://www.mindspore.cn/tutorials/application/zh-CN/master/generative/gan.html

Environment / 环境信息 (Mandatory / 必填)

  • Hardware Environment(Ascend/GPU/CPU) / 硬件环境:

Please delete the backend not involved / 请删除不涉及的后端:
/device CPU

  • Software Environment / 软件环境 (Mandatory / 必填):
    -- MindSpore version (e.g., 1.7.0.Bxxx) :
    -- Python version (e.g., Python 3.7.5) :
    -- OS platform and distribution (e.g., Linux Ubuntu 16.04):
    -- GCC/Compiler version (if compiled from source):
    失败版本:r2.3_aa16e0b8 Milan_C17/20240408

  • Excute Mode / 执行模式 (Mandatory / 必填)(PyNative/Graph):

Please delete the mode not involved / 请删除不涉及的模式:
/mode pynative
/mode graph

Related testcase / 关联用例 (Mandatory / 必填)

用例路径:solution_test/cases/03subject_test/06document/02network_cases
关联用例:test_ms_tutorial_cv_cnnctc_0001.py、test_ms_tutorial_generative_diffusion_0001.py、test_ms_tutorial_cv_gan_0001.py

Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)

  1. 进入官网,https://www.mindspore.cn/tutorials/application/zh-CN/master/generative/gan.html
  2. 下载样例代码,使用python执行
  3. 验证教程网络训练是否成功,日志中是否存在告警日志

Describe the expected behavior / 预期结果 (Mandatory / 必填)

网络训练成功,日志中不存在告警日志

Related log / screenshot / 日志 / 截图 (Mandatory / 必填)

WARNING日志重复次数	WARNING日志
1 mindspore/ccsrc/runtime/graph_scheduler/graph_scheduler.cc:446] Initialize] The number of actor threads is only: 1, and pipelined runtime optimization is not enabled, the performance may not reach the optimal level. Please increase the value of `runtime_num_threads` in context or not set `runtime_num_threads`.

Special notes for this issue/备注 (Optional / 选填)

走给李振宇

评论 (4)

baimz 创建了Bug-Report
baimz 添加了
 
kind/bug
标签
baimz 添加了
 
attr/function
标签
baimz 添加了
 
stage/coding
标签
baimz 添加了
 
v2.3.0
标签
baimz 添加了
 
sig/runtime
标签
展开全部操作日志

Please assign maintainer to check this issue.
请为此issue分配处理人。
@baimz

感谢您的提问,您可以评论//mindspore-assistant更快获取帮助:

  1. 如果您刚刚接触MindSpore,或许您可以在教程找到答案
  2. 如果您是资深Pytorch用户,您或许需要:
  1. 如果您遇到动态图问题,可以设置set_context(pynative_synchronize=True)查看报错栈协助定位
  2. 模型精度调优问题可参考官网调优指南
  3. 如果您反馈的是框架BUG,请确认您在ISSUE中提供了MindSpore版本、使用的后端类型(CPU、GPU、Ascend)、环境、训练的代码官方链接以及可以复现报错的代码的启动方式等必要的定位信息
  4. 如果您已经定位出问题根因,欢迎提交PR参与MindSpore开源社区,我们会尽快review
xiangminshan 负责人xiangminshan 修改为zyli2020
baimz 移除了
 
v2.3.0
标签
baimz 移除了
 
v2.3.0
标签
baimz 添加了
 
v2.3.0.rc2
标签
fangwenyi 移除了
 
v2.3.0.rc2
标签
fangwenyi 移除了
 
v2.3.0.rc2
标签
fangwenyi 添加了
 
v2.3.0
标签
baimz 添加了
 
v2.3.0.rc2
标签
baimz 添加了
 
v2.3.0.rc2
标签
baimz 移除了
 
v2.3.0.rc2
标签
baimz 移除了
 
v2.3.0.rc2
标签
baimz 移除了
 
v2.3.0.rc2
标签
baimz 移除了
 
v2.3.0.rc2
标签

#Appearance & Root Cause
正常网络教程用例出现了warning日志,由于未精确识别用户设置线程数导致打印了不必要的warning日志。
#Fix Solution
修改日志打印条件,仅仅在用户显式设置了单线程执行给出提示
!68299:Only give runtime thread number warning log when enable runtime pipeline
r2.3和master都已合入

Self-test Report & DT Review
是否需要补充ST/UT:否
原因:单线程执行一般用于调试,非典型场景

i-robot 添加了
 
gitee
标签
zyli2020 里程碑B-SIG-Runtime 修改为B-ComponentTest
zyli2020 任务状态TODO 修改为ACCEPTED
zyli2020 任务状态ACCEPTED 修改为WIP
zyli2020 任务状态WIP 修改为VALIDATION
zyli2020 添加了
 
rct/newfeature
标签
zyli2020 添加了
 
rca/codelogic
标签
zyli2020 添加了
 
ctl/componenttest
标签
zyli2020 添加协作者zyli2020
zyli2020 负责人zyli2020 修改为baimz

回归版本:
master_20240627093542_7751ae59de736
回归步骤:参考issue步骤
测试结论:回归通过
输入图片说明
回归人员:白梦真
回归时间:2024.06.28

i-robot 添加了
 
foruda
标签
baimz 任务状态VALIDATION 修改为DONE

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(4)
11016979 xiangmd 1654824581
Python
1
https://gitee.com/mindspore/mindspore.git
git@gitee.com:mindspore/mindspore.git
mindspore
mindspore
mindspore

搜索帮助

344bd9b3 5694891 D2dac590 5694891