# Device

> **Class** in `langchain_community`

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

The 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/4b280287bd55b99b44db2dd849f02d66c89534d5/libs/community/langchain_community/llms/titan_takeoff.py#L12)