Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
zhyncs committed Jan 15, 2025
1 parent 2490694 commit 7e9031a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sgl-kernel/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ def update_wheel_platform_tag():
"-U__CUDA_NO_HALF2_OPERATORS__",
]
cxx_flags = ["-O3"]
libraries = ["c10", "torch", "torch_python"]
extra_link_args = ["-Wl,-rpath,$ORIGIN/../../torch/lib"]
libraries = ["c10", "torch", "torch_python", "cuda"]
extra_link_args = ["-Wl,-rpath,$ORIGIN/../../torch/lib", "-L/usr/lib/x86_64-linux-gnu"]
ext_modules = [
CUDAExtension(
name="sgl_kernel.ops._kernels",
Expand Down

0 comments on commit 7e9031a

Please sign in to comment.