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
gaoqiong
MIGraphX
Commits
f73162a7
Commit
f73162a7
authored
Oct 10, 2023
by
charlie
Browse files
fp16 change default tolerances
parent
e5cd8b6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
src/driver/main.cpp
src/driver/main.cpp
+6
-0
No files found.
src/driver/main.cpp
View file @
f73162a7
...
...
@@ -542,6 +542,12 @@ struct verify : command<verify>
void
parse
(
argument_parser
&
ap
)
{
c
.
parse
(
ap
);
//TODO remove this and make the driver able to figure out datatype most used in the model
// then set the tolerances appropriately
if
(
c
.
to_fp16
)
{
tols
=
migraphx
::
verify
::
tolerance
{
8e-2
,
4e-2
,
4e-2
};
}
ap
(
tols
.
rms_tol
,
{
"--rms-tol"
},
ap
.
help
(
"Tolerance for the RMS error (Default: 0.001)"
));
ap
(
tols
.
atol
,
{
"--atol"
},
...
...
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