MagiCompiler
Full-graph compilation and strict PR code review for PyTorch
All Skills in This Repository (1)
Pure Emerald Level IndicatorsFrequently Asked Questions
FAQPage SchemaHow to install MagiCompiler?โผ
Run `npx skills add SandAI-org/MagiCompiler --all -g -y` in your terminal to install all skills in this repository globally.
What does MagiCompiler do?โผ
It is a compiler framework built on torch.compile that speeds up large Transformer training and inference through full-graph capture, smart offloading, and automatic activation recomputation.
How to speed up PyTorch model training?โผ
Decorate your core Transformer block once with @magi_compile to get FSDP-aware layer-wise compilation and up to 20% extra speedup with no model refactoring.
How to review a PR with the code-review skill?โผ
Ask your agent to review a PR or branch, and it fetches only the ahead-of-base diff, applies a strict P0-P4 severity framework, and saves a markdown report in the repo.
Does MagiCompiler require code changes?โผ
Almost none. Two decorators deliver the acceleration out of the box, and it integrates into existing multi-modality frameworks with minimal intrusion.
Related Repositories in Software Engineering
View All in Software Engineeringโopenclaw
Run a personal AI assistant across your devices and chat apps
superpowers
Gives coding agents a disciplined workflow from idea to merged code
react
AI agent skills for building, testing, and porting React core