Skip to content

Commit 47e7c3e

Browse files
committed
Changes for the new repo
Former-commit-id: 15aba28678cc316a3e984be4878342cf0b382e54
1 parent 14ded9a commit 47e7c3e

File tree

350 files changed

+6202
-6537
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

350 files changed

+6202
-6537
lines changed

.github/CODEOWNERS

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
# These owners will be the default owners for everything in the repo.
22
# Unless a later match takes precedence,they will be requested for review when someone opens a pull request.
3-
* @mlcommons/wg-ck
3+
* @mlcommons/wg-ck
4+
5+
/CODEOWNERS @mlcommons/staff

.github/workflows/check-all-broken-links.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Check .md README files for broken links
22

33
on:
4-
push: [master]
4+
push: [main]
55

66
jobs:
77
markdown-link-check:

.github/workflows/test-cm-script-features.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ name: CM script automation features test
55

66
on:
77
pull_request:
8-
branches: [ "master", "dev" ]
8+
branches: [ "main", "dev" ]
99
paths:
1010
- '.github/workflows/test-cm-script-features.yml'
11-
- 'cm-mlops/**'
12-
- '!cm-mlops/**.md'
11+
- '**'
12+
- '!**.md'
1313

1414
jobs:
1515
build:
@@ -29,11 +29,10 @@ jobs:
2929
- name: Install dependencies
3030
run: |
3131
python -m pip install cmind
32-
# cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
33-
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }}
32+
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
3433
cm run script --quiet --tags=get,sys-utils-cm
3534
- name: Test CM Script Features
3635
run: |
37-
python tests/script/test_install.py
38-
python tests/script/test_docker.py
39-
python tests/script/test_features.py
36+
python script/test-cm-core/src/script/test_install.py
37+
python script/test-cm-core/src/script/test_docker.py
38+
python script/test-cm-core/src/script/test_features.py

.github/workflows/test-cm-scripts.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ name: CM script automation test
55

66
on:
77
pull_request:
8-
branches: [ "master", "dev" ]
8+
branches: [ "main", "dev" ]
99
paths:
1010
- '.github/workflows/test-cm-scripts.yml'
11-
- 'cm-mlops/**'
12-
- '!cm-mlops/**.md'
11+
- '**'
12+
- '!**.md'
1313

1414
jobs:
1515
build:
@@ -29,9 +29,8 @@ jobs:
2929
- name: Install dependencies
3030
run: |
3131
python -m pip install cmind
32-
# cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
33-
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }}
32+
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
3433
cm run script --quiet --tags=get,sys-utils-cm
3534
- name: Test CM Script Automation
3635
run: |
37-
python tests/script/test_deps.py
36+
python script/test-cm-core/src/script/test_deps.py

.github/workflows/test-cm-tutorial-retinanet.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ name: CM tutorial retinanet
55

66
on:
77
pull_request:
8-
branches: [ "master", "dev" ]
8+
branches: [ "main", "dev" ]
99
paths:
1010
- '.github/workflows/test-cm-tutorial-retinanet.yml'
11-
- 'cm-mlops/**'
12-
- '!cm-mlops/**.md'
11+
- '**'
12+
- '!**.md'
1313
jobs:
1414
build:
1515

@@ -28,9 +28,8 @@ jobs:
2828
- name: Install dependencies
2929
run: |
3030
python -m pip install cmind
31-
# cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
32-
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }}
31+
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
3332
cm run script --quiet --tags=get,sys-utils-cm
3433
- name: Test CM Tutorial Retinanet
3534
run: |
36-
python tests/tutorials/test_tutorial_retinanet.py
35+
python script/test-cm-core/src/tutorials/test_tutorial_retinanet.py

.github/workflows/test-cm-tutorial-tvm-pip.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ name: CM tutorial tvm pip install
55

66
on:
77
pull_request:
8-
branches: [ "master", "test" ]
8+
branches: [ "main", "test" ]
99
paths:
1010
- '.github/workflows/test-cm-tutorial-tvm-pip.yml'
11-
- 'cm-mlops/**'
12-
- '!cm-mlops/**.md'
11+
- '**'
12+
- '!**.md'
1313

1414
jobs:
1515
test_vm_runtime:
@@ -28,12 +28,11 @@ jobs:
2828
- name: Install dependencies
2929
run: |
3030
python -m pip install cmind
31-
# cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
32-
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }}
31+
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
3332
cm run script --quiet --tags=get,sys-utils-cm
3433
- name: Test CM Tutorial TVM pip install with VirtualMachine Runtime
3534
run: |
36-
python tests/tutorials/test_tutorial_tvm_pip_vm.py
35+
python script/test-cm-core/src/tutorials/test_tutorial_tvm_pip_vm.py
3736
3837
test_ge_runtime:
3938
runs-on: ubuntu-latest
@@ -51,9 +50,8 @@ jobs:
5150
- name: Install dependencies
5251
run: |
5352
python -m pip install cmind
54-
# cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
55-
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }}
53+
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
5654
cm run script --quiet --tags=get,sys-utils-cm
5755
- name: Test CM Tutorial TVM pip install with GraphExecutor Runtime
5856
run: |
59-
python tests/tutorials/test_tutorial_tvm_pip_ge.py
57+
python script/test-cm-core/src/tutorials/test_tutorial_tvm_pip_ge.py

.github/workflows/test-cm-tutorial-tvm.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ on:
88
branches: [ "test" ]
99
paths:
1010
- '.github/workflows/test-cm-tutorial-tvm.yml'
11-
- 'cm-mlops/**'
12-
- '!cm-mlops/**.md'
11+
- '**'
12+
- '!**.md'
1313

1414
jobs:
1515
build:
@@ -29,9 +29,8 @@ jobs:
2929
- name: Install dependencies
3030
run: |
3131
python -m pip install cmind
32-
# cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
33-
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }}
32+
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
3433
cm run script --quiet --tags=get,sys-utils-cm
3534
- name: Test CM Tutorial TVM
3635
run: |
37-
python tests/tutorials/test_tutorial_tvm.py
36+
python script/test-cm-core/src/tutorials/test_tutorial_tvm.py

.github/workflows/test-image-classification-onnx.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ name: image classification with ONNX
55

66
on:
77
pull_request:
8-
branches: [ "master", "dev" ]
8+
branches: [ "main", "dev" ]
99
paths:
1010
- '.github/workflows/test-image-classification-onnx.yml'
11-
- 'cm-mlops/**'
12-
- '!cm-mlops/**.md'
11+
- '**'
12+
- '!**.md'
1313

1414
jobs:
1515
build:
@@ -29,8 +29,7 @@ jobs:
2929
- name: Install dependencies
3030
run: |
3131
python3 -m pip install cmind
32-
# cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
33-
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }}
32+
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
3433
cm run script --quiet --tags=get,sys-utils-cm
3534
- name: Test image classification with ONNX
3635
run: |

.github/workflows/test-mlperf-inference-bert-deepsparse-tf-onnxruntime-pytorch.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ name: MLPerf inference bert (deepsparse, tf, onnxruntime, pytorch)
55

66
on:
77
pull_request:
8-
branches: [ "master", "dev" ]
8+
branches: [ "main", "dev" ]
99
paths:
1010
- '.github/workflows/test-mlperf-inference-bert-deepsparse-tf-onnxruntime-pytorch.yml'
11-
- 'cm-mlops/**'
12-
- '!cm-mlops/**.md'
11+
- '**'
12+
- '!**.md'
1313

1414
jobs:
1515
build:
@@ -37,8 +37,7 @@ jobs:
3737
- name: Install dependencies
3838
run: |
3939
python3 -m pip install cmind
40-
# cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
41-
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }}
40+
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
4241
cm run script --quiet --tags=get,sys-utils-cm
4342
- name: Test MLPerf Inference Bert (DeepSparse, TF, ONNX, PyTorch)
4443
run: |

.github/workflows/test-mlperf-inference-gptj.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ name: MLPerf inference GPT-J
55

66
on:
77
pull_request:
8-
branches: [ "master1", "dev1" ]
8+
branches: [ "main1", "dev1" ]
99
paths:
1010
- '.github/workflows/test-mlperf-inference-gptj.yml'
11-
- 'cm-mlops/**'
12-
- '!cm-mlops/**.md'
11+
- '**'
12+
- '!**.md'
1313

1414
jobs:
1515
build:
@@ -31,8 +31,7 @@ jobs:
3131
- name: Install dependencies
3232
run: |
3333
python3 -m pip install cmind
34-
# cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
35-
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }}
34+
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
3635
cm run script --quiet --tags=get,sys-utils-cm
3736
- name: Test MLPerf Inference GPTJ
3837
run: |

.github/workflows/test-mlperf-inference-mlcommons-cpp-resnet50.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ name: MLPerf inference MLCommons C++ ResNet50
55

66
on:
77
pull_request:
8-
branches: [ "master", "dev" ]
8+
branches: [ "main", "dev" ]
99
paths:
1010
- '.github/workflows/test-mlperf-inference-mlcommons-cpp-resnet50.yml'
11-
- 'cm-mlops/**'
12-
- '!cm-mlops/**.md'
11+
- '**'
12+
- '!**.md'
1313

1414
jobs:
1515
build:
@@ -30,8 +30,7 @@ jobs:
3030
- name: Install dependencies
3131
run: |
3232
python3 -m pip install cmind
33-
# cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
34-
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }}
33+
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
3534
cm run script --quiet --tags=get,sys-utils-cm
3635
cm run script --quiet --tags=install,prebuilt,llvm --version=${{ matrix.llvm-version }}
3736
- name: Test MLPerf Inference MLCommons C++ ResNet50

.github/workflows/test-mlperf-inference-resnet50.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ name: MLPerf inference resnet50
55

66
on:
77
pull_request:
8-
branches: [ "master", "dev" ]
8+
branches: [ "main", "dev" ]
99
paths:
1010
- '.github/workflows/test-mlperf-inference-resnet50.yml'
11-
- 'cm-mlops/**'
12-
- '!cm-mlops/**.md'
11+
- '**'
12+
- '!**.md'
1313

1414
jobs:
1515
build:
@@ -36,8 +36,7 @@ jobs:
3636
- name: Install dependencies
3737
run: |
3838
python3 -m pip install cmind
39-
# cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
40-
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }}
39+
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
4140
cm run script --quiet --tags=get,sys-utils-cm
4241
- name: Test MLPerf Inference ResNet50
4342
run: |

.github/workflows/test-mlperf-inference-retinanet.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ name: MLPerf inference retinanet
55

66
on:
77
pull_request:
8-
branches: [ "master", "dev" ]
8+
branches: [ "main", "dev" ]
99
paths:
10-
- 'cm-mlops/**'
1110
- '.github/workflows/test-mlperf-inference-retinanet.yml'
12-
- '!cm-mlops/**.md'
11+
- '**'
12+
- '!**.md'
1313

1414
jobs:
1515
build:
@@ -34,8 +34,7 @@ jobs:
3434
- name: Install dependencies
3535
run: |
3636
python3 -m pip install cmind
37-
# cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
38-
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }}
37+
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
3938
cm run script --quiet --tags=get,sys-utils-cm
4039
- name: Test MLPerf Inference Retinanet using ${{ matrix.backend }}
4140
run: |

.github/workflows/test-mlperf-inference-rnnt.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ name: MLPerf inference rnnt
55

66
on:
77
pull_request:
8-
branches: [ "master", "dev" ]
8+
branches: [ "main", "dev" ]
99
paths:
1010
- '.github/workflows/test-mlperf-inference-rnnt.yml'
11-
- 'cm-mlops/**'
12-
- '!cm-mlops/**.md'
11+
- '**'
12+
- '!**.md'
1313

1414
jobs:
1515
build:
@@ -31,8 +31,7 @@ jobs:
3131
- name: Install dependencies
3232
run: |
3333
python3 -m pip install cmind
34-
# cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
35-
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }}
34+
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
3635
cm run script --quiet --tags=get,sys-utils-cm
3736
- name: Test MLPerf Inference RNNT
3837
run: |

.github/workflows/test-mlperf-inference-tvm.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ on:
99
branches: [ "tvm-more" ]
1010
paths:
1111
- '.github/workflows/test-mlperf-inference-tvm.yml'
12-
- 'cm-mlops/**'
13-
- '!cm-mlops/**.md'
12+
- '**'
13+
- '!**.md'
1414

1515
jobs:
1616
build:
@@ -31,8 +31,7 @@ jobs:
3131
- name: Install dependencies
3232
run: |
3333
python3 -m pip install cmind
34-
# cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
35-
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }}
34+
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
3635
cm run script --quiet --tags=get,sys-utils-cm
3736
- name: MLPerf Inference ResNet50 using TVM
3837
run: |

.github/workflows/test-mlperf-loadgen-onnx-huggingface-bert-fp32-squad.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ name: MLPerf loadgen with HuggingFace bert onnx fp32 squad model
55

66
on:
77
pull_request:
8-
branches: [ "master", "dev" ]
8+
branches: [ "main", "dev" ]
99
paths:
1010
- '.github/workflows/test-mlperf-loadgen-onnx-huggingface-bert-fp32-squad.yml'
11-
- 'cm-mlops/**'
12-
- '!cm-mlops/**.md'
11+
- '**'
12+
- '!**.md'
1313

1414
jobs:
1515
build:
@@ -29,8 +29,7 @@ jobs:
2929
- name: Install dependencies
3030
run: |
3131
python3 -m pip install cmind
32-
# cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
33-
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }}
32+
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
3433
cm run script --quiet --tags=get,sys-utils-cm
3534
- name: Test MLPerf loadgen with HuggingFace bert onnx fp32 squad model
3635
run: |

.github/workflows/test-qaic-compute-sdk-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Install dependencies
2828
run: |
2929
python3 -m pip install cmind
30-
cm pull repo mlcommons@cm4mlops
30+
cm pull repo mlcommons@ck
3131
cm run script --tags=get,sys-utils-cm --quiet
3232
3333
- name: Test QAIC Compute SDK for compilation

0 commit comments

Comments
 (0)