-
Notifications
You must be signed in to change notification settings - Fork 217
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
About 3090 #11
Comments
You can change the cuda toolkit version. |
Hey, Bravo to the authors @wuhaixu2016 @Jiehui-Xu , great work. I would just like to add one minor comment that might also be relevant to this (not exactly an "issue" tho), with the following modification I believe this implementation could be executed in torch version 1.5 or higher. So I saw that in README.md it was specified that your implementation was Pytorch 1.4 which is by default with CUDA 10.1. My GPU is also NVIDIA GeForce RTX 3090 (queried in commandline with In my environment, the error that was raised initially seemed to be within
I did a bit of searching in the pytorch forum and found the following explanation: So basically, in answer to @xuchunyu123 's question (which I believed was also raised in another previous issue by @Alex-seven regarding "gradient computation"), if you wanna use a higher version of Pytorch (1.5 or higher) with CUDA support, the solution seems to be as simple as to just reorganize the lines of Minimax strategy in the
Then it would work even if your environment is with a higher torch version. The rationale, as explained in the forum, seems to be that, all the torch versions before 1.4 (1.4 also included) is sort of not exactly computing the correct gradient, which was fixed in versions later (1.5 and higher). In earlier versions, if you put They fixed it in later versions, so now, if you still organize your code as it would work for versions 1.4 and earlier (as in, I was also wondering if the authors would feel like looking into it and testing this a bit, in some higher torch versions compatible with your GPU's CUDA version, since I believe it could potentially raise more compatibility issues to manually force-install an earlier torch version like 1.4 with a much higher cudatoolkit (e.g., 11.X) Cheers, |
@elisejiuqizhang |
Hi, I have updated the code in solver.py. Now, it works well in torch>=1.4.0 environments.
Just using the |
Hello, looking at other questions, I found that you mentioned that your environment is 3090, but I found that the cuda version supported by 3090 is above 11. How did you solve it?
The text was updated successfully, but these errors were encountered: