Ascend는 Huawei에서 제공하는 Natural Process Unit입니다
이 페이지에서는 LangChain에서 ascend NPU를 사용하는 방법을 다룹니다.

설치

torch-npu를 사용하여 설치하세요:
pip install torch-npu
아래 명시된 대로 설치 지침을 따르세요:
  • 여기에 표시된 대로 CANN을 설치하세요.

Embedding Models

사용 예제를 참조하세요.
from langchain_community.embeddings import AscendEmbeddings

Connect these docs programmatically to Claude, VSCode, and more via MCP for real-time answers.
I