Mapping Between Analysis Functions and Inputs

MindStudio Advisor supports the following bottleneck identification functions. Each function requires different input data. The mapping between functions and input data files is as follows:

  • 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: This file can be generated in multiple modes, for example, using the ATC tool. For details, see Model Conversion.
  • Timeline-based tuning of AI CPU operators:
    • Offline OM model file: This file can be generated in multiple modes, for example, using the ATC tool. For details, see Model Conversion.
    • Profiling Task Scheduler data file: After MindStudio Advisor is started, the Profiling is automatically started to obtain data. No manual configuration is required.
  • Operator fusion recommendation:
    • Offline OM model file: This file can be generated in multiple modes, for example, using the ATC tool. For details, see Model Conversion.
    • 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.
  • TransData operator identification:
    • Offline OM model file: This file can be generated in multiple modes, for example, using the ATC tool. For details, see Model Conversion.
    • Profiling summary file and basic profiling information file (used to obtain 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.
  • For operator tuning analysis:

    Operator simulation file: 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 Input Data Description.