Installation
Installing MUPPET-XAI from PyPI
To install Muppet-XAI with pip from PyPI:
Installing MUPPET-XAI for Development
First clone or fork the repository.
MUPPET supports both standard and containerized environments for streamlined setup. Follow the instructions below depending on your preference.
Without Docker
-
Install uv
-
Run the following command to install development and documentation dependencies:
With Docker (Recommended)
- Build the development Docker image:
If you develop on a host machine with an NVIDIA GPU and the required drivers installed, build Docker image that supports CUDA:
Otherwise, on machines without a dedicated NVIDIA GPU:
- Run a development container and open a VS Code window using the Dev Containers extension:
docker run -it --rm --gpus all -v /app/.venv -v $(pwd):/app --name muppet_dev muppet/muppet:latest /bin/bash
Alternatively, you can open the project directly via VSCode, this method is recommended because it ensures that every developer has the same dev environement, including VSCode extensions, settings,..., by using:
Command Palette → Dev Containers: Open Folder in Container...