diff options
author | Max Ryabinin <mryabinin0@gmail.com> | 2022-06-30 18:14:20 +0300 |
---|---|---|
committer | Max Ryabinin <mryabinin0@gmail.com> | 2022-06-30 18:14:20 +0300 |
commit | 33efe4a09f459832e8beceba70add0695cc485e4 (patch) | |
tree | 546ef2dea977f9850b4afeb9bfb18871ef948654 /bitsandbytes/functional.py | |
parent | 4e60e7dc62c50b6ba9b6becf6e779a1d48906be2 (diff) |
Remove unused imports, fix NotImplementedError
Diffstat (limited to 'bitsandbytes/functional.py')
-rw-r--r-- | bitsandbytes/functional.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bitsandbytes/functional.py b/bitsandbytes/functional.py index 44116cc..fbd7564 100644 --- a/bitsandbytes/functional.py +++ b/bitsandbytes/functional.py @@ -2,13 +2,13 @@ # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. +import ctypes as ct import os import random -import math -import ctypes as ct +from typing import Tuple + import torch from torch import Tensor -from typing import Tuple lib = ct.cdll.LoadLibrary(os.path.dirname(__file__) + '/libbitsandbytes.so') name2qmap = {} |