You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix: simplify docker build workflow to be multiplatform
* fix: set the slang version to 0.5.10
* docker: fix gpu base image to be compatible with CUDA 12
* docker: remove entrypoints
* docker: add bash entrypoint to overwrite base images entrypoint
* docs: update README.md
* workflow: change naming of docker images
* workflow: remove CI triggered by PRs to main
* feat: migrate CI docker images push to GHCR
* style: fix indentations in README.md and missing command
* docs: add section on prebuilt docker images on GHCR in README.md
docker compose run --rm mmirage --config configs/your_config.yaml
46
+
# GPU
47
+
docker pull ghcr.io/epflight/mmirage:latest-gpu
48
+
docker run --rm -it --gpus all ghcr.io/epflight/mmirage:latest-gpu
49
+
50
+
# CPU
51
+
docker pull ghcr.io/epflight/mmirage:latest-cpu
52
+
docker run --rm -it ghcr.io/epflight/mmirage:latest-cpu
45
53
```
46
54
55
+
### GPU
56
+
47
57
The container requires an NVIDIA GPU. The `docker-compose.yml` is configured to request GPU access, but the host must have:
48
58
- NVIDIA GPU drivers installed
49
59
- NVIDIA Container Toolkit / `nvidia-container-runtime` configured for Docker
50
60
- A recent Docker Engine and Docker Compose version with GPU support enabled
51
61
52
-
Without these host-side prerequisites, `docker compose run` may fail to detect or use the GPU.
62
+
Commands:
63
+
64
+
```bash
65
+
# Build
66
+
docker compose build mmirage
67
+
68
+
# Run
69
+
docker compose run --rm -it mmirage
70
+
```
53
71
54
72
### CPU-only
55
73
56
-
The CPU image installs MMIRAGE without the GPU extra. It is suitable for
57
-
workflows that do not instantiate the SGLang-backed `llm` processor, and is
58
-
intended to support API-backed processors once they are available. Current
59
-
configs that use `type: llm` require the GPU image or an install with the
60
-
`[gpu]` extra.
74
+
The CPU image installs MMIRAGE without the GPU extra. It is suitable for workflows that do not instantiate the SGLang-backed `llm` processor, and is intended to support API-backed processors once they are available. No CPU-ready configuration files are provided yet.
75
+
76
+
Commands:
61
77
62
78
```bash
63
-
docker compose run --rm mmirage-cpu --config configs/your_config.yaml
0 commit comments