-
Notifications
You must be signed in to change notification settings - Fork 351
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
fix: distingush engines based on compilation settings in addition to … #3155
Conversation
…graph structure Signed-off-by: Naren Dasan <[email protected]>
…graph structure Signed-off-by: Naren Dasan <[email protected]>
…graph structure Signed-off-by: Naren Dasan <[email protected]>
class TestEngineCache(TestCase): | ||
|
||
@pytest.mark.xfail |
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 main disk engine cache tests are super flaky, it seems like the cache is working properly so im not sure what is going on.
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.
We need some method other than timing to measure if its working, or we need some extreme case so it doesnt randomly fail all the time
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.
@zewenli98 I think xfail is fine for now but really we should test the diskenginecache directly, i.e. get a hash, put in an entry and try to pull it and see if the entries match / if when run with different weights behave as expected
for h, count in custom_engine_cache.hashes.items() | ||
] | ||
|
||
@pytest.mark.xfail |
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.
""
…graph structure Signed-off-by: Naren Dasan <[email protected]>
…graph structure Signed-off-by: Naren Dasan <[email protected]>
…graph structure Signed-off-by: Naren Dasan <[email protected]>
b54b6bd
to
53c42b0
Compare
@lanluo-nvidia once this PR is merged can you cherry-pick into 2.5 |
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
…graph structure Signed-off-by: Naren Dasan <[email protected]>
53c42b0
to
0cada4c
Compare
Description
Adds distinguishing base on shape and compile settings to the engine cache
Fixes #3148
Type of change
Please delete options that are not relevant and/or add your own.
Checklist: