MindStudio Kernel Launcher

A Lightweight Tool for Invoking Ascend AI Operators

Ascend License

✨ Latest News

🔹 [2025.12.31]: The MindStudio Kernel Launcher project is now fully open source

️ ℹ️ Overview

MindStudio Kernel Launcher (msKL) provides lightweight kernel invocation capabilities. Using the msKL tool, you can leverage the provided APIs to quickly generate kernel launch code, compile, and run kernels within Python scripts.

⚙️ Feature Introduction

msKL provides the ability to invoke msOpGen Operator Projects and perform automatic tuning based on the Ascend C template library. The specific features are described as follows:

Feature Name Feature Description
Invoke msOpGen Operator Project Provides the tiling_func and get_kernel_from_binary interfaces, allowing direct invocation of msOpGen Operator Projects.
Automatic Tuning Provides the capability to generate, compile, and run Kernel launch code from the template library, supporting in-kernel code replacement and automatic tuning.

🚀 Quick Start

To quickly experience the core features using a simple addition operator as an example, See also msKL Quick Start.

📦 Installation Guide

Introduces the environmental dependencies and installation methods of the tool. See also msKL Installation Guide.

📘 User Guide

For detailed usage of the tool, See also msKL User Guide

📚 API Reference

See also msKL External API Reference.

❓ FAQ

For common issues and solutions, See also msKL FAQ.

🛠️ Contribution Guide

Contributions are welcome. See also Contribution Guide.

🔹 Release Notes
🔹 License Notice
🔹 Security Statement
🔹 Disclaimer

🤝 Suggestions and Communication

We welcome everyone to contribute to the community. If you have any questions or suggestions, please submit an Issue, and we will respond as soon as possible. Thank you for your support.

📱 Follow MindStudio Official Account 💬 More Communication and Support

Scan to follow for the latest updates
💡 Join WeChat Group:
Follow the official account and reply "communication group" to get the group QR code.

🛠️ Other Channels:
👉 Ascend Assistant: WeChat
👉 Ascend Forum: Website

🙏 Acknowledgments

This tool is jointly contributed by the following departments of Huawei:
🔹 Ascend Computing MindStudio Development Department
🔹 Ascend Computing Ecosystem Enablement Department
🔹 Huawei Cloud Ascend Cloud Service
🔹 2012 Compiler Lab
🔹 2012 Markov Lab
Thanks for every PR from the community, contributions are welcome.