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

Resolve issue #143 - all VRAM gets allocated when importing xplique #146

Merged
merged 3 commits into from
Dec 13, 2023

Conversation

lucashervier
Copy link
Collaborator

This PR tackles issue #143. The issue was due to global variables that were tf.constant. We change that and it removes the behavior. In the meantime, we noticed that importing torch before tensorflow while on GPU may cause errors. Consequently, we add a message if this error appears and change the import order in the test file for the PyTorch wrapper.

Copy link
Collaborator

@AntoninPoche AntoninPoche left a comment

Choose a reason for hiding this comment

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

LGTM, great work Lucas!

@lucashervier lucashervier merged commit ac38cf4 into master Dec 13, 2023
15 checks passed
@lucashervier lucashervier deleted the lucas/issue branch December 13, 2023 14:37
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.

2 participants