-
Notifications
You must be signed in to change notification settings - Fork 135
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: Dataset infos() can be broken if a transform not redefining infos() is stacked on the top #1101
Fix: Dataset infos() can be broken if a transform not redefining infos() is stacked on the top #1101
Conversation
- Add call_count to StreamDatasetStorage transform tests Signed-off-by: Kim, Vinnam <vinnam.kim@intel.com>
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.
Don't we need to have DatasetStorageTest
to compare them?
|
Partially agree. In my opinion, it was definitely tested in terms of functional, but it was not for performance. Your test for Moreover, we may need to evaluate the quality of operations in terms of time and memory consumption in the future. |
No, To test the performance, I think that the unit test is not right place for it. Unit tests are aim to test the functionality of small components as possible. Therefore, there should exist pass or fail always. However, the performance test can be easily flaky by many variable factors (machine status, network status, ...). In my opinion, performance tests usually are conducted periodically and produce a report rather than testing pass/fail like as we do in NNCF. |
I don't think it is functional. I think we should run |
Signed-off-by: Kim, Vinnam <vinnam.kim@intel.com>
Signed-off-by: Kim, Vinnam <vinnam.kim@intel.com>
We exactly have been doing that by parametrizing |
Summary
call_count
as well in the tests to validate stacked transforms.How to test
Checklist
License
Feel free to contact the maintainers if that's a concern.