Skip to content

Commit 428f754

Browse files
committed
delete other folders only reserve samples
1 parent e210d57 commit 428f754

File tree

1,595 files changed

+5
-2056052
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,595 files changed

+5
-2056052
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 67 deletions
This file was deleted.

.github/workflows/blossom-ci.yml

Lines changed: 0 additions & 111 deletions
This file was deleted.

.github/workflows/docker-image.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

CMakeLists.txt

Lines changed: 5 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -99,26 +99,15 @@ endif()
9999

100100
set(DEFAULT_CUDA_VERSION 12.2.0)
101101
set(DEFAULT_CUDNN_VERSION 8.9)
102-
set(DEFAULT_PROTOBUF_VERSION 3.20.1)
103102

104103
# Dependency Version Resolution
105104
set_ifndef(CUDA_VERSION ${DEFAULT_CUDA_VERSION})
106105
message(STATUS "CUDA version set to ${CUDA_VERSION}")
107106
set_ifndef(CUDNN_VERSION ${DEFAULT_CUDNN_VERSION})
108107
message(STATUS "cuDNN version set to ${CUDNN_VERSION}")
109-
set_ifndef(PROTOBUF_VERSION ${DEFAULT_PROTOBUF_VERSION})
110-
message(STATUS "Protobuf version set to ${PROTOBUF_VERSION}")
111108

112109
set(THREADS_PREFER_PTHREAD_FLAG ON)
113110
find_package(Threads REQUIRED)
114-
if (BUILD_PLUGINS OR BUILD_PARSERS)
115-
include(third_party/protobuf.cmake)
116-
endif()
117-
if(NOT CUB_ROOT_DIR)
118-
if (CUDA_VERSION VERSION_LESS 11.0)
119-
set(CUB_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/cub CACHE STRING "directory of CUB installation")
120-
endif()
121-
endif()
122111

123112
## find_package(CUDA) is broken for cross-compilation. Enable CUDA language instead.
124113
if(NOT DEFINED CMAKE_TOOLCHAIN_FILE)
@@ -128,15 +117,11 @@ endif()
128117
include_directories(
129118
${CUDA_INCLUDE_DIRS}
130119
)
131-
if(BUILD_PARSERS)
132-
configure_protobuf(${PROTOBUF_VERSION})
133-
endif()
134120

135-
# Windows library names have major version appended.
136-
set(nvinfer_lib_name "nvinfer")
137-
set(nvinfer_plugin_lib_name "nvinfer_plugin")
138-
set(nvinfer_vc_plugin_lib_name "nvinfer_vc_plugin")
139-
set(nvonnxparser_lib_name "nvonnxparser")
121+
set(nvinfer_lib_name "nvinfer")
122+
set(nvinfer_plugin_lib_name "nvinfer_plugin")
123+
set(nvinfer_vc_plugin_lib_name "nvinfer_vc_plugin")
124+
set(nvonnxparser_lib_name "nvonnxparser")
140125

141126
find_library_create_target(nvinfer ${nvinfer_lib_name} SHARED ${TRT_LIB_DIR})
142127

@@ -154,7 +139,6 @@ set(CUDA_LIBRARIES ${CUDART_LIB})
154139

155140
############################################################################################
156141
# CUDA targets
157-
158142
if (DEFINED GPU_ARCHS)
159143
message(STATUS "GPU_ARCHS defined as ${GPU_ARCHS}. Generating CUDA code for SM ${GPU_ARCHS}")
160144
separate_arguments(GPU_ARCHS)
@@ -200,12 +184,7 @@ if (${LATEST_SM} GREATER_EQUAL 75)
200184
set(BERT_GENCODES "${BERT_GENCODES} -gencode arch=compute_${LATEST_SM},code=compute_${LATEST_SM}")
201185
endif()
202186

203-
if(NOT MSVC)
204-
set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} --expt-relaxed-constexpr -Xcompiler -Wno-deprecated-declarations")
205-
else()
206-
set(CMAKE_CUDA_SEPARABLE_COMPILATION ON)
207-
set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} --expt-relaxed-constexpr -Xcompiler")
208-
endif()
187+
set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} --expt-relaxed-constexpr -Xcompiler -Wno-deprecated-declarations")
209188

210189
############################################################################################
211190
# TensorRT

demo/BERT/CMakeLists.txt

Lines changed: 0 additions & 72 deletions
This file was deleted.

0 commit comments

Comments
 (0)