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

Remove duplicate metrics #3670

Merged
merged 1 commit into from
Sep 27, 2023
Merged

Remove duplicate metrics #3670

merged 1 commit into from
Sep 27, 2023

Conversation

Infernaught
Copy link
Contributor

@Infernaught Infernaught commented Sep 27, 2023

Addresses the issue of duplicate metrics being logged for the same step in MLFlow.

Credit for code goes to @justinxzhao

@github-actions
Copy link

Unit Test Results

       6 files  ±0         6 suites  ±0   52m 16s ⏱️ + 1m 5s
2 807 tests ±0  2 793 ✔️ ±0  12 💤 ±0  2 ±0 
2 847 runs  ±0  2 824 ✔️ ±0  21 💤 ±0  2 ±0 

For more details on these failures, see this check.

Results for commit 852f436. ± Comparison against base commit 4af5331.

self.save_thread.join()
if progress_tracker.steps not in self.logged_steps:
self.logged_steps.add(progress_tracker.steps)
self.save_fn((progress_tracker.log_metrics(), progress_tracker.steps, save_path, False)) # Why False?
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tgaddair @jeffreyftang do you recall why this log_artifacts mechanic exists and why it is set to False in the trainer teardown? Related: #2255

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.

2 participants