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

Improve memory allocation of integration step #342

Open
enekomartinmartinez opened this issue Jul 1, 2022 · 0 comments
Open

Improve memory allocation of integration step #342

enekomartinmartinez opened this issue Jul 1, 2022 · 0 comments

Comments

@enekomartinmartinez
Copy link
Collaborator

Currently, integration process works as follows.

  1. Create a big numpy.array of all the stateful objects
  2. Create a big numpy array of all ddt
  3. Update the 1st numpy array of all objects using the 2nd

Instead of creating such a big numpy array, we should try computing the updating values inside each array in pre-allocated memory space. This should improve specially the performance of big models.

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

No branches or pull requests

1 participant