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

Monitor was always enabled causing performance degradation #5633

Merged
merged 3 commits into from
Jun 12, 2024

Conversation

deepcharm
Copy link
Contributor

The Boolean expression for the monitor to be enabled was incorrect, as instead of using the enabled field, it used the comet configuration object, making the expression always True.

This caused performance degradation (we've observed ~10% drop) as it erroneously invoked the events logging flow along with the expensive calculation of loss.mean().item().

The boolean expression for the monitor to be enabled has been
incorrect, since instead of using `enabled` field it used
the comet configuration object, making the expression always True.

This caused performance degradation (we observed >10%) as it
erroneously invoked the events logging flow along with the expensive
calculation of loss.mean().item().
@nelyahu
Copy link
Contributor

nelyahu commented Jun 10, 2024

http connection issue caused cpu-torch-latest to fail

@alexkuzmik
Copy link
Contributor

@deepcharm
Hi! It's Alex from Comet. Thanks for noticing and fixing the bug, we appreciate it.

@loadams loadams enabled auto-merge June 12, 2024 15:28
@loadams loadams added this pull request to the merge queue Jun 12, 2024
Merged via the queue into deepspeedai:master with commit 54f98fd Jun 12, 2024
12 checks passed
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.

5 participants