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

Await futures in progress checker #48

Merged
merged 4 commits into from
Oct 3, 2024

Conversation

hvaara
Copy link
Contributor

@hvaara hvaara commented Sep 14, 2024

Before this fix, the progress checker would pause for 240 seconds, causing the program to potentially wait that long after all evaluations were complete.

This PR changes the logic so that the progress checker now checks for updates every second, but only displays a warning if no progress has been made in the past 240 seconds. Once all tasks are finished, the thread will terminate.

Fixes #42

bigcodebench/evaluate.py Outdated Show resolved Hide resolved
@hvaara hvaara changed the title Increase frequency of progress checker Await futures in progress checker Sep 14, 2024
@terryyz terryyz merged commit 195a165 into bigcode-project:main Oct 3, 2024
@hvaara hvaara deleted the progress-checker-fix branch October 4, 2024 07:09
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.

[bug] Lingering processes after eval run completion
2 participants