# 静态图执行卡死问题：For MakeTuple, the inputs should not be empty..node:xxxxxxxxxxxx

**1. 训练进程表现为行卡死**

MindSpore进行训练不断打印如下info日志.

```
[INFO] ANALYZER(37828,fff0caffd1e0,python):2022-08-24-14:23:54.040.917 [mindspore/ccsrc/pipeline/jit/static_analysis/prim.cc:1559] EvalPrim] For MakeTuple, the inputs should not be empty. node: ↓_tensor_getitem_by_tuple_slice.509:[CNode]511{[0]: ValueNode MakeTuple} 

[INFO] ANALYZER(37828,fff0caffd1e0,python):2022-08-24-14:23:54.041.199 [mindspore/ccsrc/pipeline/jit/static_analysis/prim.cc:1559] EvalPrim] For MakeTuple, the inputs should not be empty. node: ↓_tensor_getitem_by_tuple_slice.509:[CNode]513{[0]: ValueNode MakeTuple} 

[INFO] ANALYZER(37828,fff0ca7fc1e0,python):2022-08-24-14:23:54.221.939 [mindspore/ccsrc/pipeline/jit/static_analysis/prim.cc:1559] EvalPrim] For MakeTuple, the inputs should not be empty. node: ↓_tensor_getitem_by_tuple_slice.509:[CNode]511{[0]: ValueNode MakeTuple} 
```

或者

查询mindspore 进入abstract\_specialize 阶段后（info 日志打印  Status record: start abstract\_specialize action. 即进入此阶段）卡主不动.

**2. 请检查construct函数中是否使用了控制流语句**

大概率是因为控制流语句不符合静态图语法限制

[网络构建](https://www.mindspore.cn/tutorials/zh-CN/r1.8/advanced/network/control_flow.html)此页面搜索“约束”

