Skip to content
This repository has been archived by the owner on Jan 11, 2022. It is now read-only.

Matrix doesn't deallocate memory #99

Open
nartes opened this issue Mar 4, 2020 · 1 comment
Open

Matrix doesn't deallocate memory #99

nartes opened this issue Mar 4, 2020 · 1 comment

Comments

@nartes
Copy link

nartes commented Mar 4, 2020

Memory is not being deallocated, since no destructor is being defined:

Matrix(int rows, int cols, bool isTransposed=false);

The only place that is being used in pytorch bindings:

Matrix outputSelectors(batch_size, sample_count);

Softmax sampling shoud not leak that much memory though.

@m-k-S
Copy link

m-k-S commented May 21, 2020

Were you able to solve this issue? I am unable to perform inference with even a batch size of 1 as my GPU runs out of memory.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants