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

Memory Leak #17

Open
andresnowak opened this issue Nov 27, 2023 · 2 comments
Open

Memory Leak #17

andresnowak opened this issue Nov 27, 2023 · 2 comments

Comments

@andresnowak
Copy link
Contributor

There seems to be a memory leak in the program, at the end of the test_infermo, the program uses sometimes 6gb of memory.

@TilliFe
Copy link
Owner

TilliFe commented Nov 27, 2023

There seems to be a memory leak in the program, at the end of the test_infermo, the program uses sometimes 6gb of memory.

Damn, again. Thanks for pointing it out, I will try to fix this.

@Benny-Nottonson
Copy link

Its a result of

let input = Tensor(shape(32, 1)).randu(0, 1).dynamic()
let true_vals = sin(15.0 * input)

Being inside the for loop of the test_linear file.

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

3 participants