Searched refs:_get_device_module (Results 1 – 6 of 6) sorted by relevance
8 from torch._utils import _get_device_module56 device_module = _get_device_module(device_type)103 device = cast(torch.device, _get_device_module(device_type).current_device())106 device_type, _get_device_module(device_type).current_device()271 device_module = _get_device_module(dp_pg_device_type)
6 from torch._utils import _get_device_module310 device = cast(torch.device, _get_device_module(device_type).current_device())
33 from torch._utils import _get_available_device_type, _get_device_module141 self.device_module = _get_device_module(self.device_type)
92 def _get_device_module(device="cuda"): function178 device_module = _get_device_module(_infer_device_type(*args))200 device_module = _get_device_module(device_type)243 device_module = _get_device_module(ctx.device_type)1476 device_module = _get_device_module(device_type)
9 from torch._utils import _get_device_module
907 def _get_device_module(device_type: str): function