This guide covers setting up your development environment for ml-mangrove.
For most users working on Windows/Mac/Linux without Mamba models:
# Clone the repository
git clone https://github.com/UCSD-E4E/ml-mangrove.git
cd ml-mangrove
# Create conda environment
conda create -n mangrove python=3.11 -y
conda activate mangrove
# Install PyTorch (with CUDA if available)
# Follow https://pytorch.org/ to install torch for your OS
# Example for Windows: pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cu126
# Install project dependencies
pip install -r requirements.txtMamba state-space models require specific versions and WSL2 on Windows.
Full guide: WSL2 Setup Guide
- Install Python extension
- Select interpreter:
mangroveconda environment - Open notebooks with Jupyter extension
- Install "Remote - WSL" extension
- Click green button (bottom-left) → "Reopen in WSL"
- Select kernel: "Python (Mamba-WSL2)"