Skip to main content

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:

  1. Built-in registry — 30+ popular models (GPT-4o, Claude, Gemini, Llama, Qwen). Instant, no network.
  2. HuggingFace Hub — fetches config.json, looks for vision_config, audio_encoder, architecture class names.
  3. 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

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.0.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mmcheck-0.2.0-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file mmcheck-0.2.0.tar.gz.

File metadata

  • Download URL: mmcheck-0.2.0.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for mmcheck-0.2.0.tar.gz
Algorithm Hash digest
SHA256 c64ab8023706d1b39a51d51183b3a93b1617a8347ed0885855676ad7bead056f
MD5 8d5a6d905bfd5a029da0119053d2f6a8
BLAKE2b-256 192788e4d9a4427da006839a59b7e54b36742d0db6d3daf106a958f456075c8f

See more details on using hashes here.

File details

Details for the file mmcheck-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: mmcheck-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for mmcheck-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e7aff1fa0740b909e770e2a9f92bcca625aa9475306e8b0e288e2681d5893346
MD5 020685c0e7ea345c85fe1e2febb7abde
BLAKE2b-256 913754cf4a25b83a8d26cd3e9251918b2af59c24cdcd50fbb665c22105c4b372

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page