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

请问wenda平台支持在昇腾NPU芯片上运行吗? #533

Open
Code-Evan opened this issue Apr 18, 2024 · 1 comment
Open

请问wenda平台支持在昇腾NPU芯片上运行吗? #533

Code-Evan opened this issue Apr 18, 2024 · 1 comment

Comments

@Code-Evan
Copy link

如题,wenda平台是否支持在国产化昇腾NPU芯片上运行,我迁移过去有报错,有大佬成功过吗?
报错如下:
allocate:torch_npu/csrc/core/npu/NPUCachingAllocator.cpp:2050 NPU error, error code is 107002
[Error]: The context is empty.
Check whether acl.rt.set_context or acl.rt.set_device is called.

@ImmNaruto
Copy link
Contributor

这个主要是模型端的适配,要设置一下上下文指定的npu,可以参考昇腾官方对大模型侧的适配,也可以参考http://mirrors.cn-central-221.ovaijisuan.com/article/7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants