Skip to main content

Packages

All the Modular APIs and tools (including MAX and Mojo) are included in a single Python/Conda package named modular. This page explains what's in the package and shows how to install it.

If you just want to get started with Modular, instead see our quickstart guide.

Package managers

You can install modular as a Python or Conda package. The install instructions below include commands for popular package managers such as pixi, uv, pip, and conda, but you can also use something else.

Traditional tools like pip and conda might be necessary for existing production environments or Docker containers, but for your local development, we recommend using Pixi.

Pixi is both a package manager and virtual environment manager, which alone makes development a lot easier, but it's also language agnostic, extremely fast, and includes lock files to easily reproduce your project environment.

You'll notice that our GitHub code examples include a pixi.toml file. This file configures the environment to make sure we all use the same packages and get the same results—you just need to install pixi.

So if you're not set on using a particular package manager, we suggest you try pixi. If you haven't used it before, check out our Pixi basics guide or the official Pixi docs.

Install

To get the latest improvements and new features, we recommend installing our nightly build, which we release several times a week. If you want a better tested but older version, you can install a stable build. (Each release is described in the changelog.)

  1. If you don't have it, install pixi:
    curl -fsSL https://pixi.sh/install.sh | sh

    Then restart your terminal for the changes to take effect.

  2. Create a project:
    pixi init example-project \
      -c https://conda.modular.com/max-nightly/ -c conda-forge \
      && cd example-project
  3. Install the modular conda package:
    pixi add modular
  4. Start the virtual environment:
    pixi shell

The modular package installs MAX, Mojo, and other package dependencies.

Uninstall

You can uninstall modular from your virtual environment with this command:

pixi remove modular

To deactivate your virtual environment, run:

exit

What's included

Here's a summary of what's in the modular package.

The modular Conda package installs the following:

pixi known issues:

  • You might encounter issues if you invoke pixi within a conda virtual environment. It's best if you don't mix the two tools.

System requirements

To install modular, your system must meet these specifications.

  • macOS Ventura (13) or later
  • Apple silicon (M1/M2/M3/M4 processor)
  • Python 3.9 - 3.13
  • Xcode or Xcode Command Line Tools
  • We currently don't support Mac GPUs

GPU compatibility

The Modular Platform supports both CPUs and GPUs, so you don't always need a GPU to serve a model or program with Mojo. But if you do want to accelerate your model with GPUs or program for GPUs with Mojo, we support the following GPUs.

Because we don't test every variant of a GPU architecture, and support for new architectures will improve incrementally, we've divided our list of compatible GPUs into 3 tiers:

Tier 1: Fully supported

We provide full support and testing for the following data center GPUs:

  • NVIDIA B200 (Blackwell)
  • NVIDIA H100 and H200 (Hopper)
  • NVIDIA A100 and A10 (Ampere)
  • AMD Instinct MI355X (CDNA4)
  • AMD Instinct MI300X and MI325X (CDNA3)

Tier 2: Confirmed compatibility

We've confirmed full compatibility with the following GPUs but we currently don't maintain tests for them:

  • NVIDIA L4 and L40 (Ada Lovelace)
  • NVIDIA RTX 40XX series (Ada Lovelace)
  • NVIDIA RTX 30XX series (Ampere)

Tier 3: Limited compatibility

We've either confirmed or received reports that the following GPUs work for GPU programming with Mojo and can execute basic graphs with MAX APIs. However, these GPUs currently can't run some GenAI models for various reasons:

  • NVIDIA Tesla P100 (Pascal)
  • NVIDIA RTX 20XX series (Turing)
  • NVIDIA T4 (Turing)
  • NVIDIA Jetson Orin and Orin Nano (Ampere)
  • NVIDIA GeForce RTX 3090 (Ampere)
  • NVIDIA GeForce GTX 1080 Ti (Pascal)
  • AMD Radeon 700M series (RDNA3)
  • AMD Radeon RX 7000 series (RDNA3)
  • AMD Radeon RX 9000 series (RDNA4)

If you've had success with any GPUs not listed here, please let us know on Discord.

GPU software requirements

Make sure you have the corresponding GPU software: