Commit 0b2f5e1
disable initializer when disable random init (#5182)
Summary:
Pull Request resolved: #5182
X-link: https://github.com/facebookresearch/FBGEMM/pull/2178
no need to initialize initializers when random init is disabled, it could save cpu memory significantly
Reviewed By: q10
Differential Revision: D86874544
fbshipit-source-id: 5a0ee722e0c40ec280372582ac6238057e4e5fa01 parent 0fa6299 commit 0b2f5e1
File tree
1 file changed
+24
-14
lines changed- fbgemm_gpu/src/ssd_split_embeddings_cache
1 file changed
+24
-14
lines changedLines changed: 24 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
422 | 422 | | |
423 | 423 | | |
424 | 424 | | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
425 | 433 | | |
426 | 434 | | |
427 | 435 | | |
| |||
436 | 444 | | |
437 | 445 | | |
438 | 446 | | |
439 | | - | |
440 | 447 | | |
441 | 448 | | |
442 | 449 | | |
| |||
1251 | 1258 | | |
1252 | 1259 | | |
1253 | 1260 | | |
1254 | | - | |
1255 | | - | |
1256 | | - | |
1257 | | - | |
1258 | | - | |
1259 | | - | |
1260 | | - | |
1261 | | - | |
1262 | | - | |
1263 | | - | |
1264 | | - | |
1265 | | - | |
1266 | | - | |
| 1261 | + | |
| 1262 | + | |
| 1263 | + | |
| 1264 | + | |
| 1265 | + | |
| 1266 | + | |
| 1267 | + | |
| 1268 | + | |
| 1269 | + | |
| 1270 | + | |
| 1271 | + | |
| 1272 | + | |
| 1273 | + | |
| 1274 | + | |
| 1275 | + | |
| 1276 | + | |
1267 | 1277 | | |
1268 | 1278 | | |
1269 | 1279 | | |
| |||
0 commit comments