Skip to content

Conversation

anandhu-eng
Copy link
Contributor

No description provided.

@anandhu-eng anandhu-eng requested a review from a team as a code owner April 23, 2025 13:02
Copy link
Contributor

github-actions bot commented Apr 23, 2025

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

@anandhu-eng anandhu-eng marked this pull request as draft April 23, 2025 17:01
@anandhu-eng anandhu-eng changed the base branch from dev to master June 10, 2025 18:13
verify_performance_command = (
"python3 "
+ verify_performance_binary
+ f"""{q}{verify_performance_binary}{q}"""
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldnt we use os.path.join here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cleaned similar code parts in 6657bf7

@anandhu-eng anandhu-eng marked this pull request as ready for review June 10, 2025 19:00

args = parser.parse_args()

q = '"' if os_type == 'Windows' else "'"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can use " on both windows and Unix right?

+ " -t "
+ compliance_dir
+ "/mlperf_log_summary.txt | tee verify_performance.txt"
+ f"""{q}{os.path.join(compliance_dir, "mlperf_log_summary.txt")}{q} | tee verify_performance.txt"""
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tee won't work on Windows right?

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

Successfully merging this pull request may close these issues.

2 participants