Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
674
def
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
AfmoePreTrainedModel
Class · 0.85
AfmoePreTrainedModel
Class · 0.85
Calls
3
is_torch_available
Function · 0.85
get_torch_version
Function · 0.85
parse
Method · 0.45
Tested by
no test coverage detected