Skip to content

Commit

Permalink
Merge pull request #31 from GATEOverflow/main
Browse files Browse the repository at this point in the history
Fixes
  • Loading branch information
arjunsuresh authored Jun 16, 2024
2 parents 7c74602 + 184229b commit 745bf8c
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 3 deletions.
37 changes: 34 additions & 3 deletions .github/workflows/test-mlperf-inference-abtf-poc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- '!**.md'

jobs:
build:
build_ubuntu:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand Down Expand Up @@ -39,7 +39,7 @@ jobs:
run: |
cm run script --tags=run-abtf,inference,_poc-demo --adr.compiler.tags=gcc --quiet --docker --docker_it=no -v --gh_token=${{ secrets.ABTF_ACCESS_TOKEN }}
build2:
build_macos:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand All @@ -50,6 +50,9 @@ jobs:
implementation: [ "python" ]
exclude:
- os: windows-latest
python-version: "3.9"
- os: windows-latest
python-version: "3.12"

steps:
- uses: actions/checkout@v3
Expand All @@ -59,10 +62,38 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
#git config --system core.longpaths true
pip install cm4mlops
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
- name: Test MLPerf Inference ABTF POC using ${{ matrix.backend }} natively
run: |
cm run script --tags=run-abtf,inference,_poc-demo --adr.compiler.tags=gcc --quiet --env.CM_MLPERF_LOADGEN_BUILD_FROM_SRC=off -v --gh_token=${{ secrets.ABTF_ACCESS_TOKEN }}
build_windows:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, macos-13, windows-latest]
python-version: [ "3.9", "3.11", "3.12" ]
backend: [ "pytorch" ]
implementation: [ "python" ]
exclude:
- os: windows-latest

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
git config --system core.longpaths true
pip install cm4mlops
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
- name: Test MLPerf Inference ABTF POC using ${{ matrix.backend }} natively
run: |
cm run script --tags=run-abtf,inference,_poc-demo --adr.compiler.tags=gcc --quiet --env.CM_MLPERF_LOADGEN_BUILD_FROM_SRC=off --adr.raw-dataset-mlcommons-cognata.tags=_gdrive -v --gh_token=${{ secrets.ABTF_ACCESS_TOKEN }}

2 changes: 2 additions & 0 deletions script/demo-ml-model-abtf-cognata-pytorch-loadgen/_cm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,8 @@ variations:
deps:
- tags: get,generic-python-lib,_opencv-python
- tags: get,generic-python-lib,_numpy
version_max: "1.26.4"
version_max_usable: "1.26.4"
- tags: get,generic-python-lib,_pycocotools
- tags: get,generic-python-lib,_package.torchmetrics
- tags: get,generic-python-lib,_package.faster-coco-eval
Expand Down

0 comments on commit 745bf8c

Please sign in to comment.