torch.mtia.current_device torch.mtia.current_device() Return the index of a currently selected device. Return type: int