Commit e0d755b
fix cpu get_unique_indices (#5151)
Summary:
X-link: https://github.com/facebookresearch/FBGEMM/pull/2152
Pull Request resolved: #5151
- Use `at::zeros_like()` and `at::zeros()` instead of `at::empty()` for zero-initialized buffers to ensure deterministic cross-platform test comparisons
Reviewed By: q10, spcyppt
Differential Revision: D87368673
fbshipit-source-id: 73aff4755ed008677364d3ce6c5750c40b0a743c1 parent ca39ae0 commit e0d755b
File tree
1 file changed
+2
-2
lines changed- fbgemm_gpu/src/split_embeddings_cache
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
| 146 | + | |
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
| 155 | + | |
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| |||
0 commit comments