-
Notifications
You must be signed in to change notification settings - Fork 16
[ETFeeder] Speedup et_feeder and resolve uninitialized attrs values in ETFeederNode #60
base: main
Are you sure you want to change the base?
[ETFeeder] Speedup et_feeder and resolve uninitialized attrs values in ETFeederNode #60
Conversation
changhai0109
commented
Nov 21, 2023
•
edited
Loading
edited
- Updated ETFeeder::readNextWindow to speed up by removing some extra resolveDeps() calls.
- Assigned default values of attrs in ETFeederNode to avoid uninitialized variables and leading undefined behavior with -O3 compile flag.
MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅ |
d8702fd
to
801aa45
Compare
This is a useful fix. ET feeder is being used by other downstream use cases and we need (a) unit test (b) before and after improvements. Thanks! |
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.
Can we separate the specific changes with this PR and move the formatting changes to another PR?
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.
These format changes are not meant to be there, instead come from the auto fomatter of my IDE.
I cleaned these format changes, also cleaned the commit history. Now it only contains the necessary changes there.
9d111ec
to
3855955
Compare
Moved the commit of changing et_converter output this PR, will submit another one later. |
3855955
to
a0bd378
Compare