已合并
[docs] add aligned.json file documentation for debug_save #3584
Lyric创建于 17 天前
[docs] add aligned.json file documentation for debug_save #3584
已合并
共 1 个文件变更+3-2
| @@ -14,7 +14,7 @@ | |||
| 14 | |信息类型|说明| | 14 | |信息类型|说明| |
| 15 | |--|--| | 15 | |--|--| |
| 16 | |日志信息|PyTorch原生Dynamo日志<br>npugraph\_ex 日志| | 16 | |日志信息|PyTorch原生Dynamo日志<br>npugraph\_ex 日志| |
| 17 | -|Debug信息|AOT前的GraphModule<br>AOT后的GraphModule<br>每个公共Pass处理后的FX图(txt文件)<br>aclgraph优化中不同Pass处理后的FX图(txt文件)<br>aclgraph编译后的FX图结构信息(output_code.py文件)<br>aclgraph在Capture阶段捕获的模型运行实例信息(*.json文件)<br>注意:仅当配套的CANN版本是8.5.0及之后的版本,才会有该文件生成,否则不会生成。| | 17 | +|Debug信息|AOT前的GraphModule<br>AOT后的GraphModule<br>每个公共Pass处理后的FX图(txt文件)<br>aclgraph优化中不同Pass处理后的FX图(txt文件)<br>aclgraph编译后的FX图结构信息(output_code.py文件)<br>aclgraph在Capture阶段捕获的模型运行实例信息(原始*.json文件及用于可视化的*.aligned.json文件)<br>注意:仅当配套的CANN版本是8.5.0及之后的版本,才会有该文件生成,否则不会生成。| |
| 18 | 18 | ||
| 19 | ## 使用约束 | 19 | ## 使用约束 |
| 20 | 20 | ||
| @@ -70,7 +70,8 @@ python main.py | |||
| 70 | │ │ │ │ ├── 004_aot_forward_graph_after_${pass6_name}.txt | 70 | │ │ │ │ ├── 004_aot_forward_graph_after_${pass6_name}.txt |
| 71 | │ │ │ │ ├── ...... # 其他Pass优化 | 71 | │ │ │ │ ├── ...... # 其他Pass优化 |
| 72 | │ │ │ ├── dynamo_out_graph.txt # AOT前的GraphModule | 72 | │ │ │ ├── dynamo_out_graph.txt # AOT前的GraphModule |
| 73 | - │ │ │ ├── graph_1_id_${aclgraph_id}_rank_${rank_id}_pid_${pid}_ts_${timestamp}.json # 捕获的模型运行实例信息 | 73 | + │ │ │ ├── graph_1_id_${aclgraph_id}_rank_${rank_id}_pid_${pid}_ts_${timestamp}.json # 捕获的模型运行实例原始JSON |
| 74 | + │ │ │ ├── graph_1_id_${aclgraph_id}_rank_${rank_id}_pid_${pid}_ts_${timestamp}.aligned.json # 对齐后的JSON,用于可视化 | ||
| 74 | │ └── torchdynamo | 75 | │ └── torchdynamo |
| 75 | │ └── debug.log # Torch原生Dynamo日志 | 76 | │ └── debug.log # Torch原生Dynamo日志 |
| 76 | └── ... # Torch原生其他产物 | 77 | └── ... # Torch原生其他产物 |