Skip to content

Commit fec9876

Browse files
committed
Fix colfax cutlass build
1 parent 10836fa commit fec9876

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

tools/cutlass_kernels/install.py

+4-5
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
"/usr/local/cuda" if "CUDA_HOME" not in os.environ else os.environ["CUDA_HOME"]
99
)
1010
REPO_PATH = Path(os.path.abspath(__file__)).parent.parent.parent
11-
FBGEMM_PATH = REPO_PATH.joinpath("submodules", "FBGEMM", "fbgemm_gpu")
12-
FBGEMM_CUTLASS_PATH = FBGEMM_PATH.parent.joinpath("external", "cutlass")
11+
TORCH_CUTLASS_PATH = REPO_PATH.joinpath("submodules", "cutlass")
1312
COLFAX_CUTLASS_PATH = REPO_PATH.joinpath("submodules", "cutlass-kernels")
1413
COLFAX_CUTLASS_TRITONBENCH_PATH = REPO_PATH.joinpath("tools", "cutlass_kernels")
1514

@@ -41,9 +40,9 @@
4140
f"-I{str(COLFAX_CUTLASS_PATH.joinpath('lib').resolve())}",
4241
f"-I{str(COLFAX_CUTLASS_PATH.joinpath('include').resolve())}",
4342
f"-I{str(COLFAX_CUTLASS_PATH.joinpath('src', 'fmha').resolve())}",
44-
f"-I{str(FBGEMM_CUTLASS_PATH.joinpath('include').resolve())}",
45-
f"-I{str(FBGEMM_CUTLASS_PATH.joinpath('examples', 'commmon').resolve())}",
46-
f"-I{str(FBGEMM_CUTLASS_PATH.joinpath('tools', 'util', 'include').resolve())}",
43+
f"-I{str(TORCH_CUTLASS_PATH.joinpath('include').resolve())}",
44+
f"-I{str(TORCH_CUTLASS_PATH.joinpath('examples', 'commmon').resolve())}",
45+
f"-I{str(TORCH_CUTLASS_PATH.joinpath('tools', 'util', 'include').resolve())}",
4746
f"-I{CUDA_HOME}/include",
4847
f"-I{str(TORCH_BASE_PATH.joinpath('include').resolve())}",
4948
f"-I{str(COLFAX_CUTLASS_TRITONBENCH_PATH.joinpath('include').resolve())}",

0 commit comments

Comments
 (0)