Skip to content

Commit 897e286

Browse files
authored
Remove PyTorch libraries from aoti_cuda target
Removed linking to PyTorch libraries in aoti_cuda target.
1 parent 1da530d commit 897e286

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

backends/cuda/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@ target_link_options(aoti_cuda PUBLIC -Wl,--export-dynamic)
5555
target_link_libraries(
5656
aoti_cuda
5757
PUBLIC aoti_common CUDA::cudart ${CMAKE_DL_LIBS}
58-
# Link PyTorch libraries for AOTI CUDA functions
59-
${TORCH_LIBRARIES}
6058
)
6159
# If you need other CUDA libraries, link them similarly:
6260
# target_link_libraries(aoti_cuda PUBLIC CUDA::cublas CUDA::cufft ...)

0 commit comments

Comments
 (0)