Skip to main content

Python function

scan_available_devices

scan_available_devices()

max.driver.scan_available_devices()

source

Returns all available accelerators, or a CPU device if none are available.

Return type:

list[DeviceSpec]