Add new_zeros dtype variant to the shim and as a stable op (#161597)

In case we want this before 2.9
Pull Request resolved: https://github.com/pytorch/pytorch/pull/161597
Approved by: https://github.com/mikaylagawarecki
This commit is contained in:
Jane Xu
2025-08-28 13:57:24 +00:00
committed by PyTorch MergeBot
parent 05d0f11dbd
commit 63632fc7ee
6 changed files with 74 additions and 1 deletions

View File

@ -187,4 +187,5 @@ aten_shimified_ops: dict[str, dict[str, list[str]]] = {
"aten.narrow.default": {},
"aten.amax.default": {},
"aten.new_empty.default": {},
"aten.new_zeros.default": {},
}