Skip to content
Merged

sync #646

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
99 commits
Select commit Hold shift + click to select a range
55467d7
Create cm-yaml-guide.md
anandhu-eng Nov 3, 2024
7f1d1b3
Added retry mechanism in case of network error
anandhu-eng Nov 4, 2024
692051a
test commit
anandhu-eng Nov 4, 2024
a22142f
fix typo
anandhu-eng Nov 4, 2024
7cf23ba
Update install.sh
anandhu-eng Nov 4, 2024
972616e
Update install.sh
anandhu-eng Nov 4, 2024
8fc8f24
logic update
anandhu-eng Nov 4, 2024
05a0848
Merge branch 'mlperf-inference' into anandhu-eng-patch-2
arjunsuresh Nov 16, 2024
01212f0
add find_links url
anandhu-eng Nov 25, 2024
b5d7912
add find links url
anandhu-eng Nov 25, 2024
04b9839
fix typo
anandhu-eng Nov 25, 2024
1b5bda7
Added cache validation support for get-generic-python-lib
arjunsuresh Nov 25, 2024
834c256
Added cache validation support for get-generic-python-lib
arjunsuresh Nov 25, 2024
c4fd10f
Cleanup for validate cache in get-generic-python-lib
arjunsuresh Nov 25, 2024
d8abf3b
Merge pull request #613 from GATEOverflow/mlperf-inference
arjunsuresh Nov 25, 2024
5945768
[Automated Commit] Format Codebase
mlcommons-bot Nov 25, 2024
0a9026c
Merge pull request #611 from mlcommons/find-links
arjunsuresh Nov 25, 2024
d83fd46
[Automated Commit] Format Codebase
mlcommons-bot Nov 25, 2024
bbc2de6
Cleanup for validate cache in get-generic-python-lib
arjunsuresh Nov 25, 2024
7e6703c
Added test for validate_cache
arjunsuresh Nov 25, 2024
bf0bb4a
Merge branch 'mlperf-inference' into mlperf-inference
arjunsuresh Nov 25, 2024
33abeb5
Update test-mlperf-inference-resnet50.yml
arjunsuresh Nov 25, 2024
57d31d3
Update test-mlperf-inference-resnet50.yml
arjunsuresh Nov 25, 2024
ed93c58
Merge branch 'mlperf-inference' into mlperf-inference
arjunsuresh Nov 25, 2024
9f9fa55
Update test-mlperf-inference-resnet50.yml
arjunsuresh Nov 25, 2024
84c71c7
Update test-mlperf-inference-resnet50.yml
arjunsuresh Nov 25, 2024
9fb48c1
Update test-mlperf-inference-resnet50.yml
arjunsuresh Nov 25, 2024
a581d49
Merge branch 'mlperf-inference' into mlperf-inference
arjunsuresh Nov 25, 2024
7b7ebe4
Update test-mlperf-inference-resnet50.yml
arjunsuresh Nov 25, 2024
ac3b576
Merge branch 'mlperf-inference' into mlperf-inference
arjunsuresh Nov 25, 2024
cd9eedd
Handle customize_common_input uninitialized
arjunsuresh Nov 25, 2024
6a5dba8
Fix import for run-mlperf-inference-app
arjunsuresh Nov 25, 2024
965d3df
changes for R-GAT reference implementation
anandhu-eng Nov 25, 2024
6ed9116
Use mlperf-inference branch for cmind
arjunsuresh Nov 25, 2024
ddf0e91
fix permission issue
anandhu-eng Nov 25, 2024
6b1ad7f
Fix git longpaths for Windows in github actions
arjunsuresh Nov 25, 2024
bafbc22
Load customize.py before deps only in the case of cached scripts
arjunsuresh Nov 25, 2024
e03f835
Update test-mlperf-inference-resnet50.yml
arjunsuresh Nov 25, 2024
800dd23
Update test-cm-script-features.yml
arjunsuresh Nov 25, 2024
fdd1d40
Update test-mlperf-inference-abtf-poc.yml
arjunsuresh Nov 25, 2024
ea2bed4
Process dynamic deps for validate_cache
arjunsuresh Nov 25, 2024
98d47e0
Merge branch 'mlperf-inference' into mlperf-inference
arjunsuresh Nov 25, 2024
1e4829c
Update test-cm-script-features.yml
arjunsuresh Nov 25, 2024
91abacc
Update test-cm-script-features.yml
arjunsuresh Nov 25, 2024
9ee0fed
Update test-cm-script-features.yml
arjunsuresh Nov 25, 2024
a5f6db5
Added validate_cache scripts
arjunsuresh Nov 25, 2024
ea6a310
Fixes the test case for validate_cache
arjunsuresh Nov 25, 2024
43c426e
Merge pull request #614 from GATEOverflow/mlperf-inference
arjunsuresh Nov 25, 2024
17b073c
[Automated Commit] Format Codebase
mlcommons-bot Nov 25, 2024
736128c
Merge branch 'mlperf-inference' into gnn-model-download
anandhu-eng Nov 26, 2024
0c996f7
install with retry through env
anandhu-eng Nov 26, 2024
65fc3a1
Merge branch 'mlperf-inference' into anandhu-eng-patch-2
anandhu-eng Nov 26, 2024
a562c2a
add CUDNN_ROOT to paths to search for cudnn in
TobiasRTR Nov 26, 2024
7965b2e
add dataset path to new env
anandhu-eng Nov 26, 2024
7978878
corrected input arg format
anandhu-eng Nov 26, 2024
2e04441
correct model path
anandhu-eng Nov 26, 2024
3ea138d
Merge pull request #616 from Submandarine/mlperf-inference
arjunsuresh Nov 26, 2024
373d1fb
Merge pull request #476 from mlcommons/anandhu-eng-patch-2
arjunsuresh Nov 26, 2024
b338ef6
[Automated Commit] Format Codebase
mlcommons-bot Nov 26, 2024
7741674
Merge pull request #615 from mlcommons/gnn-model-download
arjunsuresh Nov 26, 2024
f59a5c7
[Automated Commit] Format Codebase
mlcommons-bot Nov 26, 2024
2bbbd06
add docker version to new env key
anandhu-eng Nov 26, 2024
0272545
Update customize.py
anandhu-eng Nov 26, 2024
8683eb7
update to add docker version to sut meta
anandhu-eng Nov 26, 2024
4809765
Merge pull request #618 from mlcommons/patch-3-backup
arjunsuresh Nov 26, 2024
48039ab
[Automated Commit] Format Codebase
mlcommons-bot Nov 26, 2024
69f6026
Merge pull request #619 from mlcommons/add-docs-anandhu
arjunsuresh Nov 26, 2024
464de4e
initial commit - igbh checksums
anandhu-eng Nov 27, 2024
9592eae
Added individual file checksums
anandhu-eng Nov 27, 2024
1a45734
Conditional enablement of --runtime=nvidia
arjunsuresh Nov 27, 2024
88d0aa5
Merge branch 'mlperf-inference' into mlperf-inference
arjunsuresh Nov 27, 2024
bcc1151
Conditional enablement of --runtime=nvidia
arjunsuresh Nov 27, 2024
1f9fb8c
Merge pull request #620 from GATEOverflow/mlperf-inference
arjunsuresh Nov 27, 2024
dd91763
Merge pull request #621 from mlcommons/igbhchecksums
arjunsuresh Nov 27, 2024
db2cace
skip rgat model download if path specified
anandhu-eng Nov 27, 2024
09506a6
Merge pull request #622 from mlcommons/rgatfulltest
arjunsuresh Nov 27, 2024
feb9cb3
[Automated Commit] Format Codebase
mlcommons-bot Nov 27, 2024
d18ac5b
Fix the SPEC PTD path for mlperf inference v5.0
arjunsuresh Nov 27, 2024
3144c2f
Support MLPerf power config for multiple analyzers
arjunsuresh Nov 27, 2024
13ed1fd
Update format.yml
arjunsuresh Nov 28, 2024
8338ee3
Added execution mode by default to SPEC PTD
arjunsuresh Nov 28, 2024
6a09ef4
Merge branch 'mlperf-inference' into mlperf-inference
arjunsuresh Nov 28, 2024
958d45a
Merge pull request #623 from GATEOverflow/mlperf-inference
arjunsuresh Nov 28, 2024
8e599d9
Update format.yml
arjunsuresh Nov 28, 2024
3eac86e
Update README.md
arjunsuresh Nov 29, 2024
63ba48a
Merge branch 'main' into mlperf-inference
arjunsuresh Nov 29, 2024
d320408
Update test-image-classification-onnx.yml
arjunsuresh Nov 29, 2024
a899fd7
Merge pull request #625 from mlcommons/mlperf-inference
arjunsuresh Nov 29, 2024
5f206aa
[Automated Commit] Format Codebase
mlcommons-bot Nov 29, 2024
5bb0c7e
Sync Mlperf inference (#627)
arjunsuresh Nov 29, 2024
e277b67
Sync Mlperf inference (#630)
arjunsuresh Nov 29, 2024
d2f7833
Revert "Sync Mlperf inference (#630)"
gfursin Nov 30, 2024
0c43b39
Merge pull request #633 from mlcommons/revert-630-mlperf-inference
ctuning-admin Nov 30, 2024
2ca1ddd
fixing links
Nov 30, 2024
63b6008
Merge pull request #634 from ctuning/main
ctuning-admin Nov 30, 2024
e2cb89d
Merge pull request #1 from mlcommons/main
gfursin Dec 8, 2024
0dc2899
started fixing issues from https://github.com/mlcommons/cm4mlops/issu…
Dec 9, 2024
676942e
update
Dec 9, 2024
76931d2
Merge pull request #642 from ctuning/main
ctuning-admin Dec 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
name: "Code formatting"
on:
push:
branches: [ "main", "mlperf-inference" ]
branches:
- "**"

env:
python_version: "3.9"

jobs:
format-code:
runs-on: ubuntu-latest
if: github.repository_owner == 'mlcommons'
steps:
- uses: actions/checkout@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-individual-script-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ jobs:
for file in ${{ steps.getfile.outputs.files }}; do
echo $file
done
python3 -m pip install cmind
python3 -m pip install "cmind @ git+https://[email protected]/mlcommons/ck.git@mlperf-inference#subdirectory=cm"
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 tests/script/process_tests.py ${{ steps.getfile.outputs.files }}
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python3 -m pip install cmind
python3 -m pip install "cmind @ git+https://[email protected]/mlcommons/ck.git@mlperf-inference#subdirectory=cm"
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: |
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/test-cm-script-features.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,28 @@ on:
- '!**.md'

jobs:
build:
test_cm_script_features:

runs-on: ${{ matrix.on }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: ["3.12", "3.8"]
on: ["ubuntu-latest", "windows-latest", "macos-latest"]
os: ["ubuntu-latest", "windows-latest", "macos-latest"]

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Configure git longpaths (Windows)
if: matrix.os == 'windows-latest'
run: |
git config --system core.longpaths true
- name: Install dependencies
run: |
python -m pip install cmind
python -m pip install "cmind @ git+https://[email protected]/mlcommons/ck.git@mlperf-inference#subdirectory=cm"
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
cm run script --quiet --tags=get,sys-utils-cm
- name: Run test_docker on linux
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-cm-tutorial-retinanet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install cmind
python -m pip install "cmind @ git+https://[email protected]/mlcommons/ck.git@mlperf-inference#subdirectory=cm"
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
cm run script --quiet --tags=get,sys-utils-cm
- name: Test CM Tutorial Retinanet
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-cm-tutorial-tvm-pip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install cmind
python -m pip install "cmind @ git+https://[email protected]/mlcommons/ck.git@mlperf-inference#subdirectory=cm"
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
cm run script --quiet --tags=get,sys-utils-cm
- name: Test CM Tutorial TVM pip install with VirtualMachine Runtime
Expand All @@ -51,7 +51,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install cmind
python -m pip install "cmind @ git+https://[email protected]/mlcommons/ck.git@mlperf-inference#subdirectory=cm"
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
cm run script --quiet --tags=get,sys-utils-cm
- name: Test CM Tutorial TVM pip install with GraphExecutor Runtime
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-cm-tutorial-tvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install cmind
python -m pip install "cmind @ git+https://[email protected]/mlcommons/ck.git@mlperf-inference#subdirectory=cm"
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
cm run script --quiet --tags=get,sys-utils-cm
- name: Test CM Tutorial TVM
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/test-image-classification-onnx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: image classification with ONNX

on:
pull_request:
branches: [ "main", "dev" ]
branches: [ "main", "dev", "mlperf-inference" ]
paths:
- '.github/workflows/test-image-classification-onnx.yml'
- '**'
Expand All @@ -26,11 +26,15 @@ jobs:
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Configure git longpaths (Windows)
if: matrix.os == 'windows-latest'
run: |
git config --system core.longpaths true
- name: Install dependencies
run: |
python3 -m pip install cmind
python3 -m pip install "cmind @ git+https://[email protected]/mlcommons/ck.git@mlperf-inference#subdirectory=cm"
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
cm run script --quiet --tags=get,sys-utils-cm
- name: Test image classification with ONNX
run: |
cmr "python app image-classification onnx" --quiet
cm run script --tags=python,app,image-classification,onnx --quiet
6 changes: 5 additions & 1 deletion .github/workflows/test-mlperf-inference-abtf-poc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,13 @@ jobs:
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Configure git longpaths (Windows)
if: matrix.os == 'windows-latest'
run: |
git config --system core.longpaths true
- name: Install dependencies
run: |
pip install cmind
pip install "cmind @ git+https://[email protected]/mlcommons/ck.git@mlperf-inference#subdirectory=cm"
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
cm pull repo mlcommons@cm4abtf --branch=poc

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python3 -m pip install cmind
python3 -m pip install "cmind @ git+https://[email protected]/mlcommons/ck.git@mlperf-inference#subdirectory=cm"
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
- name: Test MLPerf Inference Bert ${{ matrix.backend }} on ${{ matrix.os }}
if: matrix.os == 'windows-latest'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python3 -m pip install cmind
python3 -m pip install "cmind @ git+https://[email protected]/mlcommons/ck.git@mlperf-inference#subdirectory=cm"
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
cm run script --quiet --tags=get,sys-utils-cm
cm run script --quiet --tags=install,prebuilt,llvm --version=${{ matrix.llvm-version }}
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/test-mlperf-inference-resnet50.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,17 @@ jobs:
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Configure git longpaths (Windows)
if: matrix.os == 'windows-latest'
run: |
git config --system core.longpaths true
- name: Install dependencies
run: |
python3 -m pip install cmind
pip install "cmind @ git+https://[email protected]/mlcommons/ck.git@mlperf-inference#subdirectory=cm"
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
- name: Test MLPerf Inference ResNet50 (Windows)
if: matrix.os == 'windows-latest'
run: |
git config --system core.longpaths true
cm run script --tags=run-mlperf,inference,_submission,_short --submitter="MLCommons" --hw_name=gh_${{ matrix.os }}_x86 --model=resnet50 --adr.loadgen.tags=_from-pip --pip_loadgen=yes --implementation=${{ matrix.implementation }} --backend=${{ matrix.backend }} --device=cpu --scenario=Offline --test_query_count=500 --target_qps=1 -v --quiet
- name: Test MLPerf Inference ResNet50 (Linux/macOS)
if: matrix.os != 'windows-latest'
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/test-mlperf-inference-retinanet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,17 @@ jobs:
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Configure git longpaths (Windows)
if: matrix.os == 'windows-latest'
run: |
git config --system core.longpaths true
- name: Install dependencies
run: |
python3 -m pip install cmind
python3 -m pip install "cmind @ git+https://[email protected]/mlcommons/ck.git@mlperf-inference#subdirectory=cm"
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
- name: Test MLPerf Inference Retinanet using ${{ matrix.backend }} on ${{ matrix.os }}
if: matrix.os == 'windows-latest'
run: |
git config --system core.longpaths true
cm run script --tags=run,mlperf,inference,generate-run-cmds,_submission,_short --submitter="MLCommons" --hw_name=gh_${{ matrix.os }} --model=retinanet --adr.loadgen.tags=_from-pip --pip_loadgen=yes --implementation=${{ matrix.implementation }} --backend=${{ matrix.backend }} --device=cpu --scenario=Offline --test_query_count=5 --quiet -v --target_qps=1
- name: Test MLPerf Inference Retinanet using ${{ matrix.backend }} on ${{ matrix.os }}
if: matrix.os != 'windows-latest'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-mlperf-inference-rnnt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python3 -m pip install cmind
python3 -m pip install "cmind @ git+https://[email protected]/mlcommons/ck.git@mlperf-inference#subdirectory=cm"
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
cm run script --quiet --tags=get,sys-utils-cm
- name: Test MLPerf Inference RNNT
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-mlperf-inference-tvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python3 -m pip install cmind
python3 -m pip install "cmind @ git+https://[email protected]/mlcommons/ck.git@mlperf-inference#subdirectory=cm"
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
cm run script --quiet --tags=get,sys-utils-cm
- name: MLPerf Inference ResNet50 using TVM
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python3 -m pip install cmind
python3 -m pip install "cmind @ git+https://[email protected]/mlcommons/ck.git@mlperf-inference#subdirectory=cm"
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
- name: Test MLPerf loadgen with HuggingFace bert onnx fp32 squad model
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-qaic-compute-sdk-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python3 -m pip install cmind
python3 -m pip install "cmind @ git+https://[email protected]/mlcommons/ck.git@mlperf-inference#subdirectory=cm"
cm pull repo mlcommons@ck
cm run script --tags=get,sys-utils-cm --quiet

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-qaic-software-kit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python3 -m pip install cmind
python3 -m pip install "cmind @ git+https://[email protected]/mlcommons/ck.git@mlperf-inference#subdirectory=cm"
cm pull repo mlcommons@ck
cm run script --tags=get,sys-utils-cm --quiet

Expand Down
43 changes: 24 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![License](https://img.shields.io/badge/License-Apache%202.0-green)](LICENSE.md)
[![Python Version](https://img.shields.io/badge/python-3+-blue.svg)](https://github.com/mlcommons/ck/tree/master/cm/cmind)
[![Powered by CM](https://img.shields.io/badge/Powered_by-MLCommons%20CM-blue)](https://github.com/mlcommons/ck).
[![Powered by CM](https://img.shields.io/badge/Powered_by-MLCommons%20CM-blue)](https://pypi.org/project/cmind).
[![Downloads](https://static.pepy.tech/badge/cm4mlops)](https://pepy.tech/project/cm4mlops)

[![CM script automation features test](https://github.com/mlcommons/cm4mlops/actions/workflows/test-cm-script-features.yml/badge.svg)](https://github.com/mlcommons/cm4mlops/actions/workflows/test-cm-script-features.yml)
Expand All @@ -13,35 +13,40 @@
[![Test QAIC Software kit Compilation](https://github.com/mlcommons/cm4mlops/actions/workflows/test-qaic-software-kit.yml/badge.svg)](https://github.com/mlcommons/cm4mlops/actions/workflows/test-qaic-software-kit.yml)


Please see the [docs](https://docs.mlcommons.org/cm4mlops/) site for understanding CM scripts better. The `mlperf-branch` of the **cm4mlops** repository contains updated CM scripts specifically for MLPerf Inference. For more information on using CM for MLPerf Inference, visit the [MLPerf Inference Documentation site](https://docs.mlcommons.org/inference/).
# CM4MLOps repository

## News
**CM4MLOps** repository is powered by the [Collective Mind automation framework](https://github.com/mlcommons/ck/tree/master/cm),
a [Python package](https://pypi.org/project/cmind/) with a CLI and API designed for creating and managing automations.

* [Upcoming Changes](https://github.com/mlcommons/cm4mlops/discussions/categories/announcements)
* [Ongoing Discussions](https://github.com/mlcommons/cm4mlops/discussions/categories/ideas)
Two key automations developed using CM are **Script** and **Cache**, which streamline machine learning (ML) workflows,
including managing Docker runs. Both Script and Cache automations are part of the **cm4mlops** repository.

## License
The CM scripts, also housed in this repository, consist of hundreds of modular Python-wrapped scripts accompanied
by `yaml` metadata, enabling the creation of robust and flexible ML workflows.

[Apache 2.0](LICENSE.md)
- **CM Scripts Documentation**: [https://docs.mlcommons.org/cm4mlops/](https://docs.mlcommons.org/cm4mlops/)
- **CM CLI Documentation**: [https://docs.mlcommons.org/ck/specs/cm-cli/](https://docs.mlcommons.org/ck/specs/cm-cli/)

## CM concepts
The `mlperf-branch` of the **cm4mlops** repository is dedicated to developments specific to MLPerf Inference.
Please submit any pull requests (PRs) to this branch. For more information about using CM for MLPerf Inference,
refer to the [MLPerf Inference Documentation](https://docs.mlcommons.org/inference/).

Check our [ACM REP'23 keynote](https://doi.org/10.5281/zenodo.8105339).
## News

## Authors
* [Ongoing Discussions](https://github.com/mlcommons/cm4mlops/discussions)

[Grigori Fursin](https://cKnowledge.org/gfursin) and [Arjun Suresh](https://www.linkedin.com/in/arjunsuresh)
## License

[Apache 2.0](LICENSE.md)

## Major script developers
## CM concepts

Arjun Suresh, Anandhu S, Grigori Fursin
Check our [ACM REP'23 keynote](https://doi.org/10.5281/zenodo.8105339) and the [white paper](https://arxiv.org/abs/2406.16791).

## Funding
## CM script developers

We thank [cKnowledge.org](https://cKnowledge.org), [cTuning foundation](https://cTuning.org)
and [MLCommons](https://mlcommons.org) for sponsoring this project!
Arjun Suresh, Anandhu Sooraj, Grigori Fursin

## Acknowledgments
## Parent project

We thank all [volunteers, collaborators and contributors](https://github.com/mlcommons/ck/blob/master/CONTRIBUTING.md)
for their support, fruitful discussions, and useful feedback!
Visit the [parent Collective Knowledge project](https://github.com/mlcommons/ck) for further details.
6 changes: 6 additions & 0 deletions automation/cache/module.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,12 @@ def show(self, i):
# for artifact in lst:
path = artifact.path
meta = artifact.meta
dependent_cached_path = meta.get(
'dependent_cached_path', '')
if dependent_cached_path and not os.path.exists(
dependent_cached_path):
continue

original_meta = artifact.original_meta

alias = meta.get('alias', '')
Expand Down
Loading
Loading