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
36f5c4f4
Commit
36f5c4f4
authored
Jul 14, 2025
by
Egor Krivov
Browse files
Changed number of errors
parent
236124ee
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tests/test_optim.py
tests/test_optim.py
+2
-2
No files found.
tests/test_optim.py
View file @
36f5c4f4
...
@@ -209,8 +209,8 @@ def test_optimizer32bit(dim1, dim2, gtype, optim_name, device):
...
@@ -209,8 +209,8 @@ def test_optimizer32bit(dim1, dim2, gtype, optim_name, device):
)
)
# 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
# allow up to 1
0
errors for Lion
# allow up to 1
5
errors for Lion
assert_most_approx_close
(
p1
,
p2
.
float
(),
atol
=
atol
,
rtol
=
rtol
,
max_error_count
=
1
0
)
assert_most_approx_close
(
p1
,
p2
.
float
(),
atol
=
atol
,
rtol
=
rtol
,
max_error_count
=
1
5
)
if
i
%
(
k
//
5
)
==
0
and
i
>
0
:
if
i
%
(
k
//
5
)
==
0
and
i
>
0
:
path
=
get_temp_dir
()
path
=
get_temp_dir
()
...
...
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