Mapping Between Analysis Functions and Inputs
MindStudio Advisor executes and outputs the analysis results of all sub-functions at once, but different functions require different inputs. This section introduces the mapping between the analysis functions and inputs. See Table 1.
Bottleneck Identification Function |
File |
How to Obtain |
|---|---|---|
Roofline model-based operator bottleneck identification and tuning suggestion |
CCE code |
You can add --op_debug_level=4 to the ATC tool to obtain the CCE code, or save it during operator build. For details, see the ATC Instructions. |
Profiling Task Scheduler data file |
After MindStudio Advisor is started, the Profiling is automatically started to obtain data. No manual configuration is required. |
|
Offline OM model file |
The offline OM model file can be generated in multiple modes, for example, using the ATC tool. For details, see Model Conversion and Tuning. |
|
Timeline-based tuning of AI CPU operators |
Profiling Task Scheduler data file |
After MindStudio Advisor is started, the Profiling is automatically started to obtain data. No manual configuration is required. |
Offline OM model file |
The offline OM model file can be generated in multiple modes, for example, using the ATC tool. For details, see Model Conversion and Tuning. |
|
Operator fusion recommendation |
Profiling summary file |
The op_Summary.csv and l2_cache.csv files are used. After MindStudio Advisor is started, the Profiling is automatically started to obtain data. No manual configuration is required. |
Offline OM model file |
The offline OM model file can be generated in multiple modes, for example, using the ATC tool. For details, see Model Conversion and Tuning. |
|
TransData operator identification |
Profiling summary file and basic profiling information file (providing the basic information about the current processor version.) |
After MindStudio Advisor is started, the Profiling is automatically started to obtain data. No manual configuration is required. |
Offline OM model file |
The offline OM model file can be generated in multiple modes, for example, using the ATC tool. For details, see Model Conversion and Tuning. |
|
Operator tuning analysis |
Operator simulation file. |
The file is obtained from TMMdoel simulation. Create and develop an operator project by referring to Operator Development. You only need to run the operator UT and do not need to manually obtain the file. |
For details about the data file names and storage directories, see Obtaining Input Data.