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

support new device #540

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

support new device #540

wants to merge 2 commits into from

Conversation

fpzh2011
Copy link

@fpzh2011 fpzh2011 commented Jun 28, 2024

对于一些新的 AI 加速芯片,如昇腾、昆仑芯等,通常不会安装 CUDA 编译包,只安装 oneflow-cpu 和 npu/xpu 安装包。
因为没有 CUDA 编译包、不支持 placement("cuda", ranks) 的创建,运行时会报错。
现在改为接受传入的设备参数,或者根据 tensor 现有设备创建 placement。

@ShawnXuan ShawnXuan requested review from oneflow-ci-bot and removed request for oneflow-ci-bot July 31, 2024 03:11
@ShawnXuan ShawnXuan self-requested a review September 10, 2024 10:41
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

Successfully merging this pull request may close these issues.

2 participants