Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 925 Bytes

INSTALL.md

File metadata and controls

14 lines (10 loc) · 925 Bytes

Installation

  • We'll use conda to install dependencies and set up the environment. We recommend using the Python 3.9 Miniconda installer.

  • After installing conda, install mamba to the base environment. Please refer to mamba Installation for details. mamba is a faster, drop-in replacement for conda.

  • Next, create a new environment named m2hub and install dependencies. Instructions are for PyTorch 1.13.1, CUDA 11.6 specifically.

    mamba env create -f environment.yml
  • Activate the conda environment with conda activate m2hub.

  • Install the m2models package with pip install -e .. We recommend using mamba to install dependencies before install m2models as detailed above for easier installation.