forked from pytorch/FBGEMM
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make split_table_batched_embeddings_benchmark work on cpu
Summary: Make device benchmark runnable on CPU. Currently switch based on torch.cuda.is_available() . Later we can make it controllable via cmd line args. Reviewed By: jianyuh Differential Revision: D27558925 fbshipit-source-id: 0af0d5fd4a199dab2bd26c897efe387f08f5d1a8
- Loading branch information
1 parent
62c7209
commit f5dbb5a
Showing
1 changed file
with
85 additions
and
67 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