MCPcopy Create free account
hub / github.com/TencentARC/BrushNet / backend_device_count

Function backend_device_count

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

Source from the content-addressed store, hash-verified

906
907
908def backend_device_count(device: str):
909 return _device_agnostic_dispatch(device, BACKEND_DEVICE_COUNT)
910
911
912# 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