-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
conv2d_gradfix not supported on pytorch 1.10
#196
Comments
(Related to #195) |
TAHNKS |
I created a pull request #197 for the fix! Hope it helps 🤗 |
Make sure, the cuda is 11.1 or later, notice it is not the cuda that comes with pytorch, but the cuda of the machine itself, it is locate in /usr/local/cuda. It needs to be downloaded and installed manually. The official also gave the answer in styleGAN3,can be see in https://github.com/NVlabs/stylegan3/blob/main/docs/troubleshooting.md |
Thank you! This works for me! |
It works for me! Perfect! With RTX 3060, CUDA 11.5, and Torch 10.0.2+111 |
Upon applying this patch, I'm getting the following:
|
You can fix this problem by modifying |
The problem persists still, even after doing so. Any way of resolving this problem? |
Try to use the |
This line is not forwards compatible with PyTorch 1.10 and the fallback leads to
RuntimeError: derivative for aten::grid_sampler_2d_backward is not implemented
.I will follow up with a full stack trace and a PR to address this.Edit: I see that this repository isn't accepting PRs, hopefully this will help anyone seeing this issue in the future.
Editing this line as well (which runs the same check) fixes this issue.
CUDA 11.4 with
torch==1.10.0+cu111
, tested on V100s and K80sThe text was updated successfully, but these errors were encountered: