Home
last modified time | relevance | path

Searched refs:_get_device_module (Results 1 – 6 of 6) sorted by relevance

/external/pytorch/torch/distributed/checkpoint/
Doptimizer.py8 from torch._utils import _get_device_module
56 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)
Dplanner_helpers.py6 from torch._utils import _get_device_module
310 device = cast(torch.device, _get_device_module(device_type).current_device())
Dfilesystem.py33 from torch._utils import _get_available_device_type, _get_device_module
141 self.device_module = _get_device_module(self.device_type)
/external/pytorch/torch/utils/
Dcheckpoint.py92 def _get_device_module(device="cuda"): function
178 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)
/external/pytorch/torch/distributed/fsdp/
D_shard_utils.py9 from torch._utils import _get_device_module
/external/pytorch/torch/
D_utils.py907 def _get_device_module(device_type: str): function