MCPcopy
hub / github.com/huggingface/transformers / is_grouped_mm_available

Function is_grouped_mm_available

src/transformers/utils/import_utils.py:674–675  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

672
673@lru_cache
674def is_grouped_mm_available() -> bool:
675 return is_torch_available() and version.parse(get_torch_version()) >= version.parse("2.9.0")
676
677
678@lru_cache

Callers 2

Calls 3

is_torch_availableFunction · 0.85
get_torch_versionFunction · 0.85
parseMethod · 0.45

Tested by

no test coverage detected