-
Notifications
You must be signed in to change notification settings - Fork 480
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support custom embedding config (#1806)
Summary: Pull Request resolved: #1806 Currently the torchrec benchmark takes the DLRM config only. This diff tries to make it more flexible and it can take a json file with the following format: {{table_name: {num_embeddings: , embedding_dim, pooling_factor (optional)}} Pooling factor is optional. If we don't pass in pooling factor, it uses 10 for every table. If passed in, we'll generate a normal distribution for it to simulate the real situation. Reviewed By: PaulZhang12 Differential Revision: D55055970 fbshipit-source-id: 0519e5ad0795d5a8e9011202c69d471892b376a8
- Loading branch information
1 parent
246f897
commit 287d921
Showing
4 changed files
with
137 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters