From cdc011cd953d6be1eab1b94e603e7ceae231c125 Mon Sep 17 00:00:00 2001 From: Cody Yu Date: Mon, 3 Feb 2025 18:44:18 +0000 Subject: [PATCH] gfix Signed-off-by: Cody Yu --- tests/models/test_transformers.py | 1 + vllm/model_executor/models/transformers.py | 14 +------------- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/tests/models/test_transformers.py b/tests/models/test_transformers.py index c6536f37cbdc8..1d5d9729df85b 100644 --- a/tests/models/test_transformers.py +++ b/tests/models/test_transformers.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 """Test the functionality of the Transformers backend. Run `pytest tests/models/test_transformers.py`. diff --git a/vllm/model_executor/models/transformers.py b/vllm/model_executor/models/transformers.py index ff1ae0ac85bac..4170fad9addfe 100644 --- a/vllm/model_executor/models/transformers.py +++ b/vllm/model_executor/models/transformers.py @@ -1,16 +1,4 @@ -# Copyright 2024 The vLLM team. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-License-Identifier: Apache-2.0 """Wrapper around `transformers` models""" import re from typing import Iterable, List, Optional, Set, Tuple, Union