Skip to content

Commit 84fd16d

Browse files
asfiyab-nvidiakevinch-nv
authored andcommitted
8.5.3 update
Signed-off-by: Asfiya Baig <[email protected]>
1 parent 7583da4 commit 84fd16d

File tree

7 files changed

+10
-14
lines changed

7 files changed

+10
-14
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ __pycache__/
2121
*.py[cod]
2222

2323
# Build
24-
build
24+
build

.gitmodules

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[submodule "third_party/onnx"]
22
path = third_party/onnx
33
url = https://github.com/onnx/onnx.git
4-
branch = rel-1.6.0
4+
branch = rel-1.12.0

CMakeLists.txt

+5-3
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,11 @@ endif()
132132
# --------------------------------
133133
# API Tests
134134
# --------------------------------
135-
add_executable(getSupportedAPITest ${API_TESTS_SOURCES})
136-
target_include_directories(getSupportedAPITest PUBLIC ${ONNX_INCLUDE_DIRS} ${CUDNN_INCLUDE_DIR})
137-
target_link_libraries(getSupportedAPITest PUBLIC ${PROTOBUF_LIB} nvonnxparser_static ${CMAKE_THREAD_LIBS_INIT} ${CMAKE_DL_LIBS})
135+
if (BUILD_API_TEST)
136+
add_executable(getSupportedAPITest ${API_TESTS_SOURCES})
137+
target_include_directories(getSupportedAPITest PUBLIC ${ONNX_INCLUDE_DIRS} ${CUDNN_INCLUDE_DIR})
138+
target_link_libraries(getSupportedAPITest PUBLIC ${PROTOBUF_LIB} nvonnxparser_static ${CMAKE_THREAD_LIBS_INIT} ${CMAKE_DL_LIBS})
139+
endif()
138140

139141
# --------------------------------
140142
# Installation

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@
187187
same "printed page" as the copyright notice for easier
188188
identification within third-party archives.
189189

190-
Copyright 2021 NVIDIA Corporation
190+
Copyright 2023 NVIDIA Corporation
191191

192192
Licensed under the Apache License, Version 2.0 (the "License");
193193
you may not use this file except in compliance with the License.

builtin_op_importers.cpp

-6
Original file line numberDiff line numberDiff line change
@@ -1185,12 +1185,6 @@ NodeImportResult QuantDequantLinearHelper(
11851185
IImporterContext* ctx, ::ONNX_NAMESPACE::NodeProto const& node, std::vector<TensorOrWeights>& inputs, bool isDQ)
11861186
{
11871187
CHECK(notInvalidType(inputs.at(0), {"UINT8"}));
1188-
1189-
// For QuantizeLinear, the output type (and thus quantization type) is dependent on the second input (zero point).
1190-
if (!isDQ && inputs.size() >= 3)
1191-
{
1192-
CHECK(notInvalidType(inputs.at(2), {"UINT8"}));
1193-
}
11941188
auto addConstantLayer
11951189
= [ctx](nvinfer1::INetworkDefinition& network, ShapedWeights const& weights) -> nvinfer1::ITensor* {
11961190
nvinfer1::IConstantLayer* constLayer = network.addConstant(weights.shape, weights);

half.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* SPDX-FileCopyrightText: Copyright (c) 1993-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2+
* SPDX-FileCopyrightText: Copyright (c) 1993-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
33
* SPDX-License-Identifier: Apache-2.0
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");

ieee_half.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* SPDX-FileCopyrightText: Copyright (c) 1993-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2+
* SPDX-FileCopyrightText: Copyright (c) 1993-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
33
* SPDX-License-Identifier: Apache-2.0
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");

0 commit comments

Comments
 (0)