Skip to content

Added Resnet50 closed division github action #289

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 5 commits into from
Mar 11, 2025
Merged

Conversation

sujik18
Copy link
Member

@sujik18 sujik18 commented Mar 5, 2025

Fix for #247

@sujik18 sujik18 requested a review from a team as a code owner March 5, 2025 06:43
Copy link
Contributor

github-actions bot commented Mar 5, 2025

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

@anandhu-eng
Copy link
Contributor

Hi @sujik18 , were you able to run the GitHub action for resnet50 closed division successfully? It could be tried in your forked repo also. I think the dataset size would be a concern here for GitHub runner due to limited storage.

@arjunsuresh
Copy link
Collaborator

Yes, the only option is to do this on a self hosted system.

Alternatively we can go for a short closed submission covering all the scenarios.

@anandhu-eng
Copy link
Contributor

@sujik18 , as arjun mentioned, could you test this with short run?

@sujik18
Copy link
Member Author

sujik18 commented Mar 6, 2025

Hi @anandhu-eng, I would try running the test with short run on another branch. After fixing the issue, I will push the changes.

with:
fetch-depth: 0

- name: Check if the submission is for closed division
Copy link
Collaborator

Choose a reason for hiding this comment

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

What is this step doing? This is not a submission repo right?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, you are right. Earlier, I had the wrong impression that we needed to evaluate this action only for submissions in the closed division. However, as you correctly mentioned, this is not a submission repository, and we require this action to verify the correctness of the automation script. I have addressed this issue in the latest commit.

- name: Test MLPerf Inference ResNet50 (Linux/macOS)
if: matrix.os != 'windows-latest'
run: |
mlcr run-mlperf,inference,_submission,_short,_all-scenarios, division=closed, --submitter="MLCommons" --pull_changes=yes --pull_inference_changes=yes --hw_name="gh_${{ matrix.os }} x86" --model=resnet50 --implementation=${{ matrix.implementation }} --backend=${{ matrix.backend }} --device=cpu --scenario=Offline --test_query_count=500 --target_qps=1 -v --quiet
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is this command tested?

Copy link
Member Author

Choose a reason for hiding this comment

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

Apologies for opening the PR without testing the GitHub action earlier. I wasn't completely aware of how the GitHub action workflow operated, which led to this oversight. Here are the test logs for the latest commit: Logs

@anandhu-eng anandhu-eng merged commit 51a9f12 into mlcommons:dev Mar 11, 2025
116 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Mar 11, 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.

3 participants