build/test MaybeOwned_test in OSS and fix it (#84342)
Summary:
This was not listed in the compilation for the ATen tests and was only
getting built in Meta internal repositories.
This ended up with the following problems:
* at::zeros was not available
* equal() for tensors was being selected from ATen/ops/equal.h and crashing
Test Plan: Verified locally.
Reviewers:
Subscribers:
Tasks:
Tags:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/84342
Approved by: https://github.com/DanilBaibak
Author
Michael Andreas Dagitses