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

QoL - Adding a function in the metric receiver to handle kill signals #1

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

MrCrystAll
Copy link

Why this PR ?

Currently, there is no way to "correctly" finish the wandb run, so wandb never considers the run as "Finished". The way i solved it was by catching main terminal signals and adding a function in the py scripts to handle the wandb run. This also finishes the run on learner timestep limit (Normal ending).

I also made it so python would consider your comments as docstring (and added a bit of arguments docs).

This does not propagate the signals on the learner and doesn't call the destructor

@MrCrystAll MrCrystAll changed the title QoL - Adding a function in the metric receiver to kill signals QoL - Adding a function in the metric receiver to handle kill signals Sep 14, 2024
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.

1 participant