Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
253
def
is_swift_available():
254
return
importlib.util.find_spec(
'swift'
) is not None
255
256
257
def
is_tf_available():
Callers
5
__init__
Method · 0.90
tune_module
Method · 0.90
copy_files_and_dump_config
Method · 0.90
efficient_stable_diffusion.py
File · 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…