MCPcopy Index your code
hub / github.com/modelscope/modelscope / is_transformers_available

Function is_transformers_available

modelscope/utils/import_utils.py:286–287  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

284
285
286def is_transformers_available():
287 return importlib.util.find_spec('transformers') is not None
288
289
290def is_diffusers_available():

Callers 4

__init__.pyFile · 0.90
fix_transformers_upgradeFunction · 0.90
pipelineFunction · 0.90
__init__.pyFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…