# Ascend

>[Ascend](https://https://www.hiascend.com/) is Natural Process Unit provide by Huawei

This page covers how to use ascend NPU with LangChain.

### Installation

Install using torch-npu using:

```bash
pip install torch-npu
```

Please follow the installation instructions as specified below:
* Install CANN as shown [here](https://www.hiascend.com/document/detail/zh/canncommercial/700/quickstart/quickstart/quickstart_18_0002.html).

### Embedding Models

See a [usage example](/docs/integrations/text_embedding/ascend).

```python
from langchain_community.embeddings import AscendEmbeddings
```
