Skip to content

Magpie 0.1.0

Pre-release
Pre-release

Choose a tag to compare

@haofrank haofrank released this 13 Jul 01:02
· 69 commits to main since this release
0171222

Magpie 0.1.0

The initial public beta release of Magpie establishes a lightweight,
general-purpose framework for evaluating GPU kernel correctness and performance
across AMD and NVIDIA hardware.

Packaging and installation

  • The package version is 0.1.0, and the Python package classifier marks Magpie as beta software.
  • Core installs remain lightweight. pip install installs only Magpie's core Python dependencies.
  • IntelliKit components are pinned to a fixed commit and moved behind optional extras instead of being installed by default.
  • The intellikit extra installs the pinned IntelliKit integrations: metrix, accordo, nexus, linex, kerncap, rocm-mcp, and uprof-mcp.
  • The all extra installs MCP plus the IntelliKit integrations.

Documentation

  • Installation docs now distinguish core, MCP-only, IntelliKit, and full optional installs.
  • Ray documentation now clarifies that worker requirements.txt installation does not automatically install pyproject extras.
  • Missing-tool messages for Metrix and Accordo now point to the matching Magpie extras.

Evaluation modes

  • Analyze: Single-kernel evaluation against a testcase, with optional performance profiling.
  • Compare: Multi-kernel comparison and ranking against a configurable baseline to identify the fastest correct implementation.
  • Benchmark: Framework-level benchmarking for vLLM, SGLang, and Atom, with optional torch profiler and system profiler runs.

Hardware and execution

  • Support for AMD (HIP/ROCm) and NVIDIA (CUDA) GPUs.
  • Three execution environments: local host, sandboxed container, and remote Ray cluster.
  • Hardware-aware evaluation with optional GPU power and frequency control.
  • Automatic idle-GPU selection in Benchmark mode for both AMD and NVIDIA devices.

Kernel types

  • HIP, CUDA, PyTorch, and Triton kernels.

Profiling and trace analysis

  • Pluggable performance profiler backends: rocprof-compute (AMD), ncu (NVIDIA), and IntelliKit Metrix.
  • Optional correctness validation via testcase or IntelliKit Accordo.
  • TraceLens integration for performance trace analysis.
  • Kernel-level gap analysis from torch profiler traces, including a standalone mode that runs on existing traces.
  • Kernel source finder to locate kernel source files and test commands for AMD kernels.

Integration

  • Model Context Protocol (MCP) server exposing Magpie capabilities to AI agents.
  • Agent skill packaging for environments without MCP.
  • Structured JSON reports for pipeline integration.

Configuration

  • Framework-level configuration via config.yaml.
  • Per-evaluation kernel configuration files for analyze and compare modes.
  • Benchmark configuration files for framework benchmarks.