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

Checkpointing and restarting from checkpoints #1144

Open
jjallaire opened this issue Jan 19, 2025 · 0 comments
Open

Checkpointing and restarting from checkpoints #1144

jjallaire opened this issue Jan 19, 2025 · 0 comments
Assignees

Comments

@jjallaire
Copy link
Collaborator

For long running samples we may want to save the event stream as a checkpoint, and allow agents/solvers to re-constitute themselves from a checkpoint.

Note that this can't be done in completely general way where any solver can be checkpointed (as there could be in-memory state, etc.) however a cooperative scheme is possible whereby solvers can be offered a checkpoint and restore themselves from it if they can. It seems like basic_agent() and other more complex agents could be made to work with the scheme (although sandbox state is another confounder here -- if we assume the sandbox survives after the task exits this could be made to work).

@jjallaire jjallaire self-assigned this Jan 19, 2025
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

No branches or pull requests

1 participant