# Device

> **Class** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/embeddings/titan_takeoff/Device)

Device to use for inference, cuda or cpu.

## Signature

```python
Device()
```

## Extends

- `str`
- `Enum`

## Properties

- `cuda`
- `cpu`

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/a6a6079511ac8a5c1293337f88096b8641562e77/libs/community/langchain_community/embeddings/titan_takeoff.py#L17)