diff options
author | Titus von Koeller <titus@vonkoeller.com> | 2022-08-01 03:31:48 -0700 |
---|---|---|
committer | Titus von Koeller <titus@vonkoeller.com> | 2022-08-01 03:31:48 -0700 |
commit | bfa0e33294f2b1dc25e65a33be2397f989824298 (patch) | |
tree | 396b5d722fdd79da068882ca7376e3636fcb3bb8 /bitsandbytes/__init__.py | |
parent | 597a8521b29e90958c31e47421016494da998648 (diff) |
ran black and isort for coherent code formatting
Diffstat (limited to 'bitsandbytes/__init__.py')
-rw-r--r-- | bitsandbytes/__init__.py | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/bitsandbytes/__init__.py b/bitsandbytes/__init__.py index 3c3affa..7ca017d 100644 --- a/bitsandbytes/__init__.py +++ b/bitsandbytes/__init__.py @@ -1,16 +1,18 @@ -# Copyright (c) Facebook, Inc. and its affiliates. -# -# This source code is licensed under the MIT license found in the +# Copyright (c) Facebook, Inc. and its affiliates. +# +# This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. -from .nn import modules -from .autograd._functions import mm_cublas, bmm_cublas, matmul_cublas, matmul, MatmulLtState +from .autograd._functions import (MatmulLtState, bmm_cublas, matmul, + matmul_cublas, mm_cublas) from .cextension import COMPILED_WITH_CUDA +from .nn import modules if COMPILED_WITH_CUDA: from .optim import adam -__pdoc__ = {'libbitsandbytes': False, - 'optim.optimizer.Optimizer8bit': False, - 'optim.optimizer.MockArgs': False - } +__pdoc__ = { + "libbitsandbytes": False, + "optim.optimizer.Optimizer8bit": False, + "optim.optimizer.MockArgs": False, +} |