Revert "[aoti] Initial Metal support (#153959)"

This reverts commit 28bcd9eb30336b370298dbe9677b95019882f2a8.

Reverted https://github.com/pytorch/pytorch/pull/153959 on behalf of https://github.com/angelayi due to previous PR broke frl build ([comment](https://github.com/pytorch/pytorch/pull/153959#issuecomment-2901825315))
This commit is contained in:
PyTorch MergeBot
2025-05-22 16:17:07 +00:00
parent f419373dd3
commit 47a01f3efb
9 changed files with 15 additions and 163 deletions

View File

@ -447,7 +447,6 @@ def init_backend_registration() -> None:
from .cpp_wrapper_cpu import CppWrapperCpu
from .cpp_wrapper_cpu_array_ref import CppWrapperCpuArrayRef
from .cpp_wrapper_gpu import CppWrapperGpu
from .cpp_wrapper_mps import CppWrapperMps
from .cuda_combined_scheduling import CUDACombinedScheduling
from .halide import HalideScheduling
from .mps import MetalScheduling
@ -495,7 +494,7 @@ def init_backend_registration() -> None:
"mps",
MetalScheduling,
PythonWrapperCodegen,
CppWrapperMps,
CppWrapperGpu,
)
private_backend = torch._C._get_privateuse1_backend_name()