Skip to content

Conversation

@fpzh2011
Copy link
Contributor

@fpzh2011 fpzh2011 commented Jun 28, 2024

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

@fpzh2011 fpzh2011 requested a review from xiezipeng-ML June 28, 2024 02:53
@ShawnXuan ShawnXuan requested a review from oneflow-ci-bot July 30, 2024 09:16
@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.

3 participants