Skip to content

Release Notes: MagiCompiler v1.1.0 ⚡

Latest

Choose a tag to compare

@jiahy0825 jiahy0825 released this 01 Jul 13:46
· 52 commits to main since this release
ee74106

We are thrilled to announce the release of MagiCompiler v1.1.0!

Following our v1.1.0 milestone, this cycle focuses heavily on practical performance acceleration and developer experience. We have pushed the boundaries of model optimization and fusion capabilities, while also introducing a much more intuitive API for custom operators and ready-to-use training recipes.

A massive thank you to everyone who contributed to this release! 🚀

🌟 What's New

⚡ Performance Acceleration

  • 🔥 Massive VAE Inference Acceleration: We achieved highly optimized decoding speeds for VAE inference via dynamic Conv layout rearrangement. This substantially reduces decoding overhead and memory bottlenecks, yielding a significant 1.87x speedup. We have also provided ready-to-use examples so you can easily reproduce these high-performance results out of the box!

  • Matmul Epilogue Fusion: Unlocked aggressive new fusion patterns to directly boost compute throughput. Supported fusions now include chain fusion for Matmul + element-wise ops, as well as Matmul + swiglu_fwd.

  • Robust Artifact Caching: Overhauled our caching system. The new load/save mechanism robustly reuses the compilation cache, drastically reducing recompilation times and warmup overhead across runs.

  • AutoRecompute & Frontend Fixes: Deeply refactored the AutoRecompute mechanism for training to lay a cleaner foundation for maximizing throughput, and resolved underlying capture speed issues for a much faster full-graph capturing experience.

🤝 Community & Ecosystem

  • Enhanced Custom Op API (magi_register_custom_op): Integrating your own operators is now more intuitive than ever! The API elegantly supports custom dataclasses and can auto-infer output metadata, stripping away the boilerplate previously required for custom op registration.

  • New Training Examples: To help developers hit the ground running, we've added comprehensive Llama-3 training recipes, demonstrating how to seamlessly weave MagiCompiler into standard LLM training loops.

New Contributors

Full Changelog: v1.0.0...v1.1.0