-
-
Notifications
You must be signed in to change notification settings - Fork 192
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
There appear to be 1 leaked semaphore objects to clean up at shutdown #720
Comments
Hello, It may have been introduced by https://github.com/mlco2/codecarbon/pull/701/files But I don't see the message you mention when I do a Ctrl+C, can you tell me more on how you get it ? |
Hi! |
We are using codecarbon v2.6.0 like this
With v2.6.0 I see this in the logs when I do a
With v2.8.0 I see this in the logs when I do a
Let me know if any other information is required. I will try to see if it is something from our codebase that is causing this issue. |
Description
We were using codecarbon 2.6.0 for fitbenchmarking and this was working fine.
We then updated to 2.7.1 and were seeing the
"EmissionsTracker" object has no attribute '_scheduler'
error.Today, I updated the codecarbon dependency to test the latest version 2.8.0. Everything seems to work okay. But if I do a
KeyboardInterrupt
, I see the following warning:If I downgrade to codecarbon 2.6.0 and do a
KeyboardInterrupt
I do not see this warning. I see the normal stack trace of theKeyboardInterrupt
.Question: Has something been updated recently that might be causing this warning ?
The text was updated successfully, but these errors were encountered: