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
87816e4e
Unverified
Commit
87816e4e
authored
Jul 18, 2023
by
Ikko Eltociear Ashimine
Committed by
GitHub
Jul 18, 2023
Browse files
Fix typo in test_optim.py
paramters -> parameters
parent
e229fbce
Changes
1
Hide 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 @
87816e4e
...
...
@@ -169,7 +169,7 @@ def test_optimizer32bit(dim1, dim2, gtype, optim_name):
if
gtype
!=
torch
.
float32
:
# the adam buffers should also be close because they are 32-bit
# but the paramters can diverge because they are 16-bit
# but the param
e
ters can diverge because they are 16-bit
# the difference grow larger and larger with each update
# --> copy the state to keep weights close
p1
.
data
=
p1
.
data
.
to
(
p2
.
dtype
).
float
()
...
...
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