提供者MoreAscendOn this pageAscendAscend 是华为提供的自然处理单元本页面介绍如何使用 ascend NPU 与 LangChain。安装使用 torch-npu 安装:pip install torch-npu请按照以下指定的安装说明进行操作:按照 这里 所示安装 CANN。嵌入模型查看 使用示例。from langchain_community.embeddings import AscendEmbeddings