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

Enable raising Interrupt from inside a node, add list of current interrupts to get_state #1354

Merged
merged 20 commits into from
Aug 21, 2024

Conversation

nfcampos
Copy link
Contributor

@nfcampos nfcampos commented Aug 15, 2024

No description provided.

@nfcampos nfcampos force-pushed the nc/14aug/dynamic-interrupt branch 2 times, most recently from fa6f27f to c8461f0 Compare August 16, 2024 22:47
@nfcampos nfcampos force-pushed the nc/14aug/dynamic-interrupt branch from b3b71b5 to ed192ad Compare August 20, 2024 18:33
@nfcampos nfcampos marked this pull request as ready for review August 21, 2024 16:08
@nfcampos nfcampos enabled auto-merge (squash) August 21, 2024 16:08
@@ -550,7 +553,7 @@ def update_state(
saved = self.checkpointer.get_tuple(config)
checkpoint = copy_checkpoint(saved.checkpoint) if saved else empty_checkpoint()
checkpoint_previous_versions = (
saved.checkpoint["channel_versions"] if saved else {}
saved.checkpoint["channel_versions"].copy() if saved else {}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

important bug fix

@@ -576,7 +579,7 @@ def update_state(
create_checkpoint(checkpoint, None, step),
{
"source": "update",
"step": step,
"step": step + 1,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

also bug fix, less important

@nfcampos nfcampos merged commit f8b053a into main Aug 21, 2024
46 checks passed
@nfcampos nfcampos deleted the nc/14aug/dynamic-interrupt branch August 21, 2024 16:19
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