Metrics
The demo exposes these metric choices:
Metric availability can depend on the dataset path and local files. For example, ROPE needs annotated boxes, while NOPE reads its response JSON input rather than the normal dataset caption path.
Models
The prediction factory supports two local vision-language model wrappers:paligemmausesgoogle/paligemma-3b-mix-224by default. Override the model identifier or local path withMIRAGE_PALIGEMMA_MODEL_PATH.qwen2vlusesQwen/Qwen2-VL-2B-Instructby default. Override it withMIRAGE_QWEN_MODEL_PATH.
demo.py. A different checkpoint can be used through the model-path override only when it is compatible with that wrapper. DeepSeek-VL is not currently supported; adding it requires a model wrapper and factory registration before it can be selected as a separate model key. See Maintain the docs for the implementation handoff requirements.
Set MIRAGE_VL_MODEL to choose the default model when --model is omitted. Models are loaded for inference at runtime; model weights are not included in the repository.
Result caching
Predictions pass through thepredict package, which wraps model inference with a response cache. Cache identity and storage are implemented in predict/identity.py and predict/cache.py; the demo’s SLURM example sets MIRAGE_CACHE_DIR to a job-specific directory.