Deploy Mojo Playground on Northflank

Published 13th November 2023

Mojo combines the usability of Python with the performance of C, unlocking unparalleled programmability of AI hardware and extensibility of AI models.

Highlights

  • 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.

Stack

  • Combined build & deploy service
  • Persistent volume

Getting Started

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.

  1. Create an account on Northflank
  2. Click deploy Mojo now
  3. Enter your MODULAR_AUTH_KEY in argument overrides
  4. Click deploy stack to save and run the Mojo template
  5. Select the Mojo service when the template run has finished
  6. 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.

Share this template with your network