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

CUDA error: invalid configuration argument #2

Closed
dongfengxijian opened this issue May 5, 2022 · 2 comments
Closed

CUDA error: invalid configuration argument #2

dongfengxijian opened this issue May 5, 2022 · 2 comments

Comments

@dongfengxijian
Copy link

你好,感谢分享你的工作。由于实验室只有一台3090(不匹配cuda10)的服务器,所以我只能安装pytorch1.7.0,python3.6.6,cudatoolkit11.0.3。但是会在main_branch.py的30行mat_inv_x, _ = torch.solve(eye_x, eye_x - (w ** 2) * affinity_mat)遇到CUDA error: invalid configuration argument这一报错。不知道该如何解决?求指导一下。

@LeonHLJ
Copy link
Owner

LeonHLJ commented May 5, 2022

你好,感谢分享你的工作。由于实验室只有一台3090(不匹配cuda10)的服务器,所以我只能安装pytorch1.7.0,python3.6.6,cudatoolkit11.0.3。但是会在main_branch.py的30行mat_inv_x, _ = torch.solve(eye_x, eye_x - (w ** 2) * affinity_mat)遇到CUDA error: invalid configuration argument这一报错。不知道该如何解决?求指导一下。

For high versions of CUDA and Pytorch, you can try to change the Line30 of main_branch.py, i.e., "mat_inv_x, _ = torch.solve(eye_x, eye_x - (w ** 2) * affinity_mat" to "mat_inv_x = torch.inverse(eye_x - (w ** 2) * affinity_mat)". I have run our method in this way and obtain similar results.

@dongfengxijian
Copy link
Author

dongfengxijian commented May 7, 2022

@LeonHLJ 感谢大佬的指导,用这个方式可以在cuda11下运行。

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