# Device while using pipeline

**URL:** <https://discuss.huggingface.co/t/device-while-using-pipeline/77708>\
**Category:** 🤗Transformers\
**Created:** [March 16, 2024, 9:18pm UTC](https://discuss.huggingface.co/t/device-while-using-pipeline/77708 "2024-03-16T21:18:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vivek9840](https://avatars.discourse-cdn.com/v4/letter/v/eb8c5e/32.png) [@vivek9840](https://discuss.huggingface.co/u/vivek9840)\
**Post date:** [March 16, 2024, 9:18pm UTC](https://discuss.huggingface.co/t/device-while-using-pipeline/77708/1 "2024-03-16T21:18:32Z")

</div>

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