Skip to content

Latest commit

 

History

History

001-Mojo-vs-Python

The Mojo Programming Language for AI

In this project, you'll learn about the new Mojo programming language, and run a quick benchmark vs Python.

Here's what we'll learn

  • What is Mojo
  • How Mojo works under the hood
  • Benchmark Mojo and Python
  • Matrix Multiplication in Mojo
  • LLVM and MLIR Compiler Frameworks
  • Run Llama2 in Pure Mojo

Resources

📝Full Blog Article


Table of Contents


Dependencies

Install

  • Install Modular and Mojo on MacOS:

    make install_mac
  • Install Modular and Mojo on Linux

    make install_linux

Usage

  • Run MatMul benchmark with:
    make run_bench_custom