-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Script execution failure during submission of results of offline scenario for ResNet50 #206
Comments
This issue is coming from If not, you can add this option |
Thankyou above issue is resolved after mlc pull repo but, There is a new issue now, FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\chira\MLC\repos\local\cache\get-mlperf-inference-submission-dir_4a367a07\mlperf-inference-submission\closed\GATEOverflow\measurements\LENOVO IDEAPAD GAMING-reference-cpu-onnxruntime_v1.20.1-default_config\resnet50\offline\LENOVO IDEAPAD GAMING-reference-cpu-onnxruntime_v1.20.1-default_config.json' I believe it is a naming issue when i tracked down the folder where file is not found there was a file with name user.conf here is the path i tracked : C:\Users\chira\MLC\repos\local\cache\get-mlperf-inference-submission-dir_4a367a07\mlperf-inference-submission\closed\GATEOverflow\measurements\LENOVO IDEAPAD GAMING-reference-cpu-onnxruntime_v1.20.1-default_config\resnet50\offline Screenshot of what is in that folder Here is the command I tried to run : mlc run script --tags=generate,inference,submission --clean --preprocess_submission=yes --run-checker=yes --submitter=GATEOverflow --division=closed --env.CM_DETERMINE_MEMORY_CONFIGURATION=yes --quiet --hw_name="LENOVO IDEAPAD GAMING" --use_dataset_from_user=yes --env.MLC_GET_PLATFORM_DETAILS=no --adr.loadgen.tags=_from-pip --pip_loadgen=yes --env.MLC_MLPERF_INFERENCE_LOADGEN_INSTALL_FROM_PIP=yes Also it gives same error both ways with/without adding --env.MLC_MLPERF_INFERENCE_LOADGEN_INSTALL_FROM_PIP=yes here is the log for error
|
Not exactly sure why this would have happened, but can you please do
and retry the submission generation step? |
Steps I followed :
I did a run on " mlcr run-mlperf,inference,_r5.0-dev --model=resnet50 --implementation=reference --framework=onnxruntime --category=edge --scenario=Offline --execution_mode=valid --device=cpu --quiet --use_dataset_from_user=yes --env.MLC_GET_PLATFORM_DETAILS=no --adr.loadgen.tags=_from-pip --pip_loadgen=yes " and got results
but Now when I am trying to do submission I am getting error
steps I followed for submission :
(in step 2 comes error)
I tried running
2. mlc run script --tags=generate,inference,submission --clean --preprocess_submission=yes --run-checker=yes --submitter=GATEOverflow --division=closed --env.CM_DETERMINE_MEMORY_CONFIGURATION=yes --quiet --hw_name="LENOVO IDEAPAD GAMING"
This gave error
then i tried some modifications in tags That i added during run mlc run script --tags=generate,inference,submission --clean --preprocess_submission=yes --run-checker=yes --submitter=GATEOverflow --division=closed --env.CM_DETERMINE_MEMORY_CONFIGURATION=yes --quiet --hw_name="LENOVO IDEAPAD GAMING" --use_dataset_from_user=yes --env.MLC_GET_PLATFORM_DETAILS=no --adr.loadgen.tags=_from-pip --pip_loadgen=yes
(both gave same error attaching log below)
chira@Sassy MINGW64 ~/OneDrive/Desktop/mlcnew (master)
$ mlc run script --tags=generate,inference,submission --clean --preprocess_submission=yes --run-checker=yes --submitter=GATEOverflow --division=closed --env.CM_DETERMINE_MEMORY_CONFIGURATION=yes --quiet --hw_name="LENOVO IDEAPAD GAMING"
[2025-02-10 10:29:51,823 module.py:560 INFO] - * mlcr generate,inference,submission
[2025-02-10 10:29:51,827 module.py:560 INFO] - * mlcr get,python3
[2025-02-10 10:29:51,828 module.py:1274 INFO] - ! load C:\Users\chira\MLC\repos\local\cache\get-python3_1e633417\mlc-cached-state.json
[2025-02-10 10:29:51,830 module.py:2220 INFO] - Path to Python: C:\Users\chira\AppData\Local\Programs\Python\Python310\python.exe
[2025-02-10 10:29:51,830 module.py:2220 INFO] - Python version: 3.10.0
[2025-02-10 10:29:51,841 module.py:560 INFO] - * mlcr mlcommons,inference,src
[2025-02-10 10:29:51,844 module.py:1274 INFO] - ! load C:\Users\chira\MLC\repos\local\cache\get-mlperf-inference-src_a6b8600f\mlc-cached-state.json
[2025-02-10 10:29:51,849 module.py:560 INFO] - * mlcr get,sut,system-description
[2025-02-10 10:29:51,853 module.py:560 INFO] - * mlcr detect,os
[2025-02-10 10:29:51,857 module.py:5340 INFO] - ! cd C:\Users\chira\OneDrive\Desktop\mlcnew
[2025-02-10 10:29:51,857 module.py:5341 INFO] - ! call C:\Users\chira\MLC\repos\mlcommons@mlperf-automations\script\detect-os\run.bat from tmp-run.bat
[2025-02-10 10:29:51,889 module.py:5487 INFO] - ! call "postprocess" from C:\Users\chira\MLC\repos\mlcommons@mlperf-automations\script\detect-os\customize.py
[2025-02-10 10:29:51,895 module.py:560 INFO] - * mlcr get,sys-utils-min
[2025-02-10 10:29:51,896 module.py:1274 INFO] - ! load C:\Users\chira\MLC\repos\local\cache\get-sys-utils-min_1d963fb9\mlc-cached-state.json
[2025-02-10 10:29:51,901 module.py:560 INFO] - * mlcr detect,cpu
[2025-02-10 10:29:51,906 module.py:560 INFO] - * mlcr detect,os
[2025-02-10 10:29:51,913 module.py:5340 INFO] - ! cd C:\Users\chira\OneDrive\Desktop\mlcnew
[2025-02-10 10:29:51,913 module.py:5341 INFO] - ! call C:\Users\chira\MLC\repos\mlcommons@mlperf-automations\script\detect-os\run.bat from tmp-run.bat
[2025-02-10 10:29:51,942 module.py:5487 INFO] - ! call "postprocess" from C:\Users\chira\MLC\repos\mlcommons@mlperf-automations\script\detect-os\customize.py
[2025-02-10 10:29:51,949 module.py:560 INFO] - * mlcr get,sys-utils-min
[2025-02-10 10:29:51,950 module.py:1274 INFO] - ! load C:\Users\chira\MLC\repos\local\cache\get-sys-utils-min_1d963fb9\mlc-cached-state.json
[2025-02-10 10:29:51,954 module.py:5340 INFO] - ! cd C:\Users\chira\OneDrive\Desktop\mlcnew
[2025-02-10 10:29:51,954 module.py:5341 INFO] - ! call C:\Users\chira\MLC\repos\mlcommons@mlperf-automations\script\detect-cpu\run.bat from tmp-run.bat
[2025-02-10 10:29:53,222 module.py:5487 INFO] - ! call "postprocess" from C:\Users\chira\MLC\repos\mlcommons@mlperf-automations\script\detect-cpu\customize.py
WARNING: tmp-systeminfo.csv file was not generated!
[2025-02-10 10:29:53,227 customize.py:90 WARNING] - WARNING: problem processing file tmp-wmic-cpu.csv (list index out of range)!
[2025-02-10 10:29:53,227 customize.py:98 WARNING] - WARNING: need to unify system and cpu output on Windows
[2025-02-10 10:29:53,233 module.py:560 INFO] - * mlcr get,python3
[2025-02-10 10:29:53,235 module.py:1274 INFO] - ! load C:\Users\chira\MLC\repos\local\cache\get-python3_1e633417\mlc-cached-state.json
[2025-02-10 10:29:53,235 module.py:2220 INFO] - Path to Python: C:\Users\chira\AppData\Local\Programs\Python\Python310\python.exe
[2025-02-10 10:29:53,235 module.py:2220 INFO] - Python version: 3.10.0
[2025-02-10 10:29:53,242 module.py:560 INFO] - * mlcr get,compiler
[2025-02-10 10:29:53,380 module.py:4107 INFO] - * C:\Program Files\LLVM\bin\clang.exe
[2025-02-10 10:29:53,382 module.py:5340 INFO] - ! cd C:\Users\chira\MLC\repos\local\cache\get-llvm_f3265103
[2025-02-10 10:29:53,382 module.py:5341 INFO] - ! call C:\Users\chira\MLC\repos\mlcommons@mlperf-automations\script\get-llvm\run.bat from tmp-run.bat
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
[2025-02-10 10:29:53,426 module.py:560 INFO] - * mlcr install,llvm
[2025-02-10 10:29:53,428 module.py:1274 INFO] - ! load C:\Users\chira\MLC\repos\local\cache\install-llvm-prebuilt_cd49173d\mlc-cached-state.json
[2025-02-10 10:29:53,429 module.py:5340 INFO] - ! cd C:\Users\chira\MLC\repos\local\cache\get-llvm_f3265103
[2025-02-10 10:29:53,429 module.py:5341 INFO] - ! call C:\Users\chira\MLC\repos\mlcommons@mlperf-automations\script\get-llvm\run.bat from tmp-run.bat
The system cannot find the path specified.
Traceback (most recent call last):
File "C:\Users\chira\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\chira\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "C:\Users\chira\AppData\Local\Programs\Python\Python310\Scripts\mlc.exe_main.py", line 7, in
File "C:\Users\chira\AppData\Local\Programs\Python\Python310\lib\site-packages\mlc\main.py", line 1487, in main
res = method(run_args)
File "C:\Users\chira\AppData\Local\Programs\Python\Python310\lib\site-packages\mlc\main.py", line 1250, in run
return self.call_script_module_function("run", run_args)
File "C:\Users\chira\AppData\Local\Programs\Python\Python310\lib\site-packages\mlc\main.py", line 1230, in call_script_module_function
result = automation_instance.run(run_args) # Pass args to the run method
File "C:\Users\chira\MLC\repos\mlcommons@mlperf-automations\automation\script\module.py", line 225, in run
r = self._run(i)
File "C:\Users\chira\MLC\repos\mlcommons@mlperf-automations\automation\script\module.py", line 1631, in _run
r = self._call_run_deps(deps, self.local_env_keys, local_env_keys_from_meta, env, state, const, const_state, add_deps_recursive,
File "C:\Users\chira\MLC\repos\mlcommons@mlperf-automations\automation\script\module.py", line 3538, in _call_run_deps
r = script._run_deps(deps, local_env_keys, env, state, const, const_state, add_deps_recursive, recursion_spaces,
File "C:\Users\chira\MLC\repos\mlcommons@mlperf-automations\automation\script\module.py", line 3708, in _run_deps
r = self.action_object.access(ii)
File "C:\Users\chira\AppData\Local\Programs\Python\Python310\lib\site-packages\mlc\main.py", line 96, in access
result = method(self, options)
File "C:\Users\chira\AppData\Local\Programs\Python\Python310\lib\site-packages\mlc\main.py", line 1250, in run
return self.call_script_module_function("run", run_args)
File "C:\Users\chira\AppData\Local\Programs\Python\Python310\lib\site-packages\mlc\main.py", line 1230, in call_script_module_function
result = automation_instance.run(run_args) # Pass args to the run method
File "C:\Users\chira\MLC\repos\mlcommons@mlperf-automations\automation\script\module.py", line 225, in run
r = self._run(i)
File "C:\Users\chira\MLC\repos\mlcommons@mlperf-automations\automation\script\module.py", line 1631, in _run
r = self._call_run_deps(deps, self.local_env_keys, local_env_keys_from_meta, env, state, const, const_state, add_deps_recursive,
File "C:\Users\chira\MLC\repos\mlcommons@mlperf-automations\automation\script\module.py", line 3538, in _call_run_deps
r = script._run_deps(deps, local_env_keys, env, state, const, const_state, add_deps_recursive, recursion_spaces,
File "C:\Users\chira\MLC\repos\mlcommons@mlperf-automations\automation\script\module.py", line 3708, in _run_deps
r = self.action_object.access(ii)
File "C:\Users\chira\AppData\Local\Programs\Python\Python310\lib\site-packages\mlc\main.py", line 96, in access
result = method(self, options)
File "C:\Users\chira\AppData\Local\Programs\Python\Python310\lib\site-packages\mlc\main.py", line 1250, in run
return self.call_script_module_function("run", run_args)
File "C:\Users\chira\AppData\Local\Programs\Python\Python310\lib\site-packages\mlc\main.py", line 1240, in call_script_module_function
raise ScriptExecutionError(f"Script {function_name} execution failed. Error : {error}")
mlc.main.ScriptExecutionError: Script run execution failed. Error : MLC script failed (name = get-llvm, return code = 3)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Please file an issue at https://github.com/mlcommons/mlperf-automations/issues along with the full MLC command being run and the relevant
or full console log.
chira@Sassy MINGW64 ~/OneDrive/Desktop/mlcnew (master)
$
The text was updated successfully, but these errors were encountered: