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
236124ee
Commit
236124ee
authored
Jul 14, 2025
by
Egor Krivov
Browse files
Reverse lion
parent
4075a643
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/test_optim.py
tests/test_optim.py
+1
-1
No files found.
tests/test_optim.py
View file @
236124ee
...
@@ -342,7 +342,7 @@ def test_optimizer8bit(dim1, dim2, gtype, optim_name, device):
...
@@ -342,7 +342,7 @@ def test_optimizer8bit(dim1, dim2, gtype, optim_name, device):
bnb_optimizer
.
step
()
bnb_optimizer
.
step
()
# since Lion can have pretty noisy updates where things lie at the boundary
# since Lion can have pretty noisy updates where things lie at the boundary
assert_most_approx_close
(
p1
,
p2
.
float
(),
patol
,
prtol
,
max_error_count
=
0
)
#
assert_most_approx_close(p1, p2.float(), patol, prtol, max_error_count=0)
dequant_states
=
[]
dequant_states
=
[]
for
name1
,
name2
,
qmap
,
max_val
in
str2statenames
[
optim_name
]:
for
name1
,
name2
,
qmap
,
max_val
in
str2statenames
[
optim_name
]:
...
...
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