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

KeyError: 'mlc_input' on mlcr install #184

Closed
jamesrdaza opened this issue Feb 4, 2025 · 1 comment
Closed

KeyError: 'mlc_input' on mlcr install #184

jamesrdaza opened this issue Feb 4, 2025 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@jamesrdaza
Copy link

I am trying to perform the resnet50-v1.5 benchmark from MLCommons/Inference repository, however when I follow the installation instructions I get a KeyError.

After running this command: mlcr install,python-venv --name=mlperf export MLC_SCRIPT_EXTRA_CMD="--adr.python.name=mlperf"

I get the following output:
File "/home/ubuntu/inference/mlc/bin/mlcr", line 8, in <module> sys.exit(mlcr()) File "/home/ubuntu/inference/mlc/lib/python3.10/site-packages/mlc/main.py", line 1354, in mlcr main() File "/home/ubuntu/inference/mlc/lib/python3.10/site-packages/mlc/main.py", line 1441, in main res = method(run_args) File "/home/ubuntu/inference/mlc/lib/python3.10/site-packages/mlc/main.py", line 1196, in run return self.call_script_module_function("run", run_args) File "/home/ubuntu/inference/mlc/lib/python3.10/site-packages/mlc/main.py", line 1176, in call_script_module_function result = automation_instance.run(run_args) # Pass args to the run method File "/home/ubuntu/MLC/repos/mlcommons@mlperf-automations/automation/script/module.py", line 225, in run r = self._run(i) File "/home/ubuntu/MLC/repos/mlcommons@mlperf-automations/automation/script/module.py", line 281, in _run mlc_input = r['mlc_input'] KeyError: 'mlc_input'

Is this something wrong on my side with installation?

arjunsuresh added a commit to GATEOverflow/mlperf-automations that referenced this issue Feb 4, 2025
@arjunsuresh
Copy link
Collaborator

Sorry for that. Even though this command was in the docs we missed it in the tests. I have added it to the tests now and the issue should be fixed as well. Please do mlc pull repo and retry the command.

@arjunsuresh arjunsuresh added the bug Something isn't working label Feb 4, 2025
@arjunsuresh arjunsuresh self-assigned this Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

2 participants