Mojo 🔥 — a new programming language for all AI developers.
Mojo combines the usability of Python with the performance of C, unlocking unparalleled programmability of AI hardware and extensibility of AI models.
Write everything in one language
Write Python or scale all the way down to the metal. Program the multitude of low-level AI hardware. No C++ or CUDA required.
The full power of MLIR
Parallel heterogenous runtime
Fast compile times
Leverage types for better performance and error checking.
Zero Cost Abstractions
Take control of storage by inline-allocating values into structures.
Ownership + borrow checker
Take advantage of memory safety without the rough edges.
Portable parametric algorithms
Leverage compile-time meta-programming to write hardware-agnostic algorithms and reduce boilerplate.
LANGUAGE INTEGRATED Auto-tuning
Automatically find the best values for your parameters to take advantage of target hardware.
Unlock Python performance
Utilize the full power of the hardware, including multiple cores, vector units, and exotic accelerator units, with the world's most advanced compiler and heterogenous runtime. Achieve performance on par with C++ and CUDA without the complexity.
Mojo leverages MLIR, which enables Mojo developers to take advantage of vectors, threads, and AI hardware units.
Parallel processing across multiple cores
Access the entire Python ecosystem
Experience true interoperability with the Python ecosystem. Seamlessly intermix arbitrary libraries like Numpy and Matplotlib and your custom code with Mojo.
Upgrade your models and the Modular stack
Easily extend your models with pre and post-processing operations, or replace operations with custom ones. Take advantage of kernel fusion, graph rewrites, shape functions, and more.
Mojo can upgrade the existing operations in your model.
Try Mojo 🔥 out right now in our Playground
Mojo is still a work in progress, but it's available to try today in our JupyterHub-based Playground. Run through tutorials and write your own Mojo code.
We have plenty of easy-to-use Jupyter notebooks to help you get started learning Mojo 🔥.
Our docs will help you quickly discover why Mojo is such a powerful extension to Python, and the future of AI programming.
Come and chat with us on our Discord, and help shape the future of the language as we continue to develop it.
Ready to play with Mojo?
Reach out to gain access to the Mojo Playground.
Read the Mojo docs