Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yzh119 committed Jan 28, 2024
1 parent 3572068 commit c3e26dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import setuptools
import torch.utils.cpp_extension as torch_cpp_ext

root = pathlib.Path(__name__).parent
root = pathlib.Path(__name__).parent.resolve().parent


def get_local_version_suffix() -> str:
Expand Down Expand Up @@ -73,7 +73,7 @@ def remove_unwanted_pytorch_nvcc_flags():
"csrc/batch_prefill.cu",
],
include_dirs=[
str(root.resolve().parent / "include"),
str(root / "include"),
],
extra_compile_args={
"cxx": ["-O3"],
Expand Down

0 comments on commit c3e26dc

Please sign in to comment.