Deploy Mojo Playground on Northflank
Published 13th November 2023
By Northflank
Mojo combines the usability of Python with the performance of C, unlocking unparalleled programmability of AI hardware and extensibility of AI models.
Progressive types: 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.
- Combined build & deploy service
- Persistent volume
To build the Mojo container you'll need a Modular Auth Key. Create an account and log in to developer.modular.com. Copy your auth key, which is displayed after the modular auth
commands in the instructions, and paste it into the MODULAR_AUTH_KEY
argument override field.
- Create an account on Northflank
- Click
deploy Mojo now
- Enter your
MODULAR_AUTH_KEY
in argument overrides - Click
deploy stack
to save and run the Mojo template - Select the Mojo service when the template run has finished
- Open the
code.run
domain to use your Mojo service
You can now use your Mojo Playground! Data will be persisted on the volume mounted to /home
.