torch.cpu.current_stream torch.cpu.current_stream(device=None) Returns the currently selected Stream for a given device. Parameters: device () – Ignored.