-
Notifications
You must be signed in to change notification settings - Fork 19
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
Added test case 7 #448
Merged
Merged
Added test case 7 #448
Changes from 5 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
e186af8
Added test case 7
anandhu-eng fccc9ca
Updated test case description
anandhu-eng 5ff6a68
bug fix - test not running
anandhu-eng f656ade
Merge branch 'mlperf-inference' into tests-submission-generation
anandhu-eng e9fc197
clone command changed + clones to custom folder
anandhu-eng df77b51
Test commit - Dynamic step name
anandhu-eng 78809b7
Merge branch 'mlperf-inference' into tests-submission-generation
arjunsuresh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
# This workflow will test the submission generation capability of CM f | ||
|
||
name: CM based Submission Generation | ||
|
||
on: | ||
pull_request: | ||
branches: [ "main", "dev", "mlperf-inference" ] | ||
paths: | ||
- '.github/workflows/test-cm-based-submission-generation.yml' | ||
# - '**' # kept on for all the path instead of submission generation CM script so that this could help in trapping any bugs in any recent submission checker modification also | ||
# - '!**.md' | ||
jobs: | ||
Case-3: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, windows-latest, macos-latest] | ||
python-version: [ "3.12" ] | ||
division: ["closed", "open"] | ||
category: ["datacenter", "edge"] | ||
exclude: | ||
- os: macos-latest | ||
- os: windows-latest | ||
- division: "open" | ||
- category: "edge" | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
run: | | ||
python3 -m pip install cmind | ||
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }} | ||
- name: Pull repo where test cases are uploaded | ||
run: | | ||
git clone -b submission-generation-tests https://github.com/anandhu-eng/inference.git submission_generation_tests | ||
- name: Submission generation(model_mapping.json not present but model name is matching with the official one in submission checker) - ${{ matrix.category }} ${{ matrix.division }} | ||
run: | | ||
cm run script --tags=generate,inference,submission --clean --preprocess_submission=yes --results_dir=submission_generation_tests/case-3/ --run-checker --submitter=MLCommons --tar=yes --env.CM_TAR_OUTFILE=submission.tar.gz --division=${{ matrix.division }} --category=${{ matrix.category }} --env.CM_DETERMINE_MEMORY_CONFIGURATION=yes --quiet | ||
Case-7: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, windows-latest, macos-latest] | ||
python-version: [ "3.12" ] | ||
division: ["closed", "open"] | ||
category: ["datacenter", "edge"] | ||
exclude: | ||
- os: macos-latest | ||
- os: windows-latest | ||
- division: "open" | ||
- category: "edge" | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
run: | | ||
python3 -m pip install cmind | ||
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }} | ||
- name: Pull repo where test cases are uploaded | ||
run: | | ||
git clone -b submission-generation-tests https://github.com/anandhu-eng/inference.git submission_generation_tests | ||
- name: Submission generation(sut_info.json is not completely filled but the SUT folder name is in required format(hardware_name-implementation-device-framework-run_config)) - ${{ matrix.category }} ${{ matrix.division }} | ||
run: | | ||
cm run script --tags=generate,inference,submission --clean --preprocess_submission=yes --results_dir=submission_generation_tests/case-7/ --run-checker --submitter=MLCommons --tar=yes --env.CM_TAR_OUTFILE=submission.tar.gz --division=${{ matrix.division }} --category=${{ matrix.category }} --env.CM_DETERMINE_MEMORY_CONFIGURATION=yes --quiet |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
The case can be a matrix to reduce the redundant meta right?