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
54bd6ed1
Commit
54bd6ed1
authored
Oct 27, 2022
by
Tom Aarsen
Browse files
Remove unused imports
parent
ef70f2ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
14 deletions
+1
-14
bitsandbytes/nn/modules.py
bitsandbytes/nn/modules.py
+1
-14
No files found.
bitsandbytes/nn/modules.py
View file @
54bd6ed1
...
...
@@ -2,24 +2,11 @@
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
from
typing
import
(
Any
,
Callable
,
Dict
,
Iterator
,
Mapping
,
Optional
,
Set
,
Tuple
,
TypeVar
,
Union
,
overload
,
)
from
typing
import
Optional
,
TypeVar
,
Union
,
overload
import
torch
import
torch.nn.functional
as
F
from
torch
import
Tensor
,
device
,
dtype
,
nn
from
torch.nn.parameter
import
Parameter
import
bitsandbytes
as
bnb
from
bitsandbytes.optim
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