Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
fb674f7
Fixes for phoronix runs
amd-arsuresh Nov 4, 2026
cbac96c
Fixes for phoronix apptainer run
amd-arsuresh Nov 5, 2026
5a03d2b
Support apptainer bind in build-apptainerfile
amd-arsuresh Nov 5, 2026
bd11bc3
Fixes for phoronix apptainer run
amd-arsuresh Nov 5, 2026
99b56c1
Fixes for apptainer
arjunsuresh Nov 5, 2026
b5edb3f
Merge branch 'mlcommons:main' into main
amd-arsuresh Nov 5, 2026
f4154f1
get-apptainer: add AppArmor userns profile on Ubuntu 24.04+
arjunsuresh Nov 5, 2026
05781be
get-apptainer: replace packaged AppArmor profile lacking userns rule
arjunsuresh Nov 5, 2026
8c6034e
apptainer: make build-time bind mounts optional (--apptainer_build_bi…
arjunsuresh Nov 6, 2026
fa6f748
apptainer CI: allow unprivileged userns, add install diagnostics; dro…
arjunsuresh Nov 6, 2026
d9c4364
Fix phoronix stdin in interactive mode, apptainer bind handling, torc…
arjunsuresh Nov 6, 2026
f9c8f18
rgat: add pandas dep for dgl; get-apptainer: install squashfuse and f…
arjunsuresh Nov 6, 2026
48c2a13
apptainer: forward CLI and meta binds to definition generation; get-g…
arjunsuresh Nov 6, 2026
82467f0
rgat: cap pandas at 2.2.3 to stay compatible with numpy 1.26.4
arjunsuresh Nov 6, 2026
1e9ed3e
rgat: pin dgl to 2.4.0 to avoid PyPI fallback lacking torch 2.4 graph…
arjunsuresh Nov 6, 2026
598e474
CI: run MLPerf inference workflows on pull_request and drop results u…
arjunsuresh Nov 6, 2026
a3c873f
Drop EOL Debian 11 from build-dockerfile/build-apptainerfile tests
arjunsuresh Nov 6, 2026
f68b2c2
Drop EOL Debian 11 from build-apptainer-image tests
arjunsuresh Nov 6, 2026
3deeab5
apptainer: quote build binds, resolve container symlinks for bind tar…
arjunsuresh Nov 6, 2026
ea51cb4
get-phoronix-test-suite: check all required php extensions; libfftw3-…
arjunsuresh Nov 6, 2026
9969b20
Merge remote-tracking branch 'mlc/main'
arjunsuresh Nov 6, 2026
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
3 changes: 3 additions & 0 deletions .github/workflows/run-tests-on-modified-meta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ jobs:
file_info: ${{ fromJSON(needs.get_modified_files.outputs.processed_files).file_info }}

steps:
- name: Allow unprivileged user namespaces (needed by apptainer)
if: runner.os == 'Linux'
run: sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0 || true
- name: Process meta.yaml file
shell: bash
env:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: MLPerf inference bert (deepsparse, tf, onnxruntime, pytorch)

on:
pull_request_target:
pull_request:
branches: [ "main_off", "dev_off" ]
paths:
- '.github/workflows/test-mlperf-inference-bert-deepsparse-tf-onnxruntime-pytorch.yml'
Expand Down Expand Up @@ -52,31 +52,3 @@ jobs:
if: matrix.os != 'windows-latest'
run: |
mlcr run,mlperf,inference,generate-run-cmds,_submission,_short --submitter="MLCommons" --hw_name=gh_${{ matrix.os }}_x86 --model=bert-99 --backend=${{ matrix.backend }} --device=cpu --scenario=Offline --test_query_count=5 --precision=${{ matrix.precision }} --target_qps=1 -v --quiet
- name: Randomly Execute Step
id: random-check
run: |
RANDOM_NUMBER=$((RANDOM % 10))
echo "Random number is $RANDOM_NUMBER"
if [ "$RANDOM_NUMBER" -eq 0 ]; then
echo "run_step=true" >> $GITHUB_ENV
else
echo "run_step=false" >> $GITHUB_ENV
fi
- name: Load secrets
id: op-load-secrets
uses: 1password/load-secrets-action@v3
env:
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
PAT: op://7basd2jirojjckncf6qnq3azai/bzbaco3uxoqs2rcyu42rvuccga/credential
- name: Push Results
env:
GITHUB_TOKEN: ${{ steps.op-load-secrets.outputs.PAT }}
if: github.repository_owner == 'mlcommons' && env.run_step == 'true'
run: |
git config --global user.name "mlcommons-bot"
git config --global user.email "mlcommons-bot@users.noreply.github.com"
git config --global credential.https://github.com.helper ""
git config --global credential.https://github.com.helper "!gh auth git-credential"
git config --global credential.https://gist.github.com.helper ""
git config --global credential.https://gist.github.com.helper "!gh auth git-credential"
mlcr push,github,mlperf,inference,submission --repo_url=https://github.com/mlcommons/mlperf_inference_test_submissions_v5.0 --repo_branch=auto-update --commit_message="Results from R50 GH action on ${{ matrix.os }}" --quiet
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: MLPerf inference MLCommons C++ ResNet50

on:
pull_request_target:
pull_request:
branches: [ "main", "dev" ]
paths:
- '.github/workflows/test-mlperf-inference-mlcommons-cpp-resnet50.yml'
Expand Down Expand Up @@ -68,33 +68,3 @@ jobs:
if: matrix.os != 'windows-latest'
run: |
mlcr app,mlperf,inference,mlcommons,cpp --submitter="MLCommons" --hw_name=gh_${{ matrix.os }} -v --quiet ${{ matrix.compiler-string }}
- name: Randomly Execute Step
id: random-check
run: |
RANDOM_NUMBER=$((RANDOM % 10))
echo "Random number is $RANDOM_NUMBER"
if [ "$RANDOM_NUMBER" -eq 0 ]; then
echo "run_step=true" >> $GITHUB_ENV
else
echo "run_step=false" >> $GITHUB_ENV
fi
- name: Load secrets
id: op-load-secrets
uses: 1password/load-secrets-action@v3
env:
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
PAT: op://7basd2jirojjckncf6qnq3azai/bzbaco3uxoqs2rcyu42rvuccga/credential
- name: Push Results
env:
GITHUB_TOKEN: ${{ steps.op-load-secrets.outputs.PAT }}
USER: mlcommons-bot
EMAIL: mlcommons-bot@users.noreply.github.com
if: github.repository_owner == 'mlcommons' && env.run_step == 'true'
run: |
git config --global user.name "${{ env.USER }}"
git config --global user.email "${{ env.EMAIL }}"
git config --global credential.https://github.com.helper ""
git config --global credential.https://github.com.helper "!gh auth git-credential"
git config --global credential.https://gist.github.com.helper ""
git config --global credential.https://gist.github.com.helper "!gh auth git-credential"
mlcr push,github,mlperf,inference,submission --repo_url=https://github.com/mlcommons/mlperf_inference_test_submissions_v5.0 --repo_branch=dev --commit_message="Results from MLCommons C++ ResNet50 GH action on ${{ matrix.os }}" --quiet
47 changes: 2 additions & 45 deletions .github/workflows/test-mlperf-inference-resnet50.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ permissions:
contents: read

on:
pull_request_target:
pull_request:
branches: [ "main", "dev" ]
paths:
- '.github/workflows/test-mlperf-inference-resnet50.yml'
Expand Down Expand Up @@ -32,7 +32,7 @@ on:
workflow_dispatch: {}

jobs:
mlc-run-with-results-upload:
mlc-run:
runs-on: ${{ matrix.os }}
env:
MLC_INDEX: "on"
Expand Down Expand Up @@ -85,50 +85,7 @@ jobs:
if: matrix.os != 'windows-latest'
run: |
mlcr run-mlperf,inference,_submission,_short,_r6.0-dev --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
# Step for Linux/MacOS
- name: Randomly Execute Step (Linux/MacOS)
if: runner.os != 'Windows'
run: |
RANDOM_NUMBER=$((RANDOM % 10))
echo "Random number is $RANDOM_NUMBER"
if [ "$RANDOM_NUMBER" -eq 0 ]; then
echo "run_step=true" >> $GITHUB_ENV
else
echo "run_step=false" >> $GITHUB_ENV
fi

# Step for Windows
- name: Randomly Execute Step (Windows)
if: runner.os == 'Windows'
run: |
$RANDOM_NUMBER = Get-Random -Maximum 10
Write-Host "Random number is $RANDOM_NUMBER"
if ($RANDOM_NUMBER -eq 0) {
Write-Host "run_step=true" | Out-File -FilePath $Env:GITHUB_ENV -Append
} else {
Write-Host "run_step=false" | Out-File -FilePath $Env:GITHUB_ENV -Append
}

- name: Load secrets
id: op-load-secrets
uses: 1password/load-secrets-action@v3
env:
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
PAT: op://7basd2jirojjckncf6qnq3azai/bzbaco3uxoqs2rcyu42rvuccga/credential

- name: Push Results
env:
GITHUB_TOKEN: ${{ steps.op-load-secrets.outputs.PAT }}
if: github.repository_owner == 'mlcommons' && env.run_step == 'true'
run: |
git config --global user.name "mlcommons-bot"
git config --global user.email "mlcommons-bot@users.noreply.github.com"
git config --global credential.https://github.com.helper ""
git config --global credential.https://github.com.helper "!gh auth git-credential"
git config --global credential.https://gist.github.com.helper ""
git config --global credential.https://gist.github.com.helper "!gh auth git-credential"
mlcr push,github,mlperf,inference,submission --repo_url=https://github.com/mlcommons/mlperf_inference_test_submissions_v5.0 --repo_branch=auto-update --commit_message="Results from R50 GH action on ${{ matrix.os }}" --quiet

mlc-run-rhel-docker:
runs-on: ubuntu-latest
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-mlperf-inference-retinanet.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: MLPerf inference retinanet

on:
pull_request_target:
pull_request:
branches: [ "main_off", "dev_off" ]
paths:
- '.github/workflows/test-mlperf-inference-retinanet.yml'
Expand Down
33 changes: 1 addition & 32 deletions .github/workflows/test-mlperf-inference-tvm-resnet50.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: MLPerf Inference TVM ResNet50

on:
pull_request_target:
pull_request:
branches: [ "main-off", "dev-off" ]
paths:
- '.github/workflows/test-mlperf-inference-tvm-resnet50.yml'
Expand Down Expand Up @@ -37,34 +37,3 @@ jobs:
- name: Test MLC Tutorial TVM
run: |
mlcr run-mlperf,inference,_submission,_short --adr.python.name=mlperf --adr.python.version_min=3.8 --submitter=MLCommons --implementation=python --hw_name=gh_ubuntu-latest --model=resnet50 --backend=tvm-onnx --device=cpu --scenario=Offline --mode=accuracy --test_query_count=5 --clean --quiet ${{ matrix.extra-options }}
- name: Randomly Execute Step
id: random-check
run: |
RANDOM_NUMBER=$((RANDOM % 10))
echo "Random number is $RANDOM_NUMBER"
if [ "$RANDOM_NUMBER" -eq 0 ]; then
echo "run_step=true" >> $GITHUB_ENV
else
echo "run_step=false" >> $GITHUB_ENV
fi
- name: Load secrets
if: github.repository_owner == 'mlcommons' && env.run_step == 'true'
id: op-load-secrets
uses: 1password/load-secrets-action@v3
env:
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
PAT: op://7basd2jirojjckncf6qnq3azai/bzbaco3uxoqs2rcyu42rvuccga/credential
- name: Push Results
env:
GITHUB_TOKEN: ${{ steps.op-load-secrets.outputs.PAT }}
USER: mlcommons-bot
EMAIL: mlcommons-bot@users.noreply.github.com
if: github.repository_owner == 'mlcommons' && env.run_step == 'true'
run: |
git config --global user.name "$USER"
git config --global user.email "$EMAIL"
git config --global credential.https://github.com.helper ""
git config --global credential.https://github.com.helper "!gh auth git-credential"
git config --global credential.https://gist.github.com.helper ""
git config --global credential.https://gist.github.com.helper "!gh auth git-credential"
mlcr push,github,mlperf,inference,submission --repo_url=https://github.com/mlcommons/mlperf_inference_test_submissions_v5.0 --repo_branch=auto-update --commit_message="Results from R50 GH action on ${{ matrix.os }}" --quiet
94 changes: 1 addition & 93 deletions .github/workflows/test-mlperf-inference-yolo-closed-div.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ permissions:
on:
#schedule:
# - cron: '0 0 * * *' # Runs daily at 12 AM UTC
pull_request_target:
pull_request:
branches: [ "main-off", "dev-off" ]
paths:
- '.github/workflows/test-mlperf-inference-yolo.yml'
Expand Down Expand Up @@ -52,95 +52,3 @@ jobs:
run: |
mlcr run-mlperf,inference,_full,_find-performance,_all-scenarios,_r6.0-dev --submitter="MLCommons" --pull_changes=yes --pull_inference_changes=yes --hw_name="gh_${{ matrix.os }}x86" --model=yolo-99 --implementation=reference --category=edge --backend=${{ matrix.backend }} --framework=pytorch --device=cpu --execution_mode=test -v --quiet
mlcr run-mlperf,inference,_compliance,_full,_all-modes,_all-scenarios,_r6.0-dev --division=closed --results_dir=${{ env.RESULTS_DIR }} --model=yolo-99 --implementation=reference --category=edge --backend=${{ matrix.backend }} --framework=pytorch --device=cpu --execution_mode=valid --multistream_target_latency=900 --env.MLC_MLPERF_USE_MAX_DURATION=no -v --quiet --submitter="MLCommons" --pull_changes=yes --pull_inference_changes=yes --hw_name="gh_${{ matrix.os }}_python${{ matrix.python-version }}x86"
- name: upload results artifact
uses: actions/upload-artifact@v4
with:
name: mlperf-inference-yolo-results-${{ matrix.os }}-py${{ matrix.python-version }}-bk${{ matrix.backend }}
path: ${{ env.RESULTS_DIR }}

upload-results-to-github:
needs: mlc-run
runs-on: ubuntu-latest
env:
MLC_INDEX: "on"
SUBMISSION_DIR: ${{ github.workspace }}/mlperf_inference_submission
ARTIFACT_DOWNLOAD_PATH: ${{ github.workspace }}/gh_artifacts
RESULTS_DIR: ${{ github.workspace }}/mlperf_inference_results

concurrency:
group: upload-results-v6.0
cancel-in-progress: false
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: [ "3.13" ]

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}

- name: Install mlcflow
run: |
pip install mlcflow
pip install tabulate

- name: Pull MLOps repo
shell: bash
env:
REPO: ${{ github.event.pull_request.head.repo.html_url }}
BRANCH: ${{ github.event.pull_request.head.ref }}
run: |
mlc pull repo "$REPO" --branch="$BRANCH"

- name: Download benchmark artifacts
uses: actions/download-artifact@v4
with:
path: "${{ env.ARTIFACT_DOWNLOAD_PATH }}"

- name: Load secrets
id: op-load-secrets
uses: 1password/load-secrets-action@v3
env:
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
PAT: op://7basd2jirojjckncf6qnq3azai/bzbaco3uxoqs2rcyu42rvuccga/credential

- name: Prepare Results Directory
run: |
set -euo pipefail

mkdir -p "${{ env.RESULTS_DIR }}"

# Iterate over system folders
for system_dir in "${{ env.ARTIFACT_DOWNLOAD_PATH }}/*"; do
if [ -d "${system_dir}/valid_results" ]; then
echo "Processing ${system_dir}/valid_results"
cp -r "${system_dir}/valid_results/"* "${{ env.RESULTS_DIR }}/"
else
echo "Skipping ${system_dir} (no valid_results directory)"
fi
done

tree -a "${{ env.RESULTS_DIR }}"

mlcr generate,inference,submission --adr.compiler.tags=gcc --version=v6.0 --clean --preprocess_submission=yes --submission_base_dir="${{ env.SUBMISSION_DIR}}" --results_dir="${{ env.RESULTS_DIR }}" --run_checker --submitter=MLCommons --tar=yes --division=closed --env.MLC_DETERMINE_MEMORY_CONFIGURATION=yes --extra_checker_args="--skip-extra-accuracy-files-check" --quiet $docker_tags

- name: Push Results
env:
GITHUB_TOKEN: ${{ steps.op-load-secrets.outputs.PAT }}
if: github.repository_owner == 'mlcommons'
run: |
git config --global user.name "mlcommons-bot"
git config --global user.email "mlcommons-bot@users.noreply.github.com"
git config --global credential.https://github.com.helper ""
git config --global credential.https://github.com.helper "!gh auth git-credential"
git config --global credential.https://gist.github.com.helper ""
git config --global credential.https://gist.github.com.helper "!gh auth git-credential"
mlcr push,github,mlperf,inference,submission --submission_dir=${{ env.SUBMISSION_DIR }} --repo_url=https://github.com/mlcommons/mlperf_inference_unofficial_submissions_v5.0/ --repo_branch=v6.0 --commit_message="Results from yolo-v11 GH action on ${{ matrix.os }}" --quiet

Loading
Loading