Skip to content

Sync Dev #148

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 50 commits into from
Jan 25, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
a4ad1ec
Fixes for MLPerf github action failures (#127)
arjunsuresh Jan 19, 2025
82e3cb8
Increment version to 0.6.26
mlcommons-bot Jan 19, 2025
3f93ae6
Updated git_commit_hash.txt
mlcommons-bot Jan 19, 2025
04d9d38
Merge changes for MLC (#128)
arjunsuresh Jan 23, 2025
208d41e
Updated git_commit_hash.txt
mlcommons-bot Jan 23, 2025
24138f1
Dont force gcc for ABTF test
arjunsuresh Jan 23, 2025
97ea60a
Update meta.yaml
arjunsuresh Jan 23, 2025
606cd4d
Fix gcc detection on macos
arjunsuresh Jan 23, 2025
8d1be74
Fix for PAT in R50 github action
arjunsuresh Jan 23, 2025
29bbaaf
Test GH PAT
arjunsuresh Jan 23, 2025
3d6cccb
Update test-mlperf-inference-resnet50.yml
arjunsuresh Jan 23, 2025
0b7b36a
Update test-mlperf-inference-abtf-poc.yml
arjunsuresh Jan 23, 2025
2789a41
Cleanups for MLC
arjunsuresh Jan 23, 2025
c82be5c
Added process-mlc-deps.py
arjunsuresh Jan 23, 2025
307f560
[Automated Commit] Format Codebase
arjunsuresh Jan 23, 2025
1cdd629
Cleanups for MLC
arjunsuresh Jan 23, 2025
5c172b3
Fixes for MLC docker run (#136)
arjunsuresh Jan 24, 2025
399c68e
Update test-mlperf-inference-abtf-poc.yml
arjunsuresh Jan 24, 2025
83fc524
Added ubuntu as the default user in ubuntu docker, is_true, is_false …
arjunsuresh Jan 24, 2025
a46944d
Fixes for ABTF docker run (#138)
arjunsuresh Jan 24, 2025
bdfc670
Fix PATH in dockerfile for ubuntu user (#139)
arjunsuresh Jan 24, 2025
f8f2170
Update test-mlperf-inference-resnet50.yml
arjunsuresh Jan 24, 2025
488c0ce
Update test-mlperf-inference-resnet50.yml
arjunsuresh Jan 24, 2025
7244141
Update test-mlperf-inference-resnet50.yml
arjunsuresh Jan 24, 2025
340594b
Update test-mlperf-inference-resnet50.yml
arjunsuresh Jan 24, 2025
a0ded22
Update test-mlperf-inference-resnet50.yml
arjunsuresh Jan 24, 2025
7843393
Update test-mlperf-inference-resnet50.yml
arjunsuresh Jan 24, 2025
6d0e8b1
Update test-mlperf-inference-resnet50.yml
arjunsuresh Jan 24, 2025
838f709
Fix docker working with MLC (#143)
arjunsuresh Jan 24, 2025
c6e062d
Update test-mlperf-inference-resnet50.yml (#144)
arjunsuresh Jan 24, 2025
ed629ac
Update test-mlperf-inference-resnet50.yml
arjunsuresh Jan 24, 2025
2da7b63
Update test-mlperf-inference-resnet50.yml
arjunsuresh Jan 24, 2025
58e991f
Update test-mlperf-inference-resnet50.yml
arjunsuresh Jan 24, 2025
ccff77c
Update test-mlperf-inference-resnet50.yml
arjunsuresh Jan 24, 2025
2fd058d
Update test-mlperf-inference-resnet50.yml
arjunsuresh Jan 24, 2025
def53b7
Update test-mlperf-inference-resnet50.yml
arjunsuresh Jan 25, 2025
277ceb9
Update test-mlperf-inference-resnet50.yml
arjunsuresh Jan 25, 2025
ec4e344
Update test-mlperf-inference-resnet50.yml
arjunsuresh Jan 25, 2025
eaab6cd
Update test-mlperf-inference-resnet50.yml
arjunsuresh Jan 25, 2025
251750d
Update test-mlperf-inference-resnet50.yml
arjunsuresh Jan 25, 2025
ccee3a2
Update test-mlperf-inference-resnet50.yml
arjunsuresh Jan 25, 2025
669afb6
Update test-mlperf-inference-resnet50.yml
arjunsuresh Jan 25, 2025
947cb0b
Update test-mlperf-inference-resnet50.yml
arjunsuresh Jan 25, 2025
37cc233
Update test-mlperf-inference-retinanet.yml
arjunsuresh Jan 25, 2025
fc7ac94
Update test-mlperf-inference-bert-deepsparse-tf-onnxruntime-pytorch.yml
arjunsuresh Jan 25, 2025
35f9155
Update test-mlperf-inference-rgat.yml
arjunsuresh Jan 25, 2025
e91a7b2
Update test-mlc-tutorial-tvm.yml
arjunsuresh Jan 25, 2025
7b0d537
Update github tests to use mlc repo, mlc-scripts package name added
arjunsuresh Jan 25, 2025
efcf323
Update README.md
arjunsuresh Jan 25, 2025
9924b6a
Merge branch 'main' into dev
arjunsuresh Jan 25, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import sys
import os
import cmind as cm
import check as checks
import mlc
import json
import yaml

Expand All @@ -11,7 +10,7 @@
print(file)
if not os.path.isfile(file) or not "script" in file:
continue
if not file.endswith("_cm.json") and not file.endswith("_cm.yaml"):
if not file.endswith("meta.json") and not file.endswith("meta.yaml"):
continue
script_path = os.path.dirname(file)
f = open(file)
Expand All @@ -24,15 +23,15 @@
uid = data['uid']

ii = {
'action': 'test', 'automation': 'script', 'artifact': uid, 'quiet': 'yes', 'out': 'con'
'action': 'test', 'target': 'script', 'item': uid, 'quiet': 'yes', 'out': 'con'
}
if os.environ.get('DOCKER_CM_REPO', '') != '':
ii['docker_cm_repo'] = os.environ['DOCKER_CM_REPO']
if os.environ.get('DOCKER_CM_REPO_BRANCH', '') != '':
ii['docker_cm_repo_branch'] = os.environ['DOCKER_CM_REPO_BRANCH']
if os.environ.get('DOCKER_MLC_REPO', '') != '':
ii['docker_mlc_repo'] = os.environ['DOCKER_MLC_REPO']
if os.environ.get('DOCKER_MLC_REPO_BRANCH', '') != '':
ii['docker_mlc_repo_branch'] = os.environ['DOCKER_MLC_REPO_BRANCH']
if os.environ.get('TEST_INPUT_INDEX', '') != '':
ii['test_input_index'] = os.environ['TEST_INPUT_INDEX']
print(ii)
r = cm.access(ii)

checks.check_return(r)
ret = mlc.access(ii)
if ret['return'] > 0:
raise Exception(r['error'])
1 change: 0 additions & 1 deletion .github/workflows/build_wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ on:
- VERSION
- setup.py


jobs:
build_wheels:
if: github.repository_owner == 'mlcommons'
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ env:
jobs:
format-code:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -54,8 +56,8 @@ jobs:
HAS_CHANGES=$(git diff --staged --name-only)
if [ ${#HAS_CHANGES} -gt 0 ]; then
# Use the GitHub actor's name and email
git config --global user.name "${GITHUB_ACTOR}"
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
git config --global user.name github-actions[bot]
git config --global user.email "github-actions[bot]@users.noreply.github.com"
# Commit changes
git commit -m '[Automated Commit] Format Codebase'
git push
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/run-individual-script-tests.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# This workflow will run configured tests for any updated CM scripts
name: Individual CM script Tests
name: Individual Automation script Tests

on:
pull_request:
branches: [ "main", "dev" ]
paths:
- 'script/**_cm.json'
- 'script/**_cm.yaml'
- 'script/**meta.json'
- 'script/**meta.yaml'

jobs:
run-script-tests:
Expand All @@ -32,6 +32,6 @@ jobs:
for file in ${{ steps.getfile.outputs.files }}; do
echo $file
done
CM_PULL_DEFAULT_MLOPS_REPO=no pip install cm4mlops
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
DOCKER_CM_REPO=${{ github.event.pull_request.head.repo.html_url }} DOCKER_CM_REPO_BRANCH=${{ github.event.pull_request.head.ref }} TEST_INPUT_INDEX=${{ matrix.test-input-index }} python3 script/test-cm-core/src/script/process_tests.py ${{ steps.getfile.outputs.files }}
pip install mlcflow
mlc pull repo ${{ github.event.pull_request.head.repo.html_url }} --branch=${{ github.event.pull_request.head.ref }}
DOCKER_MLC_REPO=${{ github.event.pull_request.head.repo.html_url }} DOCKER_MLC_REPO_BRANCH=${{ github.event.pull_request.head.ref }} TEST_INPUT_INDEX=${{ matrix.test-input-index }} python3 .github/scripts/process_individual_tests.py ${{ steps.getfile.outputs.files }}
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
if [ -f "gh_action/bin/deactivate" ]; then source gh_action/bin/deactivate; fi
python3 -m venv gh_action
source gh_action/bin/activate
export CM_REPOS=$HOME/GH_CM
export MLC_REPOS=$HOME/GH_MLC
pip install --upgrade cm4mlops
cm pull repo
cm run script --tags=run-mlperf,inference,_all-scenarios,_full,_r4.1-dev --execution_mode=valid --pull_changes=yes --pull_inference_changes=yes --model=${{ matrix.model }} --submitter="MLCommons" --hw_name=IntelSPR.24c --implementation=amd --backend=pytorch --category=datacenter --division=open --scenario=Offline --docker_dt=yes --docker_it=no --docker_cm_repo=gateoverflow@mlperf-automations --docker_cm_repo_branch=dev --adr.compiler.tags=gcc --device=rocm --use_dataset_from_host=yes --results_dir=$HOME/gh_action_results --submission_dir=$HOME/gh_action_submissions --clean --docker --quiet --docker_skip_run_cmd=yes
# cm run script --tags=push,github,mlperf,inference,submission --repo_url=https://github.com/mlcommons/mlperf_inference_unofficial_submissions_v5.0 --repo_branch=dev --commit_message="Results from GH action on SPR.24c" --quiet --submission_dir=$HOME/gh_action_submissions --hw_name=IntelSPR.24c
mlcr --tags=run-mlperf,inference,_all-scenarios,_full,_r4.1-dev --execution_mode=valid --pull_changes=yes --pull_inference_changes=yes --model=${{ matrix.model }} --submitter="MLCommons" --hw_name=IntelSPR.24c --implementation=amd --backend=pytorch --category=datacenter --division=open --scenario=Offline --docker_dt=yes --docker_it=no --docker_mlc_repo=gateoverflow@mlperf-automations --docker_mlc_repo_branch=dev --adr.compiler.tags=gcc --device=rocm --use_dataset_from_host=yes --results_dir=$HOME/gh_action_results --submission_dir=$HOME/gh_action_submissions --clean --docker --quiet --docker_skip_run_cmd=yes
# mlcr --tags=push,github,mlperf,inference,submission --repo_url=https://github.com/mlcommons/mlperf_inference_unofficial_submissions_v5.0 --repo_branch=dev --commit_message="Results from GH action on SPR.24c" --quiet --submission_dir=$HOME/gh_action_submissions --hw_name=IntelSPR.24c
53 changes: 0 additions & 53 deletions .github/workflows/test-cm-script-features.yml

This file was deleted.

38 changes: 0 additions & 38 deletions .github/workflows/test-cm-tutorial-retinanet.yml

This file was deleted.

63 changes: 0 additions & 63 deletions .github/workflows/test-cm-tutorial-tvm-pip.yml

This file was deleted.

40 changes: 0 additions & 40 deletions .github/workflows/test-cm-tutorial-tvm.yml

This file was deleted.

39 changes: 0 additions & 39 deletions .github/workflows/test-cm4mlops-wheel-macos.yml

This file was deleted.

43 changes: 0 additions & 43 deletions .github/workflows/test-cm4mlops-wheel-windows.yml

This file was deleted.

Loading
Loading