-
Notifications
You must be signed in to change notification settings - Fork 226
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
[NFC] Replace miopen::ProblemDescription with conv::ProblemDescription, part 2 #2148
[NFC] Replace miopen::ProblemDescription with conv::ProblemDescription, part 2 #2148
Conversation
…nCompat + cleanup
…th ProblemDescriptionCompat for SQLitePerfDb and test_sqlite_perfdb
…problem_description_part_2
…problem_description_part_2
…problem_description_part_2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
…problem_description_part_2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
@@ -95,7 +95,7 @@ static Random& Rnd() | |||
|
|||
struct ProblemData : SQLiteSerializable<ProblemData> | |||
{ | |||
ProblemDescription prob; | |||
ProblemDescriptionCompatTemporary prob; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[Future] This leftover must be removed with high urgency.
Let me run my set of performance tests before merging |
…problem_description_part_2
Today we discussed this PR with @atamazov. All validation tests passed, so we can merge the PR. Estimated time for performance test results - the day after tomorrow |
🌀 Performance testing resultsPreconditions:
Tested modes:
Bottom line: 🟢 No performance or correctness regressions. Logs & csv files available upon request. |
: ProblemDescription(dir == conv::Direction::Forward | ||
? conv::ProblemDescription{in, weights, out, conv, dir, bias_} | ||
: conv::ProblemDescription{out, weights, in, conv, dir, bias_}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After this PR, we do not swap xDesc and yDesc in the ProblemDescription, i.e. GetIn() always returns xDesc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh no, we still swap descriptors.
/cc @averinevg
List of changes:
ProblemDescription
data fields have been removedmlo_construct_direct2D_fusion
has been replaced withProblemDescription
and removedProblemDescriptionCompatTemporary
has been created for use in legacy codeBlocker: ROCm/MIFin#83
See #266