Displaying Profile Data

Previewing on the GUI

Displaying Data in the Cluster Scenario

You can import and display cluster data to MindStudio Insight without manually merging multiple single-card data. MindStudio Insight supports multiple hosts and cards in the training scenario and multiple cards in the inference scenario. It can automatically identify all trace_view.json and msprof*.json files in the imported folder. Figure 2 shows the timeline data of 16 cards.

Figure 2 Timeline data display in cluster scenarios

In a cluster scenario, you can hover the pointer over the card number to quickly locate the file directory corresponding to the card data. The file directory corresponding to the card is displayed. For example, if you hover the pointer over 0, the file directory corresponding to the card is displayed, as shown in Figure 3.

Figure 3 Locating a folder

Displaying and Comparing Data by Card/Unit

When cluster data is imported, a large amount of timeline information is displayed. To help users compare and analyze data, To help users compare and analyze data, data can be filtered and displayed by card or/and unit in MindStudio Insight.

When filtering data by card and unit, you can select the card and unit in sequence to display the filtering information.

  • Display by card: displays only one card. Click in the upper left corner of the page, select Card Filter, click the text box, and select 1 from the drop-down list. The timeline information of card 1 is displayed, as shown in Figure 4.
    Figure 4 Card Filter
  • Display by unit: displays only the Overlap Analysis unit of each card. Click on the toolbar in the upper left corner of the page, choose Units Filter, and click the text box. Select Overlap Analysis from the drop-down list. The timeline information of the Overlap Analysis unit is displayed, as shown in Figure 5.
    Figure 5 Units Filter

Pinning and Comparing Data by Unit

Supporting Single Card and Unit Time Alignment

In the single-card, cluster, and multi-model scenarios, the relative positions of timelines are automatically aligned. If automatic alignment is not required, right-click anywhere, choose Recover cards default offset from the shortcut menu to restore the default offsets of all cards and models, and manually align the relative positions.

Displaying Multiple Hosts and Cards

When multiple hosts and cards are imported, data can be displayed by host in MindStudio Insight, as shown in Figure 12.

This function can be displayed only in the unified DB scenario.

Figure 12 Displaying multiple hosts and cards

Setting and Viewing Markers

Displaying Operator Flows

Selectively Analyzing Multi-Card Data

When data of more than 16 cards is imported to MindStudio Insight, you can selectively analyze the data on the Timeline tab page. You can perform one-click global analysis or partial analysis.

Aligning Custom Operator Time

MindStudio Insight supports aligning the time of selected operators using the shortcut keys, which facilitates operator information comparison.