-
Notifications
You must be signed in to change notification settings - Fork 241
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
Issue with #2266 and fix within mainline #2270
Comments
@DrizztDoUrden @atamazov @shurale-nkn @dmikushin
We should not have these tuning parameter
Could you please provide some opinions? Thanks! |
MIOpen performs validation, but it uses Solver's functionality for this. If a Solver has issues (for example,
Perhaps this is possible via the Find 2.0 API? @DrizztDoUrden, am I right? |
[Informative] Please consider this as a continuation of #2253 (which is not really fixed yet). |
🔴 In order to find the root cause we need clear reproduction instructions. |
I am working on a minimal reproduce example. |
@atamazov the log is attached. However, when I tried to run:
I do not get similar output as shown in the log.
in the attached log:
|
The original reproducer is
So I suspect if it can be reproduced by MIOpenDriver or not at all. |
MIGrpahX uses find 2.0 API. There can be a bug in the API implementation. |
@DrizztDoUrden yes I guess "IsApplicable is likely to be skipped" is the problem. Here is another reproducible example: when "ConvHipImplicitGemmForwardV4R4Xdlops" solver is used explicitly by passing "-S 64" to the driver:
|
Is there an env var where we can use FIND 2.0 path? @DrizztDoUrden |
Another issue with #2266 (again my mistake :( ) is when |
I don't understand the question, find 2.0 in develop calls find 1.0 internally. There no find 2.0 specific files or paths. |
This looks like a bug in |
@junliume The problems in the core tuning algorithm are resolved now, and I don't see what else needs to be done to resolve this issue. Could you please review this ticket, and close it or denote unresolved sub-issues. Thank you. |
[Issue]
I explicitly asked for and am responsible for the implementation of #2266.
After some discussion we decided to find the root cause instead of hiding it.
Let's see how to fix it properly. Thanks!
[Content]
more on #2266
No, after talking to @shurale-nkn I think that it is caused by incorrect usage of our internal APIs from outside of MIOpen.
This is not a fix for two reasons.
GetSolution
. Is returning a default-constructed performance config when solver says no config is valid considered a valid practice? I don't think so. The only way to know that such practice is acceptable is to somehow fetch info from the solver itself. As of now it just assumes that this way of handling is correct (which it is likely not).@junliume My advice is to revert the PR and to find what causes the error. I think that it is incorrect usage by MIGraphX, but I am not sure. Maybe, there is some undocumented UB in our internals (which is not good), but that's kind of why they are internals and not public API. I am 100% sure that the only change that may be made to GenericSearch from the report is to add
at the begfining of the function. But the only effect it would have is skipping 0 config space size warnings before the error.
Originally posted by @DrizztDoUrden in #2266 (comment)
The text was updated successfully, but these errors were encountered: