-
Notifications
You must be signed in to change notification settings - Fork 81
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
[WIP] Add explicit deletion to contexts in ContextCache on empty #690
base: main
Are you sure you want to change the base?
Conversation
Note: this may not be sufficient; will need to investigate that it actually succeeds in clearing contexts.
This may not be finished yet; please do not merge. |
This should address #688 |
We want to write tests that creates many context caches and make sure that the resources of the GPU don't get depleted (if we are emptying the context cache correctly). First we test this locally and then in the GPU CI. We need GPU CI testing for this. |
After the basic test we can also create a replica exchange sampler test where we create and destroy many repex samplers and check if the GPU resources are correctly handled. Minimizers might be creating their own context. We can give it a pre-minimized structure or tell it to do only one minimization step (using the multistatesampler minimize method) |
We also need a |
Description
Note: this may not be sufficient; will need to investigate that it
actually succeeds in clearing contexts.
Todos
Status
Changelog message