2.4K Star 8.2K Fork 4.4K

GVPMindSpore / mindspore

 / 详情

【ST】【MS】【2.3】【可靠性】yolov3_darknet53网络训练到执行阶段,kill -9杀死一个worker进程,报错信息不符合预期

REJECTED
Bug-Report
创建于  
2024-03-29 17:08
name about labels
Bug Report Use this template for reporting a bug kind/bug

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

yolov3_darknet53网络训练到执行阶段,kill -9杀死一个worker进程,报错信息不符合预期

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

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

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

  • 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):
    ms包: commit_id = '[sha1]:5a94f41a,[branch]:(HEAD,origin/r2.3.q1,r2.3.q1)'
    run包: runpkg_version:Milan_C17/20240321

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

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

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

test_ms_fmea_kill9_worker_process_0002

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

1.拷贝网络脚本,修改脚本等配置操作
2.执行yolov3-darknet53脚本训练
3.网络八卡训练到编译阶段,kill -9杀死一个进程

执行用例流程如下:
source /home/miniconda3/bin/activate ci
export TRAIN_MODE=GRAPH_MODE
export DEVICE_TYPE=Ascend_Arm
export ENV_DEVICE=0
source solution_test/env_set.source -e ascend

cd solution_test/cases/03subject_test/00reliability_availability/01fault_injection/01business_fault/02process/00process_exit/ms_distribute_framework
pytest -s test_ms_fmea_kill9_worker_process_0002.py

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

有节点异常,进程退出相关的日志信息

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

EE1001: The argument is invalid.Reason: rtGetDevMsg execute failed, reason=[context pointer null]
Solution: 1.Check the input parameter range of the function. 2.Check the function invocation relationship.
TraceBack (most recent call last):
ctx is NULL![FUNC:GetDevErrMsg][FILE:api_impl.cc][LINE:4677]
The argument is invalid.Reason: rtGetDevMsg execute failed, reason=[context pointer null]

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

评论 (2)

wenli 创建了Bug-Report
wenli 添加了
 
kind/bug
标签
wenli 添加了
 
sig/runtime
标签
wenli 添加了
 
attr/reliability
标签
wenli 添加了
 
stage/func-debug
标签
展开全部操作日志

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

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

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

登录 后才可以发表评论

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

搜索帮助