Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/deepspeedai/DeepSpeed
/ is_current_accelerator_supported
Function
is_current_accelerator_supported
accelerator/real_accelerator.py:47–48 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
45
46
47
def
is_current_accelerator_supported():
48
return
get_accelerator().device_name() in SUPPORTED_ACCELERATOR_LIST
49
50
51
def
get_accelerator():
Callers
2
skip_on_arch
Function · 0.90
skip_on_cuda
Function · 0.90
Calls
2
get_accelerator
Function · 0.85
device_name
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…