-
Notifications
You must be signed in to change notification settings - Fork 671
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ran black and isort for coherent code formatting
- Loading branch information
1 parent
597a852
commit bfa0e33
Showing
25 changed files
with
3,866 additions
and
1,998 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.