-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ROCm - 6.4 updates * Readme - cleanup * Setup - Updates * Docs - Updates
- Loading branch information
1 parent
d5d6bb7
commit c267dcb
Showing
8 changed files
with
64 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,7 +30,7 @@ | |
|
||
__copyright__ = "Copyright 2018 - 2024, AMD ROCm MIVisionX" | ||
__license__ = "MIT" | ||
__version__ = "3.8.0" | ||
__version__ = "3.8.1" | ||
__email__ = "[email protected]" | ||
__status__ = "Shipping" | ||
|
||
|
@@ -250,9 +250,7 @@ def ERROR_CHECK(waitval): | |
|
||
inferenceDebianPackages = [ | ||
'python3-dev', | ||
'python3-pip', | ||
'protobuf-compiler', | ||
'libprotoc-dev' | ||
'python3-pip' | ||
] | ||
|
||
neuralNetRPMPackages = [ | ||
|
@@ -262,14 +260,9 @@ def ERROR_CHECK(waitval): | |
'migraphx-devel' | ||
] | ||
|
||
libPythonProto = "python3-protobuf" | ||
if "centos" in os_info_data and "VERSION_ID=7" in os_info_data: | ||
libPythonProto = "protobuf-python" | ||
inferenceRPMPackages = [ | ||
'python3-devel', | ||
'python3-pip', | ||
'protobuf-devel', | ||
str(libPythonProto) | ||
'python3-pip' | ||
] | ||
|
||
pipNumpyVersion = "numpy==1.23.0" | ||
|
@@ -311,7 +304,6 @@ def ERROR_CHECK(waitval): | |
] | ||
|
||
ffmpegDebianPackages = [ | ||
'ffmpeg', | ||
'libavcodec-dev', | ||
'libavformat-dev', | ||
'libavutil-dev', | ||
|
@@ -347,8 +339,7 @@ def ERROR_CHECK(waitval): | |
'libjpeg-devel', | ||
'libpng-devel', | ||
'libtiff-devel', | ||
'libavc1394', | ||
'unzip' | ||
'libavc1394' | ||
] | ||
|
||
# update | ||
|
@@ -456,14 +447,15 @@ def ERROR_CHECK(waitval): | |
# Install base Deps | ||
for i in range(len(pip3InferencePackagesRPM)): | ||
ERROR_CHECK(os.system('pip3 install '+ pip3InferencePackagesRPM[i])) | ||
if "SLES" in platfromInfo or "Mariner" in platfromInfo or "redhat-8" in platfromInfo: | ||
ERROR_CHECK(os.system('mkdir -p '+modelCompilerDeps+'/nnef-deps')) | ||
ERROR_CHECK(os.system( | ||
'(cd '+modelCompilerDeps+'/nnef-deps; git clone -b nnef-v1.0.0 https://github.com/KhronosGroup/NNEF-Tools.git)')) | ||
ERROR_CHECK(os.system( | ||
'(cd '+modelCompilerDeps+'/nnef-deps/NNEF-Tools/parser/cpp; mkdir -p build && cd build; '+linuxCMake+' ..; make -j$(nproc); sudo make install)')) | ||
ERROR_CHECK(os.system( | ||
'(cd '+modelCompilerDeps+'/nnef-deps/NNEF-Tools/parser/python; sudo python3 setup.py install)')) | ||
# NNEF Manual Install | ||
if "SLES" in platfromInfo or "Mariner" in platfromInfo or "redhat-8" in platfromInfo: | ||
ERROR_CHECK(os.system('mkdir -p '+modelCompilerDeps+'/nnef-deps')) | ||
ERROR_CHECK(os.system( | ||
'(cd '+modelCompilerDeps+'/nnef-deps; git clone -b nnef-v1.0.0 https://github.com/KhronosGroup/NNEF-Tools.git)')) | ||
ERROR_CHECK(os.system( | ||
'(cd '+modelCompilerDeps+'/nnef-deps/NNEF-Tools/parser/cpp; mkdir -p build && cd build; '+linuxCMake+' ..; make -j$(nproc); sudo make install)')) | ||
ERROR_CHECK(os.system( | ||
'(cd '+modelCompilerDeps+'/nnef-deps/NNEF-Tools/parser/python; sudo python3 setup.py install)')) | ||
else: | ||
print("STATUS: Model Compiler Deps Pre-Installed - " +modelCompilerDeps+"\n") | ||
else: | ||
|
Oops, something went wrong.