MCPcopy
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
47def is_current_accelerator_supported():
48 return get_accelerator().device_name() in SUPPORTED_ACCELERATOR_LIST
49
50
51def get_accelerator():

Callers 2

skip_on_archFunction · 0.90
skip_on_cudaFunction · 0.90

Calls 2

get_acceleratorFunction · 0.85
device_nameMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…