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
Swap IntNBit TBE Kernel with SSD Embedding DB TBE Kernel for SSD Infernece Enablement (#3134)
Summary:
Pull Request resolved: #3134
For SSD inference, we have added EmbeddingDB as a custom in house storage not exposed to OSS. We leverage TGIF stack to rewrite IntNBit TBE Kernel with SSD EmbeddingDB TBE kernel as SSD TBE embedding kernel can't be exposed within TorchRec code base.
Additionally, for SSD we only provide in di_sharding_pass and SSD can be enabled without having additional DI shards. In that case, for the tables that assigned to CPU host we can just do tw sharding of those tables. Added the TW sharding logic accordingly.
The diff also includes an option to manually enable TW sharding using DI / Universal Sharding Pass logic that can be used to override automated tw universal sharding behavior in case that's less efficient (as that's still being improved).
Reviewed By: gyllstromk
Differential Revision: D76953960
fbshipit-source-id: b2cef7eb118dd5f94242b85c2a931a4d365d58d4
0 commit comments