-
Notifications
You must be signed in to change notification settings - Fork 13
Path string fix #376
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
Path string fix #376
Conversation
MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅ |
@@ -119,14 +119,14 @@ def postprocess(i): | |||
|
|||
if mode == "accuracy" or mode == "compliance" and env[ | |||
'MLC_MLPERF_LOADGEN_COMPLIANCE_TEST'] == "TEST01": | |||
out_baseline_accuracy_string = f"""> {os.path.join(output_dir, "accuracy", "baseline_accuracy.txt")} """ | |||
out_compliance_accuracy_string = f"""> {os.path.join(output_dir, "accuracy", "compliance_accuracy.txt")} """ | |||
out_baseline_accuracy_string = f"""> '{os.path.join(output_dir, "accuracy", "baseline_accuracy.txt")}' """ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @anandhu-eng we need to use a variable for adding quote as we should use ' for Unix shell and " for Windows.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@arjunsuresh , yes that's correct. Also are you aware whether the following works in windows:
python3 "/some/path/try.py"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think in one of our GH actions we can export MLC_REPOS to a path containing space and test it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have made the changes in resnet50 closed division itself so that we could test even the compliance also. But for that, this PR needs to be merged to trigger the workflow.
In reference to issue: #247
Failing GitHub actions: https://github.com/mlcommons/mlperf-automations/actions/runs/14150821438/job/39643726179