__init__.py 569 Bytes
Newer Older
1
2
3
# Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
Tim Dettmers's avatar
Tim Dettmers committed
4
# LICENSE file in the root directory of this source tree.
Max Ryabinin's avatar
Max Ryabinin committed
5

6
7
8
9
10
11
12
from .autograd._functions import (
    MatmulLtState,
    bmm_cublas,
    matmul,
    matmul_cublas,
    mm_cublas,
)
Max Ryabinin's avatar
Max Ryabinin committed
13
from .cextension import COMPILED_WITH_CUDA
14
from .nn import modules
15
from . import cuda_setup
Max Ryabinin's avatar
Max Ryabinin committed
16
17
18
19

if COMPILED_WITH_CUDA:
    from .optim import adam

20
21
22
23
24
__pdoc__ = {
    "libbitsandbytes": False,
    "optim.optimizer.Optimizer8bit": False,
    "optim.optimizer.MockArgs": False,
}