Ascend
Ascend is Natural Process Unit provide by Huawei
This page covers how to use ascend NPU with LangChain.
Installation
Install using torch-npu using:
pip install torch-npu
Please follow the installation instructions as specified below:
- Install CANN as shown here.
Embedding Models
See a usage example.
from langchain_community.embeddings import AscendEmbeddings
API Reference:AscendEmbeddings