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

Don't check min_query_count with equal issue #1810

Merged
merged 1 commit into from
Jul 26, 2024

Conversation

pgmpablo157321
Copy link
Contributor

@pgmpablo157321 pgmpablo157321 commented Jul 25, 2024

@pgmpablo157321 pgmpablo157321 requested a review from a team as a code owner July 25, 2024 20:34
Copy link

github-actions bot commented Jul 25, 2024

MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅

@nv-ananjappa
Copy link
Contributor

@nvzhihanj @nvyihengz Please review and give your feedback.

@nvzhihanj
Copy link
Contributor

LGTM, thanks Pablo

@@ -1226,7 +1226,7 @@ def check_performance_dir(
# Check if this run uses early stopping. If it does, get the
# min_queries from the detail log, otherwise get this value
# from the config
if not uses_early_stopping:
if not (uses_early_stopping or (equal_issue_used_check and config.requires_equal_issue(model, division))):
required_min_query_count = config.get_min_query_count(model, scenario)
Copy link
Contributor

Choose a reason for hiding this comment

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

The problem can be solved if we read the min_query_count from the loadgen log and not the config right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Mmmm I don't think so. We are currently comparing the min_query_count from the log and with a fixed value in the config

Copy link
Contributor

Choose a reason for hiding this comment

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

The comparison should be between the value from the log and the value stored in submission checker right?

Copy link
Contributor

Choose a reason for hiding this comment

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

@pgmpablo157321 min_query_count is coming from the loadgen log. So, if equal issue mode is enabled, this key value should be automatically updated by the loadgen. Otherwise it is a bug to be fixed in the loadgen.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The comparison should be between the value from the log and the value stored in submission checker right?

Yes, we are currently doing that. But min_query_count is a parameter from the mlperf.conf, (a lower limit for the number of queries), not the actual number of queries. The min duration also determines the number of queries.

@pgmpablo157321 min_query_count is coming from the loadgen log. So, if equal issue mode is enabled, this key value should be automatically updated by the loadgen. Otherwise it is a bug to be fixed in the loadgen.

This is unfortunately also true for the number of queries, we discuss that in the LLM chat and it's a bug that needs to be fixed for v5.0

Copy link
Contributor

Choose a reason for hiding this comment

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

@pgmpablo157321 The check for the equal-issue mode misses commas between benchmark names: L810-L811 and L812-L813

@pgmpablo157321 pgmpablo157321 force-pushed the min_query_count_check branch 3 times, most recently from 203ea62 to 7669e44 Compare July 26, 2024 05:42
@mrmhodak mrmhodak merged commit 725b3c0 into mlcommons:master Jul 26, 2024
9 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jul 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Submission checker complaints on min_query_count
6 participants