File size: 608 Bytes
7677e00 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
# 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
```
|