Skip to content
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

Merge from go #29

Merged
merged 17 commits into from
Jun 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
11 changes: 5 additions & 6 deletions .github/workflows/test-mlperf-inference-abtf-poc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,12 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-latest, macos-13]
python-version: [ "3.8", "3.12" ]
os: [macos-latest, macos-13, windows-latest]
python-version: [ "3.9", "3.11", "3.12" ]
backend: [ "pytorch" ]
implementation: [ "python" ]
exclude:
- os: ubuntu-24.04
python-version: "3.8"
- os: windows-latest

steps:
- uses: actions/checkout@v3
Expand All @@ -60,10 +59,10 @@ 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 }}
cm run script --quiet --tags=get,sys-utils-cm
- 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 -v --gh_token=${{ secrets.ABTF_ACCESS_TOKEN }}
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 }}

32 changes: 22 additions & 10 deletions script/demo-ml-model-abtf-cognata-pytorch-loadgen/_cm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ tags:
default_env:
CM_MLPERF_LOADGEN_MODE: accuracy
CM_MLPERF_LOADGEN_SCENARIO: Offline
CM_MLPERF_LOADGEN_BUILD_FROM_SRC: 'on'
CM_OUTPUT_FOLDER_NAME: test_results
CM_MLPERF_RUN_STYLE: test
CM_TEST_QUERY_COUNT: '10'
Expand Down Expand Up @@ -242,16 +243,6 @@ deps:
- ray


## Transformers
- tags: get,generic-python-lib,_transformers
names:
- ml-engine-transformers
enable_if_env:
CM_MODEL:
- bert-99
- bert-99.9
- gptj-99
- gptj-99.9

## Tensorflow
- tags: get,generic-python-lib,_tensorflow
Expand All @@ -274,10 +265,31 @@ deps:


# Install MLPerf loadgen
- tags: get,generic-python-lib,_package.mlcommons-loadgen
enable_if_env:
CM_MLPERF_LOADGEN_BUILD_FROM_SRC:
- "off"
CM_HOST_OS_FLAVOR:
- linux
CM_HOST_PLATFORM_FLAVOR:
- x86_64
names:
- loadgen
- mlperf-inference-loadgen

- tags: get,loadgen
enable_if_any_env:
CM_MLPERF_LOADGEN_BUILD_FROM_SRC:
- "on"
CM_HOST_OS_FLAVOR:
- darwin
- windows
CM_HOST_PLATFORM_FLAVOR:
- aarch64
names:
- loadgen
- mlperf-inference-loadgen
- mlperf-inference-loadgen-from-src


#
Expand Down
Loading