Check if a model supports multimodal inputs and what modalities it handles
Project description
mmcheck
Check if a model supports multimodal inputs.
pip install mmcheck
Quick start
from mmcheck import check
info = check("google/gemma-4-27b-it")
info.multimodal # True
info.input_modalities # ["text", "image", "video"]
info.supports("image") # True
info.supports("audio") # False
CLI
mmcheck google/gemma-4-27b-it
# Model: google/gemma-4-27b-it
# Multimodal: YES
# Inputs: text, image, video
# Outputs: text
mmcheck meta-llama/Llama-3-8B
# Multimodal: NO
mmcheck --json google/gemma-4-27b-it
mmcheck --offline gemma-4-27b-it
How it works
Three layers, checked in order:
- Built-in registry — 30+ popular models (GPT-4o, Claude, Gemini, Llama, Qwen). Instant, no network.
- HuggingFace Hub — fetches
config.json, looks forvision_config,audio_encoder, architecture class names. - vLLM cross-reference — tags models with vLLM multimodal support status.
| Modality | Detection |
|---|---|
| Image | vision_config, vision_tower, known VLM architectures |
| Audio | audio_config, audio_encoder, Whisper, Ultravox |
| Video | video_config, LLaVA-Next-Video, MiniCPM-V |
Gated models
For gated HuggingFace models (401/403), mmcheck falls back to the public API metadata (tags, pipeline_tag). If you want full config inspection:
export HF_TOKEN=hf_...
mmcheck google/gemma-4-27b-it
Or in Python:
info = check("google/gemma-4-27b-it", token="hf_...")
License
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mmcheck-0.2.1.tar.gz
(7.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mmcheck-0.2.1.tar.gz.
File metadata
- Download URL: mmcheck-0.2.1.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
88485ced4f0105bc1f7b3de079b719a696ea6516dcebbe54341679f4c42ff503
|
|
| MD5 |
c073bf8e195a189ffe257e173c008633
|
|
| BLAKE2b-256 |
eccb53ff1626b90d28746c94eb4266466985a39cb1e150928a36dfbb395d9837
|
File details
Details for the file mmcheck-0.2.1-py3-none-any.whl.
File metadata
- Download URL: mmcheck-0.2.1-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e38348776b924a85dba6f0700efd15f715538ec5c29c559ae7017c9847d13c2a
|
|
| MD5 |
0baa31b07c2c877c94ef31ff354bbf08
|
|
| BLAKE2b-256 |
456491957cd50b8f22d8b998f9a19becec18cacf0474937b07e5915f7472fc60
|