bitsandbytes-rocm/bitsandbytes/__init__.py

16 lines
451 B
Python
Raw Normal View History

2021-10-06 02:16:20 +00:00
# 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.
2022-07-01 14:16:10 +00:00
2021-10-06 02:16:20 +00:00
from .nn import modules
2022-07-01 14:25:44 +00:00
from .cextension import COMPILED_WITH_CUDA
2022-07-01 14:16:10 +00:00
if COMPILED_WITH_CUDA:
from .optim import adam
__pdoc__ = {'libBitsNBytes': False,
2021-10-06 02:16:20 +00:00
'optim.optimizer.Optimizer8bit': False,
'optim.optimizer.MockArgs': False
2022-07-01 14:16:10 +00:00
}