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
c4cee345
"tests/pytorch/test_utils.py" did not exist on "c80f3e490c11e77d5379002b1270aab02d09be6d"
Unverified
Commit
c4cee345
authored
Dec 01, 2023
by
Umang Yadav
Committed by
GitHub
Dec 01, 2023
Browse files
Merge branch 'develop' into rocblas_fp8
parents
c40a39c3
eafd55de
Changes
143
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
6 deletions
+8
-6
tools/accuracy/accuracy_checker.py
tools/accuracy/accuracy_checker.py
+5
-4
tools/accuracy/requirements.txt
tools/accuracy/requirements.txt
+1
-1
tools/install_prereqs.sh
tools/install_prereqs.sh
+2
-1
No files found.
tools/accuracy/accuracy_checker.py
View file @
c4cee345
...
...
@@ -134,10 +134,11 @@ def check_correctness(gold_outputs,
if
not
np
.
allclose
(
gold_outputs
[
i
],
outputs
[
i
],
rtol
,
atol
):
ret
=
False
if
verbose
:
print
(
'
\n
Output {} is incorrect ...'
.
format
(
i
))
print
(
'Expected value:
\n
{}'
.
format
(
gold_outputs
[
i
]))
print
(
'......'
)
print
(
'Actual value:
\n
{}
\n
'
.
format
(
outputs
[
i
]))
with
np
.
printoptions
(
threshold
=
np
.
inf
):
print
(
'
\n
Output {} is incorrect ...'
.
format
(
i
))
print
(
'Expected value:
\n
{}
\n
'
.
format
(
gold_outputs
[
i
]))
print
(
'
\n
......
\n
'
)
print
(
'Actual value:
\n
{}
\n
'
.
format
(
outputs
[
i
]))
else
:
print
(
'Outputs do not match'
)
break
...
...
tools/accuracy/requirements.txt
View file @
c4cee345
...
...
@@ -22,4 +22,4 @@
# THE SOFTWARE.
#####################################################################################
numpy==1.21.6
onnxruntime==1.16.
2
onnxruntime==1.16.
3
tools/install_prereqs.sh
View file @
c4cee345
...
...
@@ -53,7 +53,8 @@ else
python3-pip
\
python3-venv
\
rocblas-dev
\
rocm-cmake
rocm-cmake
\
libtbb-dev
fi
...
...
Prev
1
…
4
5
6
7
8
Next
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