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

TypeError: devices selected with CPUAccelerator should be an int > 0. #9

Open
ShangyiAlone opened this issue Mar 21, 2024 · 3 comments

Comments

@ShangyiAlone
Copy link

image
请问这个问题是出在哪里呢?是cuda环境没有配置好导致检测不到gpu吗?

@ShangyiAlone
Copy link
Author

目前问题很怪,我今天用conda安装了torch,可以检测到gpu了,理论上我提过的这个问题应该得到解决,但现在又有了新问题,就是pyarrow包的问题,目前报错是这样的
image
我查询了有关资料,有人说是版本低的原因,但我更新到最新版也还是报这个错,十分奇怪

@Zing22
Copy link
Collaborator

Zing22 commented Mar 22, 2024

试一下用python3.8

@ShangyiAlone
Copy link
Author

试一下用python3.8
谢谢,真实有用,就是python版本冲突

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