Skip to content

Added Model Instancing for reduced memory consumption#226

Merged
Snapex2409 merged 8 commits intodevelopfrom
model-instancing-pr
Feb 25, 2026
Merged

Added Model Instancing for reduced memory consumption#226
Snapex2409 merged 8 commits intodevelopfrom
model-instancing-pr

Conversation

@Snapex2409
Copy link
Copy Markdown
Collaborator

@Snapex2409 Snapex2409 commented Feb 25, 2026

Model instancing allows reusing the same micro simulation object as a compute backend to compute the results of different GIDs. This is only applicable for simulation types that are marked as stateless, thus not depending on the previous local compute history.

Checklist:

  • I made sure that the CI passed before I ask for a review.
  • I added a summary of the changes (compared to the last release) in the CHANGELOG.md.
  • If necessary, I made changes to the documentation and/or added new content.
  • I will remember to squash-and-merge, providing a useful summary of the changes of this PR.

@Snapex2409 Snapex2409 marked this pull request as ready for review February 25, 2026 16:03
Copy link
Copy Markdown
Member

@IshaanDesai IshaanDesai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good and also improves Micro Manager's operational performance. Nice work! I have some minor suggestions regarding configuration messages.

Comment thread micro_manager/config.py Outdated
Comment thread micro_manager/config.py Outdated
Comment thread micro_manager/model_manager.py Outdated
Snapex2409 and others added 4 commits February 25, 2026 20:28
Co-authored-by: Ishaan Desai <ishaandesai@gmail.com>
Co-authored-by: Ishaan Desai <ishaandesai@gmail.com>
Co-authored-by: Ishaan Desai <ishaandesai@gmail.com>
@Snapex2409 Snapex2409 merged commit 5dc8f4f into develop Feb 25, 2026
8 checks passed
@Snapex2409 Snapex2409 deleted the model-instancing-pr branch February 25, 2026 19:56
@IshaanDesai IshaanDesai mentioned this pull request Apr 15, 2026
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

Successfully merging this pull request may close these issues.

2 participants