Skip to content

Commit

Permalink
Fix cutlass and tk install
Browse files Browse the repository at this point in the history
  • Loading branch information
xuzhao9 committed Nov 5, 2024
1 parent 92be7af commit c85f689
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions install.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def test_fbgemm():


def install_cutlass():
from utils.cutlass_kernels.install import install_colfax_cutlass
from tools.cutlass_kernels.install import install_colfax_cutlass

install_colfax_cutlass()

Expand Down Expand Up @@ -84,7 +84,7 @@ def install_liger():


def install_tk():
from utils.tk.install import install_tk
from tools.tk.install import install_tk

install_tk()

Expand Down
2 changes: 1 addition & 1 deletion tools/cutlass_kernels/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
FBGEMM_PATH = REPO_PATH.joinpath("submodules", "FBGEMM", "fbgemm_gpu")
FBGEMM_CUTLASS_PATH = FBGEMM_PATH.parent.joinpath("external", "cutlass")
COLFAX_CUTLASS_PATH = REPO_PATH.joinpath("submodules", "cutlass-kernels")
COLFAX_CUTLASS_TRITONBENCH_PATH = REPO_PATH.joinpath("utils", "cutlass_kernels")
COLFAX_CUTLASS_TRITONBENCH_PATH = REPO_PATH.joinpath("tools", "cutlass_kernels")

TORCH_BASE_PATH = Path(torch.__file__).parent

Expand Down
2 changes: 1 addition & 1 deletion tools/tk/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
REPO_PATH = Path(os.path.abspath(__file__)).parent.parent.parent
TK_PATH = REPO_PATH.joinpath("submodules", "ThunderKittens")
TK_PYUTILS_PATH = TK_PATH.joinpath("src", "common", "pyutils")
TRITONBENCH_TK_PATH = REPO_PATH.joinpath("utils", "tk")
TRITONBENCH_TK_PATH = REPO_PATH.joinpath("tools", "tk")
TORCH_BASE_PATH = Path(torch.__file__).parent
CONDA_PREFIX = os.environ.get("CONDA_PREFIX", None)
PYTHON_VERSION = f"python{sys.version_info[0]}.{sys.version_info[1]}"
Expand Down

0 comments on commit c85f689

Please sign in to comment.