From b4b321b483aa3069c9b61f6fe4c6179dadb34a9e Mon Sep 17 00:00:00 2001 From: bmedishe Date: Mon, 28 Mar 2022 20:01:06 +0000 Subject: [PATCH] remove redundant hipify from setup.py --- setup.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/setup.py b/setup.py index 8498354adb9..8f085e7d2dd 100644 --- a/setup.py +++ b/setup.py @@ -147,15 +147,6 @@ def get_extensions(): is_rocm_pytorch = (torch.version.hip is not None) and (ROCM_HOME is not None) if is_rocm_pytorch: - from torch.utils.hipify import hipify_python - - hipify_python.hipify( - project_directory=this_dir, - output_directory=this_dir, - includes="torchvision/csrc/ops/cuda/*", - show_detailed=True, - is_pytorch_extension=True, - ) source_cuda = glob.glob(os.path.join(extensions_dir, "ops", "hip", "*.hip")) # Copy over additional files for file in glob.glob(r"torchvision/csrc/ops/cuda/*.h"):