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
39b097c7
Commit
39b097c7
authored
Jul 21, 2023
by
Ted Themistokleous
Browse files
Move parity checks dependancies to dockerfile instead of script.
parent
75f92445
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
Dockerfile
Dockerfile
+5
-0
tools/docker/ubuntu_2204.dockerfile
tools/docker/ubuntu_2204.dockerfile
+4
-0
tools/test_onnxrt_parity_checks.sh
tools/test_onnxrt_parity_checks.sh
+0
-4
No files found.
Dockerfile
View file @
39b097c7
...
...
@@ -125,3 +125,8 @@ ENV LD_LIBRARY_PATH=$PREFIX/lib
ENV
UBSAN_OPTIONS=print_stacktrace=1
ENV
ASAN_OPTIONS=detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1
RUN
ln
-s
/opt/rocm/llvm/bin/llvm-symbolizer /usr/bin/llvm-symbolizer
#install dependancies used for parity checks
RUN
pip3
install
psutil
==
5.9.5
onnx
==
1.10.2
coloredlogs
==
15.0.1
packaging
==
23.1
transformers
==
4.29.2
sympy
==
1.12
RUN
pip3
install
-U
numpy
==
1.21.6
tools/docker/ubuntu_2204.dockerfile
View file @
39b097c7
...
...
@@ -125,3 +125,7 @@ ENV UBSAN_OPTIONS=print_stacktrace=1
ENV
ASAN_OPTIONS=detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1
RUN
ln
-s
/opt/rocm/llvm/bin/llvm-symbolizer /usr/bin/llvm-symbolizer
#install dependancies used for onnxrt parity checks
RUN
pip3
install
psutil
==
5.9.5
onnx
==
1.10.2
coloredlogs
==
15.0.1
packaging
==
23.1
transformers
==
4.29.2
sympy
==
1.12
RUN
pip3
install
-U
numpy
==
1.21.6
tools/test_onnxrt_parity_checks.sh
View file @
39b097c7
...
...
@@ -23,10 +23,6 @@
#####################################################################################
set
-e
#install dependancies used for parity checks
pip3
install
psutil onnx coloredlogs packaging
transformers
==
4.29.2 sympy
pip3
install
-U
numpy
==
1.21.6
#Go to folder with parity checks
cd
/workspace/onnxruntime/onnxruntime/test/python/transformers/
...
...
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