Skip to content

Commit 44740c8

Browse files
NVTX Patch
1 parent 9b42134 commit 44740c8

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

transformer_engine/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ if (CMAKE_BUILD_TYPE STREQUAL "Debug")
2020
endif()
2121

2222
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/")
23-
find_package(CUDAToolkit REQUIRED cublas nvToolsExt)
23+
find_package(CUDAToolkit REQUIRED cublas)
2424
find_package(CUDNN REQUIRED cudnn)
2525
# NOTE[augment] -- commenting out this line since the Python components are unused and they cause build issues
2626
# find_package(Python COMPONENTS Interpreter Development REQUIRED)

transformer_engine/common/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ target_link_libraries(transformer_engine PUBLIC
5555
CUDA::cuda_driver
5656
CUDA::cudart
5757
CUDA::nvrtc
58-
CUDA::nvToolsExt
5958
CUDNN::cudnn)
6059
target_include_directories(transformer_engine PRIVATE
6160
${CMAKE_CUDA_TOOLKIT_INCLUDE_DIRECTORIES})

transformer_engine/common/nvtx.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#define TRANSFORMER_ENGINE_COMMON_NVTX_H_
99

1010
#include <string>
11-
#include <nvToolsExt.h>
11+
#include <nvtx3/nvToolsExt.h>
1212

1313
namespace transformer_engine::nvtx {
1414

0 commit comments

Comments
 (0)