Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Ascend npu doc and dependency #3930

Merged
merged 3 commits into from
May 29, 2024
Merged

Add Ascend npu doc and dependency #3930

merged 3 commits into from
May 29, 2024

Conversation

MengqingCao
Copy link
Contributor

What does this PR do?

增加以下内容:

  • Ascend NPU installation doc
  • LLaMA-Factory installation with torch-npu in setup.py

other info

安装完 LLaMA-Factory 之后,再 pip install torch-npu,直接使用该 python 环境会报错 CANN 初始化错误,该错误由缺少 decorator 依赖包引起,建议在setup中增加torch-npu对应的安装包,指定版本对齐及补充缺少的依赖

log:
image

Before submitting

@hiyouga hiyouga added the pending This problem is yet to be addressed label May 28, 2024
@hiyouga
Copy link
Owner

hiyouga commented May 29, 2024

LGTM

@hiyouga hiyouga merged commit 880b4a9 into hiyouga:main May 29, 2024
1 check passed
@hiyouga hiyouga added solved This problem has been already solved and removed pending This problem is yet to be addressed labels May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
solved This problem has been already solved
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants