Releases: hw-native-sys/pypto-tools
Releases · hw-native-sys/pypto-tools
Release list
pypto-toolkit v4.0.33
New Features & Enhancements
-
Added dedicated Serving STRACE swimlane support
- Recognize files matching
*strace-swimlane*.jsonand open them in the dedicated Serving STRACE mode - Parse instant events and display detailed event arguments
- Color event bars by
event.name
- Recognize files matching
-
Added dedicated folding and configuration behavior for Serving STRACE
- Fold controller and serving-worker threads while preserving their child lanes
- Automatically reopen the swimlane after the folding configuration changes
- Hide controls that do not apply to Serving STRACE, including dependency-depth settings, the standard performance panel, and MIX-mode settings
-
Refined Serving STRACE performance analysis
- Focus the analysis on total duration and worker statistics
- Aggregate task count and average, maximum, and minimum duration by
WorkerProcess.*
-
Added Level 4 Chip Swimlane performance analyses
- Added Gap and Blocker Analysis for observed critical paths
- Added Early Dispatch Analysis to inspect dispatch timing relative to the final
FINevent among predecessor tasks - Support result filtering, task highlighting, pressing Esc to restore the default view, and clear validation messages for invalid input
- Guide users to inspect Early Dispatch time ranges in the Scheduler View
-
Enhanced continuous single-dependency analysis
- Renamed consecutive single-kernel analysis to continuous single-dependency analysis
- Unified the display of
rXtY, SPMD, and MIX information
-
Improved performance analysis tables
- Unified sorting behavior across performance analysis tables
- Added fixed headers, full-screen viewing, horizontal scrolling, and responsive text wrapping
-
Enhanced analysis time-range markers
- Draw or clear the corresponding time range from the context menu of Gap and Blocker or Early Dispatch table rows
- Display paired timeline markers with custom labels
- Identify the corresponding AIC/AIV lane in marker labels
- Automatically position labels on the left or right while keeping them within the visible boundary
pypto-toolkit v4.0.31
New Features & Enhancements
-
Added the PyPTO Studio memory reuse analyzer
- Parse
*_after_AllocateMemoryAddr.pyfiles - Visualize functions, tiles, memory spaces, memory ranges, reuse relationships, conflicts, and hardware limits
- Support source-code viewing, source navigation, function/Tile linking, chart zooming, and theme adaptation
- Parse
-
Enhanced the performance analysis panel
- Added the “Kernel Statistics” tab
- Display function ID, function name, task count, and maximum/minimum/average execution time
- Added table sorting, fixed headers, and full-screen viewing
- Renamed “Performance Statistics” to “Performance Analysis”
- Improved the display of the complete AICore end-to-end timing label
-
Added critical path analysis
- Invoke the simpler critical path tool directly from the performance analysis panel
- Generate
CPM_static.json,CPM_observed.json, andcritical_path_report.md - Open the generated critical path report directly from the IDE
- Switch to the corresponding critical path preview after analysis
-
Added consecutive single-kernel analysis
- Identify consecutive single-kernel chains from task dependencies in
deps.json - Exclude non-compute tasks such as AICPU_N, ALLOC, and DUMMY tasks
- Display each candidate chain and its task count in a table
- Highlight all tasks in the selected chain
- Mark SPMD, MIX, and combined SPMD/MIX tasks
- Identify consecutive single-kernel chains from task dependencies in
-
Enhanced IR Pass Trace discovery
- Search for
passes_dumpin the parent directory of the chip swimlane data - Recursively locate snapshot directories containing
00_frontend.py - Provide clearer messages when
passes_dumpor frontend snapshots are missing, including guidance to enable--dump-passes
- Search for
-
Improved dependency graph UI and interactions
- Refined node styles, tooltips, context menus, and dependency-edge rendering
- Improved task highlighting, layout behavior, and localization
-
Improved swimlane editing interactions
- Keep task operation panels and timeline marker editors within the visible window
- Close panels when clicking outside, switching views, selecting another task, right-clicking another task, or pressing Esc
- Keep panels attached to the selected task or marker while zooming, panning, or moving the view
Bug Fixes
- Fixed operation panels appearing outside the window and becoming unselectable
- Fixed stale operation panels remaining visible after switching tasks or views
- Fixed editor panels not following their selected task or marker after view movement
- Fixed performance table header transparency, alignment, and sorting issues
- Fixed memory reuse analyzer rendering issues with many tiles, zooming, and long titles
- Fixed dependency graph node, edge, and tooltip rendering issues
pypto-toolkit v4.0.29
New Feature
- Added IR Pass Trace visualization for viewing IR changes across compiler passes. Compare IR before and after each pass.
- Filter changed and unchanged passes. Filter changes by function. Switch between side-by-side and stacked layouts.
pypto-toolkit v4.0.28
New Features & Enhancements
- Added full support for chip_swimlane_records file recognition and chip_swimlane_level parsing, while maintaining complete backward compatibility with existing l2_swimlane_records and l2_swimlane_level data formats.
- Extended the name‑map lookup page to support chip swimlane file searching and matching.
- Improved chip swimlane timeline marker interactions: display formatted timestamps on drawn marker lines, and support closing the operation popup and edit panel by re‑clicking the same timeline marker line.
- Optimized task scheduling dependency matching: match scheduling threads and stages based on task
dispatch_time_us, and unifydrainwithdrain_prepareas the unified dependency anchor. - Refined task dependency rendering: retain task‑instance‑level dependencies via explicit event IDs, and remove folding of homonymous successor tasks across different views for accurate dependency presentation.
pypto-toolkit v4.0.26
New Features
- Critical Path Preview Optimization for L2 Swimlane Chart: When previewing the l2_swimlane_records.json file, if the critical path analysis output files (CPM_observed.json and CPM_static.json) exist in the same directory, users can enable the corresponding critical path display mode via the critical path option in the render configuration. In this mode, non-critical path tasks in the worker view of the L2 swimlane window will be uncolored and become non-selectable, making it easier to focus on core critical path tasks.
- Full Task ID Search Support: Extended the task search function for deps*.json preview. The search feature now supports matching complete task IDs in the format of r{}t{}, enabling more accurate and precise task lookup.
Bug Fixes
- Table Sorting Fix: Fixed the issue of ascending/descending sorting failure when clicking the header row of the preview table for name_map*.json files. The one-click header sorting feature now works properly to support quick data sorting and viewing.
pypto-toolkit 4.0.24
Release pypto-toolkit 4.0.24.