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

Double check a tuning parameter from perfdb #668

Closed
zjing14 opened this issue Jan 4, 2021 · 4 comments
Closed

Double check a tuning parameter from perfdb #668

zjing14 opened this issue Jan 4, 2021 · 4 comments
Assignees
Labels

Comments

@zjing14
Copy link
Contributor

zjing14 commented Jan 4, 2021

Issue

  • Current MIOpen does not check the validation of a tuning parameter from perfdb. Thus, after fixing the tuning of a solver, we need to re-tune perfdb, otherwise, problematic tuning parameters will still be loaded.

Solution

  • Double-check the validation of a tuning parameter loaded from perfdb; if it is invalid, get a default tuning parameter
  • Better to have the infrastructure in place for all solvers
  • Minimize the overhead of validation
@daniellowell
Copy link
Contributor

This is an issue that can occur in the field if we fail to detect an error during testing. Or also in our CI if a perf-db exists that contains un-updated config for a solver.

@junliume
Copy link
Collaborator

@JehandadKhan it looks like a perf_db issue which might have been resolved already? Can we close this issue?

@atamazov
Copy link
Contributor

Current MIOpen does not check the validation of a tuning parameter from perfdb. Thus, after fixing the tuning of a solver, we need to re-tune perfdb, otherwise, problematic tuning parameters will still be loaded.

This is incorrect statement. The core of the library implements full support for this.

However each solver must provide correct implementation of bool IsValidPerformanceConfig(ProblemDescription&, PerformanceConfig&) (please see #866 (comment) for more info). If this is not done, then the performanceConfig validation problems may occur.

I am proposing either closing this ticket or clarifying which solvers have this problem (+use cases). Thanks.

@atamazov
Copy link
Contributor

@ce1adon

Double-check the validation of a tuning parameter loaded from perfdb; if it is invalid, get a default tuning parameter

👍 Luckily, we already have this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants