Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
bitsandbytes
Commits
e4cf33f2
Commit
e4cf33f2
authored
Jul 01, 2022
by
Max Ryabinin
Browse files
Fix imports
parent
8258b436
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
bitsandbytes/__init__.py
bitsandbytes/__init__.py
+1
-1
bitsandbytes/functional.py
bitsandbytes/functional.py
+1
-1
bitsandbytes/optim/__init__.py
bitsandbytes/optim/__init__.py
+2
-1
No files found.
bitsandbytes/__init__.py
View file @
e4cf33f2
...
...
@@ -4,7 +4,7 @@
# LICENSE file in the root directory of this source tree.
from
.nn
import
modules
from
cextension
import
COMPILED_WITH_CUDA
from
.
cextension
import
COMPILED_WITH_CUDA
if
COMPILED_WITH_CUDA
:
from
.optim
import
adam
...
...
bitsandbytes/functional.py
View file @
e4cf33f2
...
...
@@ -9,7 +9,7 @@ from typing import Tuple
import
torch
from
torch
import
Tensor
from
cextension
import
lib
,
COMPILED_WITH_CUDA
from
.
cextension
import
lib
,
COMPILED_WITH_CUDA
name2qmap
=
{}
...
...
bitsandbytes/optim/__init__.py
View file @
e4cf33f2
...
...
@@ -13,4 +13,5 @@ if COMPILED_WITH_CUDA:
from
.lamb
import
LAMB
,
LAMB8bit
,
LAMB32bit
from
.rmsprop
import
RMSprop
,
RMSprop8bit
,
RMSprop32bit
from
.adagrad
import
Adagrad
,
Adagrad8bit
,
Adagrad32bit
from
.optimizer
import
GlobalOptimManager
from
.optimizer
import
GlobalOptimManager
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment