MCPcopy Create free account
hub / github.com/YesianRohn/TextSSR / backend_device_count

Function backend_device_count

diffusers/src/diffusers/utils/testing_utils.py:1006–1007  ·  view source on GitHub ↗
(device: str)

Source from the content-addressed store, hash-verified

1004
1005
1006def backend_device_count(device: str):
1007 return _device_agnostic_dispatch(device, BACKEND_DEVICE_COUNT)
1008
1009
1010# These are callables which return boolean behaviour flags and can be used to specify some

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected