-
Notifications
You must be signed in to change notification settings - Fork 640
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
MemEff: BUGFIX when a batch has no keys #492
Conversation
[ghstack-poisoned]
ghstack-source-id: 58eadab5d0eccc24d2975fc4cc0eb33ed4914d5c Pull Request resolved: #492
[ghstack-poisoned]
ghstack-source-id: 2a43a75c065b4a89857b984a5b9081d30bcbb95c Pull Request resolved: #492
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.
Thanks!
Can you add a test for this case?
[ghstack-poisoned]
ghstack-source-id: daf5a7bc458b0b9991eb8b7495769fe0f481ad04 Pull Request resolved: #492
[ghstack-poisoned]
ghstack-source-id: 84e11de209464a6a51347f9ba6b08258782bf139 Pull Request resolved: #492
Causes some performance regression (about 0.5%) so let's not fix it |
@danthe3rd what happens then in this case? Does it raise an error or just yield wrong numbers? If it yields wrong results, then I think this is a silent but that should be fixed. |
Well I'm not even sure what should happen. If there are some queries but no key/no value, I guess it should be zero? |
Stack from ghstack (oldest at bottom):