Device while using pipeline

while using pipeline with TPU, how can we check whether the device pipeline is using is TPU if we set device_map to “auto”?