Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use device duck typing for empty device lists
We are soon going to require all IFRT users to use `Client::MakeDeviceList()` to create a device list instead of calling `BasicDeviceList::Create()`. `PyDeviceList(nb::tuple py_device_assignment)` with an empty device assignment cannot infer the IFRT client to use, so it seems the simplest to fall back to device duck typing like we already do for device lists with devices from multiple clients. PiperOrigin-RevId: 726233342
- Loading branch information