MCPcopy Create free account
hub / github.com/modelscope/modelscope / is_swift_available

Function is_swift_available

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

Source from the content-addressed store, hash-verified

251
252
253def is_swift_available():
254 return importlib.util.find_spec('swift') is not None
255
256
257def is_tf_available():

Callers 5

__init__Method · 0.90
tune_moduleMethod · 0.90
__init__Method · 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…