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

move tensor to cpu before numpy #1949

Merged
merged 2 commits into from Aug 11, 2023
Merged

move tensor to cpu before numpy #1949

merged 2 commits into from Aug 11, 2023

Conversation

dennisbader
Copy link
Collaborator

Fixes #1944.

Summary

  • fixes a bug when using TFTExplainer with a TFTModel running on GPU.

Copy link
Collaborator

@madtoinou madtoinou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

@dennisbader dennisbader merged commit cf57f77 into master Aug 11, 2023
9 checks passed
@dennisbader dennisbader deleted the fix/tft_explainer_gpu branch August 11, 2023 07:28
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

Successfully merging this pull request may close these issues.

[BUG] TypeError in explain function for TFT
2 participants