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
74c00eb1
Commit
74c00eb1
authored
Nov 09, 2023
by
Ruslan Svirschevski
Browse files
remove moving offset if not nested
parent
070f45d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
bitsandbytes/functional.py
bitsandbytes/functional.py
+0
-1
No files found.
bitsandbytes/functional.py
View file @
74c00eb1
...
...
@@ -680,7 +680,6 @@ class QuantState:
def
to
(
self
,
device
):
# make sure the quantization state is on the right device
self
.
absmax
=
self
.
absmax
.
to
(
device
)
self
.
offset
=
self
.
offset
.
to
(
device
)
if
self
.
nested
:
self
.
offset
=
self
.
offset
.
to
(
device
)
self
.
state2
.
absmax
=
self
.
state2
.
absmax
.
to
(
device
)
...
...
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