bitsandbytes-rocm/bitsandbytes/__init__.py

19 lines
555 B
Python
Raw Normal View History

# Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
2021-10-06 02:16:20 +00:00
# LICENSE file in the root directory of this source tree.
2022-07-01 14:16:10 +00:00
from .autograd._functions import (MatmulLtState, bmm_cublas, matmul,
matmul_cublas, mm_cublas)
2022-07-01 14:25:44 +00:00
from .cextension import COMPILED_WITH_CUDA
from .nn import modules
2022-07-01 14:16:10 +00:00
if COMPILED_WITH_CUDA:
from .optim import adam
__pdoc__ = {
"libbitsandbytes": False,
"optim.optimizer.Optimizer8bit": False,
"optim.optimizer.MockArgs": False,
}