EXPERIMENTAL API! Subject to change/removal at any time. Configures the provided list of devices to be accessible to this container. This currently works for Nvidia devices only. Parameters ---------- devices: List of devices to be acces
(self, devices: list[str])
| 2148 | return Container(_ctx) |
| 2149 | |
| 2150 | def experimental_with_gpu(self, devices: list[str]) -> Self: |
| 2151 | """EXPERIMENTAL API! Subject to change/removal at any time. |
| 2152 | |
| 2153 | Configures the provided list of devices to be accessible to this |
| 2154 | container. |
| 2155 | |
| 2156 | This currently works for Nvidia devices only. |
| 2157 | |
| 2158 | Parameters |
| 2159 | ---------- |
| 2160 | devices: |
| 2161 | List of devices to be accessible to this container. |
| 2162 | """ |
| 2163 | _args = [ |
| 2164 | Arg("devices", devices), |
| 2165 | ] |
| 2166 | _ctx = self._select("experimentalWithGPU", _args) |
| 2167 | return Container(_ctx) |
| 2168 | |
| 2169 | async def export( |
| 2170 | self, |