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
876387dc
"vscode:/vscode.git/clone" did not exist on "7eba6bfb5bd0e6569547b62ae44c3d0d7dbd028f"
Commit
876387dc
authored
Aug 24, 2022
by
dbaranchuk
Browse files
minor fixes
parent
656de8ed
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
bitsandbytes/autograd/_functions.py
bitsandbytes/autograd/_functions.py
+2
-2
No files found.
bitsandbytes/autograd/_functions.py
View file @
876387dc
...
@@ -363,8 +363,8 @@ class MatMul8bitLt(torch.autograd.Function):
...
@@ -363,8 +363,8 @@ class MatMul8bitLt(torch.autograd.Function):
# Restore CBt from CB
# Restore CBt from CB
assert
state
.
CBt
is
None
,
"CBt should not be stored in state"
assert
state
.
CBt
is
None
,
"CBt should not be stored in state"
CB
=
state
.
CB
.
half
()
CB
=
state
.
CB
.
half
()
SCB
=
state
.
SCB
.
unsque
z
ee
(
1
).
half
()
SCB
=
state
.
SCB
.
unsquee
z
e
(
1
).
half
()
SCBt
=
state
.
SCBt
.
unsque
z
ee
(
1
).
half
()
SCBt
=
state
.
SCBt
.
unsquee
z
e
(
1
).
half
()
Bt
=
(
CB
*
SCB
).
t
().
contiguous
()
Bt
=
(
CB
*
SCB
).
t
().
contiguous
()
CBt
=
(
Bt
/
SCBt
).
t
().
to
(
torch
.
int8
)
CBt
=
(
Bt
/
SCBt
).
t
().
to
(
torch
.
int8
)
...
...
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