Skip to content

Commit 9c54aa1

Browse files
Fix license in export_onnx.py (!195)
1 parent acecdb5 commit 9c54aa1

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

modelopt/torch/quantization/export_onnx.py

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -84,19 +84,21 @@
8484
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
8585
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
8686
# POSSIBILITY OF SUCH DAMAGE.
87+
88+
# SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
89+
# SPDX-License-Identifier: Apache-2.0
90+
#
91+
# Licensed under the Apache License, Version 2.0 (the "License");
92+
# you may not use this file except in compliance with the License.
93+
# You may obtain a copy of the License at
8794
#
88-
# Not a contribution
89-
# Changes made by NVIDIA CORPORATION & AFFILIATES or otherwise documented as
90-
# NVIDIA-proprietary are not a contribution and subject to the following terms and conditions:
91-
# SPDX-FileCopyrightText: Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
92-
# SPDX-License-Identifier: LicenseRef-NvidiaProprietary
95+
# http://www.apache.org/licenses/LICENSE-2.0
9396
#
94-
# NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
95-
# property and proprietary rights in and to this material, related
96-
# documentation and any modifications thereto. Any use, reproduction,
97-
# disclosure or distribution of this material and related documentation
98-
# without an express license agreement from NVIDIA CORPORATION or
99-
# its affiliates is strictly prohibited.
97+
# Unless required by applicable law or agreed to in writing, software
98+
# distributed under the License is distributed on an "AS IS" BASIS,
99+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
100+
# See the License for the specific language governing permissions and
101+
# limitations under the License.
100102

101103
"""Utility to export a quantized torch model to quantized ONNX."""
102104

0 commit comments

Comments
 (0)