name | about | labels |
---|---|---|
Bug Report | Use this template for reporting a bug | kind/bug |
cnnctc、generative_diffusion、gan教程在Mac_Arm环境训练有打印告警日志
gan教程地址:https://www.mindspore.cn/tutorials/application/zh-CN/master/generative/gan.html
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
用例路径: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
网络训练成功,日志中不存在告警日志
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`.
走给李振宇
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
感谢您的提问,您可以评论//mindspore-assistant更快获取帮助:
#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:否
原因:单线程执行一般用于调试,非典型场景
回归版本:
master_20240627093542_7751ae59de736
回归步骤:参考issue步骤
测试结论:回归通过
回归人员:白梦真
回归时间:2024.06.28
登录 后才可以发表评论