You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 25, 2024. It is now read-only.
I came across this issue as I was debugging why my acme offline experiment loop cannot be interrupted. In that context, it creates an EnvironmentLoop that will register and unregister a custom handler like above (in loop.run). Subsequent learner loops cannot be interrupted. The relevant part of the code is
Hi,
I noticed that the following code cannot be interrupted by Ctrl-C.
Looks like the issue is around https://github.com/google-deepmind/launchpad/blob/master/launchpad/launch/worker_manager.py#L76 where the original interrupt handler is cleared and ignored.
I came across this issue as I was debugging why my acme offline experiment loop cannot be interrupted. In that context, it creates an
EnvironmentLoopthat will register and unregister a custom handler like above (inloop.run). Subsequent learner loops cannot be interrupted. The relevant part of the code ishttps://github.com/google-deepmind/acme/blob/993826a95e657b8fe796ca7c640891d0de9d7a31/acme/jax/experiments/run_offline_experiment.py#L113-L114
@qstanczyk looks like you are quite familiar with that part of the code, is there something I can do to help resolve this?