From 54bd6ed1d6e3a14ee7b14996308825726ec5d1c3 Mon Sep 17 00:00:00 2001 From: Tom Aarsen Date: Thu, 27 Oct 2022 13:32:01 +0200 Subject: [PATCH] Remove unused imports --- bitsandbytes/nn/modules.py | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/bitsandbytes/nn/modules.py b/bitsandbytes/nn/modules.py index dbeb1c5..7f4c670 100644 --- a/bitsandbytes/nn/modules.py +++ b/bitsandbytes/nn/modules.py @@ -2,24 +2,11 @@ # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. -from typing import ( - Any, - Callable, - Dict, - Iterator, - Mapping, - Optional, - Set, - Tuple, - TypeVar, - Union, - overload, -) +from typing import Optional, TypeVar, Union, overload import torch import torch.nn.functional as F from torch import Tensor, device, dtype, nn -from torch.nn.parameter import Parameter import bitsandbytes as bnb from bitsandbytes.optim import GlobalOptimManager