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

Improvement can be made on optimizing GPU memory occupation #374

Open
OUTHIM opened this issue Jul 25, 2022 · 1 comment
Open

Improvement can be made on optimizing GPU memory occupation #374

OUTHIM opened this issue Jul 25, 2022 · 1 comment

Comments

@OUTHIM
Copy link

OUTHIM commented Jul 25, 2022

Some variables can be deleted to optimize GPU memory use.
For example, in the implementation of TransR, since the parameters pretrained on TransE are set to TransR, the tensors occupied by TransE can be released by deleting the TransE model and cleaning CUDA cache. According to my test, this can save significant GPU memory space when it comes to large datasets.

@YijianLiu
Copy link

Some variables can be deleted to optimize GPU memory use. For example, in the implementation of TransR, since the parameters pretrained on TransE are set to TransR, the tensors occupied by TransE can be released by deleting the TransE model and cleaning CUDA cache. According to my test, this can save significant GPU memory space when it comes to large datasets.

Hey, I think we can communicate with openKE, the author doesn't reply for a long time, my qq is 1575797665

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

No branches or pull requests

2 participants