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
a9fe0ff9
"git@developer.sourcefind.cn:OpenDAS/torchani.git" did not exist on "f73d8ae1ca88b1553938abbcc982f314bbb31221"
Commit
a9fe0ff9
authored
Sep 17, 2022
by
justheuristic
Browse files
recast to fp16
parent
fc4a135e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
bitsandbytes/autograd/_functions.py
bitsandbytes/autograd/_functions.py
+1
-1
No files found.
bitsandbytes/autograd/_functions.py
View file @
a9fe0ff9
...
@@ -275,7 +275,7 @@ class MatMul8bitLt(torch.autograd.Function):
...
@@ -275,7 +275,7 @@ class MatMul8bitLt(torch.autograd.Function):
state
.
SCB
,
state
.
SCB
,
state
.
SCBt
,
state
.
SCBt
,
coo_tensorB
,
coo_tensorB
,
)
=
F
.
double_quant
(
B
)
)
=
F
.
double_quant
(
B
.
to
(
torch
.
float16
)
)
state
.
CxB
,
state
.
SB
=
F
.
transform
(
CB
,
to_order
=
formatB
)
state
.
CxB
,
state
.
SB
=
F
.
transform
(
CB
,
to_order
=
formatB
)
else
:
else
:
has_grad
=
False
has_grad
=
False
...
...
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