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

Create dummy measurements.json file if not present #216

Merged
merged 8 commits into from
Feb 14, 2025

Conversation

anandhu-eng
Copy link
Contributor

No description provided.

@anandhu-eng anandhu-eng requested a review from a team as a code owner February 12, 2025 10:47
Copy link
Contributor

github-actions bot commented Feb 12, 2025

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

@anandhu-eng anandhu-eng marked this pull request as draft February 12, 2025 10:51
print(
f"Warning: measurements.json file not present, creating a dummy measurements.json in path {measurements_json_path}")
dummy_measurements_data = {
"input_data_types": env['MLC_ML_MODEL_INPUTS_DATA_TYPE'] if env.get('MLC_ML_MODEL_INPUTS_DATA_TYPE') else None,
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 we should change None to 'TBD' so that submission checker doesnt complain.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes I do remember getting a similar error. Fixed in latest commit

@arjunsuresh arjunsuresh marked this pull request as ready for review February 14, 2025 13:25
@arjunsuresh arjunsuresh merged commit a0c9b6e into mlcommons:dev Feb 14, 2025
116 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Feb 14, 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