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

Robust subprocess sweep #308

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

kylebgorman
Copy link
Contributor

As described in #302, this moves the sweep to a model where each sweep run is a subprocess, which seems likely to ensure the OS returns memory at the end of each run. This model is one we piloted in UDTube and here the implementation is actually simpler because there's no need for temporary config files.

Testing confirms this works and that the data is being logged as expected to W&B, but I'd appreciate if a reviewer can try it out locally with an existing workflow.

One nice side effect of this is we no longer need to maintain the train.train module interface, which has no place in LightningCLI anyways.

Closes #302.

As described in CUNY-CL#302 this moves to a model where each sweep run is a
subprocess, which seems likely to ensure the OS returns memory at the
end of each.
@kylebgorman kylebgorman requested a review from Adamits February 14, 2025 16:08
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.

Even more robust sweeping
1 participant