Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix edge case of empty embedding tables
Summary: ATT Currently python interface for fbgemm doesn't support grouped embedding tables with all empty rows, due to the hash size calculation (log(0)). This just adds a special case for they're all empty, set hash_size_cumsum to be zero. Should be pretty low risk as currently no one uses this module that hits that conditional. Reviewed By: colin2328, xing-liu Differential Revision: D32514857 fbshipit-source-id: a0cd1d282c8f48ebe8cd390b6a4bca227a79fdf1
- Loading branch information