AIFrontierLab/TorchUMM

A unified multimodal model toolkit

What it solves

TorchUMM provides a unified interface for the inference, evaluation, and post-training of multimodal models. It eliminates the need to manage separate codebases for different models that perform image understanding (Image $\rightarrow$ Text), image generation (Text $\rightarrow$ Image), and image editing, allowing users to run and compare them through a shared, config-driven framework.

How it works

The toolkit uses a pluggable model architecture with adapters for various multimodal backbones. It abstracts the complexity of model-specific requirements into YAML configurations, enabling users to switch between models and benchmarks without changing code. The framework supports local execution via a CLI, cloud-native scaling via Modal, and specialized execution for AMD ROCm clusters. It also includes a dedicated pipeline for batch inference and a Python API for programmatic access.

Who it’s for

Researchers and developers working with multimodal AI who need to evaluate multiple models across different benchmarks or perform post-training (such as SFT or UniCot) using a consistent set of tools.

Highlights

  • Unified Interface: Supports a wide array of unified multimodal models (e.g., Bagel, Emu3.5, Janus-Pro) and single-task models (e.g., FLUX.2, Qwen2.5-VL).
  • Comprehensive Evaluation: Integrated support for 10+ benchmarks covering generation, understanding, and editing (e.g., MME, MMBench, GenEval, WISE).
  • Post-Training Toolkit: Includes methods for SFT, IRG, recA, and UniCot.
  • Cloud-Native Scaling: Seamless integration with Modal for GPU scaling and automated output uploads to HuggingFace.
  • vLLM Integration: Native vLLM integration for specific models like Emu3.5 to optimize inference speed.

Related

  • Project
  • Project
  • Project
  • Project
  • Project