Skip to content

Commit

Permalink
Fix cutlass build error when cuda greater than 11 and with_python=off (
Browse files Browse the repository at this point in the history
  • Loading branch information
chalsliu authored Feb 23, 2023
1 parent 91a3d15 commit 22925c2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmake/external/cutlass.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ include_directories(

add_definitions("-DPADDLE_WITH_CUTLASS")

if(NOT PYTHON_EXECUTABLE)
find_package(PythonInterp REQUIRED)
endif()

ExternalProject_Add(
extern_cutlass
${EXTERNAL_PROJECT_LOG_ARGS} ${SHALLOW_CLONE}
Expand Down

0 comments on commit 22925c2

Please sign in to comment.