-
Notifications
You must be signed in to change notification settings - Fork 479
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
Toy Example breaks with CUDA on compute_convergence_delta for Integrated Gradients #163
Comments
compute_convergence_delta
compute_convergence_delta
Hi @suragnair, thanks for pointing out this bug! We will push a fix for this soon. |
Closed
facebook-github-bot
pushed a commit
that referenced
this issue
Nov 12, 2019
Summary: Convergence delta was failing on GPUs since the total attribution tensor was not being created on the same device, this fixes that bug. Also, adds data parallel / CUDA tests for computing deltas whenever available. Issue: #163 Pull Request resolved: #169 Differential Revision: D18440711 Pulled By: vivekmig fbshipit-source-id: 5b67ba75492eb3c6933d13e1e67914bf1d3e5241
miguelmartin75
pushed a commit
to miguelmartin75/captum
that referenced
this issue
Nov 20, 2019
Summary: Convergence delta was failing on GPUs since the total attribution tensor was not being created on the same device, this fixes that bug. Also, adds data parallel / CUDA tests for computing deltas whenever available. Issue: pytorch#163 Pull Request resolved: pytorch#169 Differential Revision: D18440711 Pulled By: vivekmig fbshipit-source-id: 5b67ba75492eb3c6933d13e1e67914bf1d3e5241
miguelmartin75
pushed a commit
to miguelmartin75/captum
that referenced
this issue
Dec 20, 2019
Summary: Convergence delta was failing on GPUs since the total attribution tensor was not being created on the same device, this fixes that bug. Also, adds data parallel / CUDA tests for computing deltas whenever available. Issue: pytorch#163 Pull Request resolved: pytorch#169 Differential Revision: D18440711 Pulled By: vivekmig fbshipit-source-id: 5b67ba75492eb3c6933d13e1e67914bf1d3e5241
miguelmartin75
pushed a commit
to miguelmartin75/captum
that referenced
this issue
Dec 20, 2019
Summary: Convergence delta was failing on GPUs since the total attribution tensor was not being created on the same device, this fixes that bug. Also, adds data parallel / CUDA tests for computing deltas whenever available. Issue: pytorch#163 Pull Request resolved: pytorch#169 Differential Revision: D18440711 Pulled By: vivekmig fbshipit-source-id: 5b67ba75492eb3c6933d13e1e67914bf1d3e5241
NarineK
pushed a commit
to NarineK/captum-1
that referenced
this issue
Nov 19, 2020
Summary: Convergence delta was failing on GPUs since the total attribution tensor was not being created on the same device, this fixes that bug. Also, adds data parallel / CUDA tests for computing deltas whenever available. Issue: pytorch#163 Pull Request resolved: pytorch#169 Differential Revision: D18440711 Pulled By: vivekmig fbshipit-source-id: 5b67ba75492eb3c6933d13e1e67914bf1d3e5241
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For the toy example with cuda
fails with the error
presumably since
attr_sum
is not on GPU. Turningreturn_convergence_delta
toFalse
results in no error.Similar issues may arise in other places, though I haven't checked.
The text was updated successfully, but these errors were encountered: