summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_modules.py4
-rw-r--r--tests/test_optim.py1
2 files changed, 0 insertions, 5 deletions
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