Revert "[nativert] triton runtime implementation (#161798)"

This reverts commit 3dde5d7f9bf80dd6623a712bc429e9e4302464b5.

Reverted https://github.com/pytorch/pytorch/pull/161798 on behalf of https://github.com/jeanschmidt due to introducing linting failures ([comment](https://github.com/pytorch/pytorch/pull/161798#issuecomment-3255412085))
This commit is contained in:
PyTorch MergeBot
2025-09-04 20:05:24 +00:00
parent dbec08729f
commit 95ee0bfea9
12 changed files with 1 additions and 578 deletions

View File

@ -635,12 +635,6 @@ libtorch_nativert_sources = [
"torch/nativert/graph/passes/pass_manager/GraphPasses.cpp",
"torch/nativert/graph/passes/pass_manager/PassManager.cpp",
"torch/nativert/kernels/KernelHandlerRegistry.cpp",
"torch/nativert/kernels/TritonKernel.cpp",
"torch/nativert/executor/triton/CpuTritonKernelManager.cpp",
]
libtorch_nativert_cuda_sources = [
"torch/nativert/executor/triton/CudaTritonKernelManager.cpp",
]
torch_mobile_tracer_sources = [
@ -776,7 +770,7 @@ libtorch_cuda_distributed_sources = libtorch_cuda_distributed_base_sources + lib
libtorch_cuda_sources = libtorch_cuda_core_sources + libtorch_cuda_distributed_sources + [
"torch/csrc/cuda/nccl.cpp",
] + libtorch_nativert_cuda_sources
]
torch_cpp_srcs = [
"torch/csrc/api/src/cuda.cpp", # this just forwards stuff, no real CUDA