You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
This PR integrated the migrated id transformer and lxu strategy to create a python binding. There are several point that may need to be mentioned:
- We use `IDTransformerVariant` and `LXUStrategyVariant` type to support adding more kinds of id transformers and lxu strategies.
- The origin design used [nlohmann::json](https://github.com/nlohmann/json) to parse the configs. To remove this dependency, we list all configs of all kinds of id transformers and lxu strategies as the parameter of the constructor of the variant.
- We choose to use pytorch native binding (`CustomClassHolder`) instead of pybind to be coherent with fbgemm_gpu.
Thank you for your time on reviewing this PR :)
gently ping divchenko colin2328 reyoung
Pull Request resolved: #835
Reviewed By: s4ayub
Differential Revision: D41507250
Pulled By: colin2328
fbshipit-source-id: f6e8bc6234f287dfba333e1fe7bbe7de64df88b6
0 commit comments