Skip to content
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

How to create mlperf.conf #5

Open
BlueCloudDev opened this issue Jul 18, 2021 · 1 comment
Open

How to create mlperf.conf #5

BlueCloudDev opened this issue Jul 18, 2021 · 1 comment

Comments

@BlueCloudDev
Copy link

Fails on running harness

Traceback (most recent call last):
File "code/main.py", line 279, in handle_run_harness
result = harness.run_harness()
File "/mlperf/code/common/harness.py", line 265, in run_harness
flag_dict)
File "/mlperf/code/common/submission.py", line 69, in generate_measurements_entry
generate_mlperf_conf(mlperf_conf_path)
File "/mlperf/code/common/submission.py", line 85, in generate_mlperf_conf
shutil.copyfile("build/inference/mlperf.conf", mlperf_conf_path)
File "/usr/lib/python3.6/shutil.py", line 120, in copyfile
with open(src, 'rb') as fsrc:
FileNotFoundError: [Errno 2] No such file or directory: 'build/inference/mlperf.conf'
Traceback (most recent call last):
File "code/main.py", line 703, in
main(main_args, system)
File "code/main.py", line 649, in main
handle_run_harness(benchmark_conf, need_gpu, need_dla, profile, power)
File "code/main.py", line 288, in handle_run_harness
raise RuntimeError("Run harness failed!")

Struggling to find any instructions on what this file is and where it comes from.

@TianningWang
Copy link

Did you run this command successfully:
make build

https://github.com/mlcommons/inference_results_v1.0/blob/master/closed/NVIDIA/Makefile#L387
command make build will run clone_loadgen first

https://github.com/mlcommons/inference_results_v1.0/blob/master/closed/NVIDIA/Makefile#L395
clone_loadgen will download a project from https://github.com/mlcommons/inference.git to 'build/inference'
mlperf.conf file is in the root directory of this download project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants