ascend-moe-optimizer-trace-analyzer

Official

Turn Ascend MoE traces into actionable insights.

AuthoropenJiuwen-ai
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It helps you quickly identify performance bottlenecks in Ascend Mixture-of-Experts (MoE) runs by turning Chrome/Perfetto trace.json data into structured phase/category/core-group statistics and an interpretable diagnosis, instead of manually inspecting timelines.

Core Features & Use Cases

  • Trace-to-Stats Pipeline: Parses trace.json (including X events and B/E paired events) and maps raw event names into deterministic phases via a configurable phase map.
  • Bottleneck-Ready Reporting: Produces CSV and Markdown reports with phase instances, summaries by phase/category/core-group, overlap analysis, and bubble (unattributed time) detection.
  • Deterministic Auto Diagnosis (Optional LLM Expansion): Generates structured, evidence-based findings and can optionally append an LLM-produced expert interpretation.
  • MoE/FusedDeepMoe Focus: Comes with a default phase mapping optimized for UMDK-style FusedDeepMoe traces, while still supporting custom trace mappings when analyzing other sources.

Quick Start

Use the ascend-moe-optimizer-trace-analyzer skill to analyze your trace.json file by running python3 app.py --trace trace.json --output-dir output/case1.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: ascend-moe-optimizer-trace-analyzer
Download link: https://github.com/openJiuwen-ai/jiuwenswarm/archive/main.zip#ascend-moe-optimizer-trace-analyzer

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.