Overview
The msprof parsing tool is encapsulated using the msprof.py script for direct parsing and export of profile data.
Tool Usage Process
To export profile data using msprof.py, take the following steps:
- Complete the operations in Parsing Profile Data.
- (Optional) Complete the operations in Querying Profile Data File Information.
Perform this step if you need to specify the iteration ID or model ID for parsing. Otherwise, skip it.
- Complete the operations in Exporting Profile Data.
- For the following products, profile data cannot be directly parsed, queried, or exported on devices. Instead, you need to copy the collected PROF_XXX directory to an environment where the Toolkit package is installed for these data operations.
Ascend RC scenarios ofAtlas 200I/500 A2 inference products
- Run the msprof.py tool as the common user created during installation.
Parent topic: Using msprof.py to Parse, Query, and Export Profile Data