torchrec
torchrec copied to clipboard
micro-lut
Summary: Micro hash Lookup, a LUT learnt from both sparse ID and optionally embeddings.
-
reduced hash collision: id is mapped to
num_shardshash slots and embedding is concat from each shard with the hashed ids. -
embedding from LUT is used to construct given input embedding (oracle).
Differential Revision: D50567073
This pull request was exported from Phabricator. Differential Revision: D50567073
This pull request was exported from Phabricator. Differential Revision: D50567073
This pull request was exported from Phabricator. Differential Revision: D50567073