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
4dd475ce
Commit
4dd475ce
authored
Sep 11, 2022
by
dbaranchuk
Browse files
refactoring
parent
d358999e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
bitsandbytes/autograd/_functions.py
bitsandbytes/autograd/_functions.py
+0
-1
bitsandbytes/nn/modules.py
bitsandbytes/nn/modules.py
+1
-1
No files found.
bitsandbytes/autograd/_functions.py
View file @
4dd475ce
import
operator
import
operator
import
torch
import
torch
import
bitsandbytes
as
bnb
import
bitsandbytes.functional
as
F
import
bitsandbytes.functional
as
F
from
dataclasses
import
dataclass
from
dataclasses
import
dataclass
...
...
bitsandbytes/nn/modules.py
View file @
4dd475ce
...
@@ -221,9 +221,9 @@ class Linear8bitLt(nn.Linear):
...
@@ -221,9 +221,9 @@ class Linear8bitLt(nn.Linear):
output_features
,
output_features
,
bias
=
True
,
bias
=
True
,
has_fp16_weights
=
True
,
has_fp16_weights
=
True
,
memory_efficient_backward
=
False
,
threshold
=
0.0
,
threshold
=
0.0
,
index
=
None
,
index
=
None
,
memory_efficient_backward
=
False
):
):
super
(
Linear8bitLt
,
self
).
__init__
(
super
(
Linear8bitLt
,
self
).
__init__
(
input_features
,
output_features
,
bias
input_features
,
output_features
,
bias
...
...
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