Skip to content

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

Merged
merged 8 commits into from
Apr 22, 2025
Merged

Path string fix #376

merged 8 commits into from
Apr 22, 2025

Conversation

anandhu-eng
Copy link
Contributor

@anandhu-eng anandhu-eng requested a review from a team as a code owner April 22, 2025 11:31
Copy link
Contributor

github-actions bot commented Apr 22, 2025

MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅

@anandhu-eng anandhu-eng marked this pull request as draft April 22, 2025 11:32
@@ -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")}' """
Copy link
Collaborator

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.

Copy link
Contributor Author

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"

Copy link
Collaborator

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.

Copy link
Contributor Author

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.

@anandhu-eng anandhu-eng marked this pull request as ready for review April 22, 2025 14:52
@arjunsuresh arjunsuresh merged commit e1a9051 into mlcommons:dev Apr 22, 2025
65 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Apr 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants