mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
If the operator produces a zero size tensor, the memory may be equal to the original. With nonzero, we would sometimes get unlucky and everything was zero. See failing tests at https://hud.pytorch.org/failure/%5B%20%20FAILED%20%20%5D%20StaticRuntime.Nonzero Arguably we should also fix the seeding but it was less obvious to me where to do that. Signed-off-by: Edward Z. Yang <ezyang@meta.com> Pull Request resolved: https://github.com/pytorch/pytorch/pull/94418 Approved by: https://github.com/albanD |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| deep_wide_pt.cc | ||
| deep_wide_pt.h | ||
| deep_wide_pt_bench.cc | ||
| test_cpu_fusion.cc | ||
| test_generated_ops.cc | ||
| test_static_module.cc | ||
| test_static_runtime.cc | ||
| test_utils.cc | ||
| test_utils.h | ||