Commit 2980010
remove .int() for cpu indices and values (#1590)
Summary:
Pull Request resolved: #1590
CPU DI is serving large model with big embedding tables (2TB), the value and indices would overflow with .int() conversion. Remove .int() just for CPU
Reviewed By: zyan0, tissue3
Differential Revision: D52225777
fbshipit-source-id: 0bf7973a91a7b7daed6eaed3a55bb8dca25fcdef1 parent 80b19a2 commit 2980010
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
122 | 129 | | |
123 | 130 | | |
124 | 131 | | |
| |||
0 commit comments