You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ck setup kernel --var.install_to_env=yes
ck detect platform.os --platform_init_uoa=generic-linux-dummy
Add Python, GCC, CMake to CK
ck detect soft:compiler.python --full_path={sys.executable}
ck detect soft:compiler.gcc --full_path=which gcc
ck detect soft:tool.cmake --full_path=which cmake
Install Python dependencies
python3 -m pip install protobuf
Download mlcommons/inference repo
ck install package --quiet --tags=mlperf,inference,src,r1.1
Install dependencies
ck install package --tags=lib,python-package,absl
ck install package --tags=lib,python-package,numpy
ck install package --tags=lib,python-package,scipy
ck install package --tags=lib,python-package,matplotlib
ck install package --tags=lib,python-package,cython
ck install package --tags=lib,python-package,opencv-python-headless
ck install package --tags=lib,python-package,mlperf,loadgen
##################################################################################
(mlperf-inference) bash-5.1$ ck install package --tags=lib,python-package,mlperf,loadgen
error: invalid command 'bdist_wheel'
Installing 'mlperf_loadgen' and its dependencies to '/home/wxsun/CK/local/venv/mlperf-inference/CK/local/env/01ce5c2d548e0975/python_deps_site/lib64/python3.9/site-packages' or '/home/wxsun/CK/local/venv/mlperf-inference/CK/local/env/01ce5c2d548e0975/python_deps_site/lib/python3.9/site-packages' ...
ls: cannot access 'dist/mlperf_loadgen*.whl': No such file or directory
ERROR: You must give at least one requirement to install (see "pip help install")
find: ‘/home/wxsun/CK/local/venv/mlperf-inference/CK/local/env/01ce5c2d548e0975/python_deps_site’: No such file or directory
touch: cannot touch '/init.py': Permission denied
Error: installation failed!
The text was updated successfully, but these errors were encountered:
Hi @bill2345 , can you please try ck clean env --tags=loadgen and then ck install package --tags=lib,python-package,mlperf,loadgen?
Meanwhile python3.9 might not build loadgen from mlperf-inference r1.1 branch. python3.7 should work with that. Alternatively you can do ck pull all followed by ck install package --quiet --tags=mlperf,inference,src,r2.1 to get the latest inference repo to be used for 2.1 round of submission which works with python 3.9.
I followed this page: https://colab.research.google.com/drive/1ij1rWoqje5-Sn6UsdFj1OzYakudI2RIS?usp=sharing#scrollTo=lt7aU3scRLZ4
Please help and thanks!
##################################################################################
steps:
Pull CK MLOps repo
ck pull repo:mlcommons@ck-mlops
Initialize platform
ck setup kernel --var.install_to_env=yes
ck detect platform.os --platform_init_uoa=generic-linux-dummy
Add Python, GCC, CMake to CK
ck detect soft:compiler.python --full_path={sys.executable}
ck detect soft:compiler.gcc --full_path=
which gcc
ck detect soft:tool.cmake --full_path=
which cmake
Install Python dependencies
python3 -m pip install protobuf
Download mlcommons/inference repo
ck install package --quiet --tags=mlperf,inference,src,r1.1
Install dependencies
ck install package --tags=lib,python-package,absl
ck install package --tags=lib,python-package,numpy
ck install package --tags=lib,python-package,scipy
ck install package --tags=lib,python-package,matplotlib
ck install package --tags=lib,python-package,cython
ck install package --tags=lib,python-package,opencv-python-headless
ck install package --tags=lib,python-package,mlperf,loadgen
##################################################################################
(mlperf-inference) bash-5.1$ ck install package --tags=lib,python-package,mlperf,loadgen
Package found: lib-python-mlperf-loadgen (6b744d888c45962b)
Resolving software dependencies ...
*** Dependency 1 = mlperf-inference (MLPerf Inference source):
*** Dependency 2 = compiler (C++ compiler):
*** Dependency 3 = python (Python interpreter):
*** Dependency 4 = lib-python-absl (Python Abseil library):
*** Dependency 5 = lib-python-numpy (Python NumPy library):
Searching if CK environment for this package already exists using:
CK environment found for this package: 01ce5c2d548e0975
OVERWRITING AND PROCESSING AGAIN!
Resolving software dependencies ...
*** Dependency 1 = mlperf-inference (MLPerf Inference source):
*** Dependency 2 = compiler (C++ compiler):
*** Dependency 3 = python (Python interpreter):
*** Dependency 4 = lib-python-absl (Python Abseil library):
*** Dependency 5 = lib-python-numpy (Python NumPy library):
Installing to /home/wxsun/CK/local/venv/mlperf-inference/CK/local/env/01ce5c2d548e0975
Cleanup: removing /home/wxsun/CK/local/venv/mlperf-inference/CK/local/env/01ce5c2d548e0975/python_deps_site
Building 'mlperf_loadgen' from source ...
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: invalid command 'bdist_wheel'
Installing 'mlperf_loadgen' and its dependencies to '/home/wxsun/CK/local/venv/mlperf-inference/CK/local/env/01ce5c2d548e0975/python_deps_site/lib64/python3.9/site-packages' or '/home/wxsun/CK/local/venv/mlperf-inference/CK/local/env/01ce5c2d548e0975/python_deps_site/lib/python3.9/site-packages' ...
ls: cannot access 'dist/mlperf_loadgen*.whl': No such file or directory
ERROR: You must give at least one requirement to install (see "pip help install")
find: ‘/home/wxsun/CK/local/venv/mlperf-inference/CK/local/env/01ce5c2d548e0975/python_deps_site’: No such file or directory
touch: cannot touch '/init.py': Permission denied
Error: installation failed!
The text was updated successfully, but these errors were encountered: