-[Asynchronous Data Dump](#asynchronous-data-dump)
-[Log-related Environment Variables and Configurations](#log-related-environment-variables-and-configurations)
<!-- /TOC -->
...
...
@@ -216,6 +217,53 @@ val:[[1 1]
[1 1]]
```
## Asynchronous Data Dump
When the training result deviates from the expectation on Ascend, the input and output of the operator can be dumped for debugging through Asynchronous Data Dump.
1. Turn on the switch to save graph IR: `context.set_context(save_graphs=True)`.
2. Execute training script.
3. Open `hwopt_d_end_graph_{graph id}.ir` in the directory you execute the script and find the name of the operators you want to Dump.