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

Host memory usage a bit excessive #67

Open
neworderofjamie opened this issue May 5, 2023 · 0 comments
Open

Host memory usage a bit excessive #67

neworderofjamie opened this issue May 5, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@neworderofjamie
Copy link
Contributor

neworderofjamie commented May 5, 2023

I think we're a bit over-zealous in deep-copying stuff during model compilation and this leads to e.g. large EGP values being duplicated. I suspect deep-copying is the correct operation here but, retrospectively, allocating massive np.empty arrays in the model class is a bit silly - probably can just specify a size and allocate in the compiled model.

Only really found this trying to do DVS gesture inference on my laptop's 8GB RAM but probably a good thing to fix for future, larger datasets.

@neworderofjamie neworderofjamie added the bug Something isn't working label May 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant