To install mmore
, run the following:
-
Clone the repository
git clone https://github.com/swiss-ai/mmore
-
Install the package
pip install -e .
Note that you can specify to install certain parts of the pipeline. In example, to install only the processor-related dependencies, put '.[processor]'
. We support processor, rag, all
.
sudo apt update
sudo apt install -y ffmpeg libsm6 libxext6 chromium-browser libnss3 \
libgconf-2-4 libxi6 libxrandr2 libxcomposite1 libxcursor1 libxdamage1 \
libxext6 libxfixes3 libxrender1 libasound2 libatk1.0-0 libgtk-3-0 libreoffice
Refer to the uv installation guide for detailed instructions.
curl -LsSf https://astral.sh/uv/install.sh | sh
git clone https://github.com/swiss-ai/mmore
cd mmore
uv sync
For CPU-only installation, use:
uv sync --extra cpu
Activate the virtual environment before running commands:
source .venv/bin/activate
Note: For manual installation without Docker, refer to the section below.
Follow the official Docker installation guide.
docker build . --tag mmore
To build for CPU-only platforms (results in a smaller image size):
docker build --build-arg PLATFORM=cpu -t mmore .
docker run -it -v ./test_data:/app/test_data mmore
Note: The test_data
folder is mapped to /app/test_data
inside the container, corresponding to the default path in examples/process_config.yaml
.