From 33efe4a09f459832e8beceba70add0695cc485e4 Mon Sep 17 00:00:00 2001 From: Max Ryabinin Date: Thu, 30 Jun 2022 18:14:20 +0300 Subject: Remove unused imports, fix NotImplementedError --- tests/test_modules.py | 4 ---- tests/test_optim.py | 1 - 2 files changed, 5 deletions(-) (limited to 'tests') diff --git a/tests/test_modules.py b/tests/test_modules.py index 6cbee7b..a0379cb 100644 --- a/tests/test_modules.py +++ b/tests/test_modules.py @@ -6,10 +6,6 @@ import pytest import torch import bitsandbytes as bnb -from itertools import product - -from bitsandbytes import functional as F - @pytest.mark.parametrize("embcls", [bnb.nn.Embedding, bnb.nn.StableEmbedding], ids=['Embedding', 'StableEmbedding']) def test_embeddings(embcls): diff --git a/tests/test_optim.py b/tests/test_optim.py index 5464043..c80fe51 100644 --- a/tests/test_optim.py +++ b/tests/test_optim.py @@ -7,7 +7,6 @@ import time import shutil import uuid import pytest -import ctypes import torch import bitsandbytes as bnb import bitsandbytes.functional as F -- cgit v1.2.3