parallel-strategy-analyzer

Analyzes model and hardware to rank optimal multi-layer perceptron.

7|3|Updated Feb 27, 2026
One-click install
npx skills add https://github.com/mindspore-ai/hyper-parallel --skill parallel-strategy-analyzer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: parallel-strategy-analyzer
Source: https://github.com/mindspore-ai/hyper-parallel/tree/main/.claude/skills/parallel-strategy-analyzer
Command: npx skills add https://github.com/mindspore-ai/hyper-parallel --skill parallel-strategy-analyzer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Analyze model architecture and hardware constraints to recommend optimal parallel strategy configurations for distributed training.

Core Features & Use Cases

  • Memory-aware evaluation of strategy candidates across DP/TP/PP/EP/CP/FSDP
  • Auto-synthesis of device mesh recommendations and per-device memory estimates
  • Use cases: selecting strategies for large-scale models (LLaMA-70B, Mixtral MoE, MLA/GQA/MHA styles) on diverse hardware

Quick Start

Provide a 70B-class model on 64 devices and the tool will output a ranked set of strategy configurations with memory, bubble, and throughput estimates.

Frequently Asked Questions about parallel-strategy-analyzer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I choose the best distributed training strategy for a large language model?

To choose a distributed training strategy, you analyze model architecture and hardware constraints to recommend optimal configurations across DP, FSDP, TP, PP, EP, and CP. This provides ranked candidates with memory, communication, compute, and pipeline bubble estimates.

What is the best way to estimate memory usage for parallel training strategies?

Estimating memory for parallel training involves evaluating per-layer activation and parameter estimates against your memory budget. The analysis outputs per-device memory estimates alongside global baseline and candidate configurations to ensure constraints are satisfied.

Can I use this distributed training analyzer for MoE architectures like Mixtral on 64 devices?

Yes, you can analyze MoE architectures like Mixtral on 64 devices. The tool evaluates diverse model scales and hardware topologies, auto-synthesizing device mesh recommendations and ranked strategy configurations tailored to your specific setup.

How do I configure device mesh topologies for models using GQA or MHA attention?

Configuring device mesh topologies for GQA or MHA models requires evaluating strategy candidates across diverse parallel approaches. The tool auto-synthesizes device mesh recommendations by analyzing your specific model architecture and hardware constraints.

What distributed training limitations should I consider when evaluating pipeline parallelism?

When evaluating pipeline parallelism, consider the pipeline bubble estimates and communication overhead generated by the analysis. These constraints are evaluated against your memory budget and compute optimization goals to rank viable candidate configurations.