From ce29c4f80b83d3db4f31d552858537bd062d5b1e Mon Sep 17 00:00:00 2001 From: dbogunowicz Date: Tue, 2 Apr 2024 12:42:18 +0000 Subject: [PATCH] fix bad rebase & quality --- src/sparseml/export/validators.py | 1 + src/sparseml/transformers/modify/__init__.py | 13 ------------- tiny_starcoder_py | 1 - 3 files changed, 1 insertion(+), 14 deletions(-) delete mode 100644 src/sparseml/transformers/modify/__init__.py delete mode 160000 tiny_starcoder_py diff --git a/src/sparseml/export/validators.py b/src/sparseml/export/validators.py index 3eab6bf2202..f513bda21aa 100644 --- a/src/sparseml/export/validators.py +++ b/src/sparseml/export/validators.py @@ -19,6 +19,7 @@ from pathlib import Path from typing import Callable, List, Optional from typing import OrderedDict as OrderedDictType +from typing import Union import numpy import onnx diff --git a/src/sparseml/transformers/modify/__init__.py b/src/sparseml/transformers/modify/__init__.py deleted file mode 100644 index 0c44f887a47..00000000000 --- a/src/sparseml/transformers/modify/__init__.py +++ /dev/null @@ -1,13 +0,0 @@ -# Copyright (c) 2021 - present / Neuralmagic, Inc. All Rights Reserved. -# -# 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. diff --git a/tiny_starcoder_py b/tiny_starcoder_py deleted file mode 160000 index 8547527bef0..00000000000 --- a/tiny_starcoder_py +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 8547527bef0bc927268c1653cce6948c5c242dd1