Skip to content

Commit

Permalink
Merge pull request GATEOverflow#76 from GATEOverflow/mlperf-inference
Browse files Browse the repository at this point in the history
Update test-mlperf-inference-abtf-poc.yml
  • Loading branch information
arjunsuresh authored Jun 16, 2024
2 parents 53bb0f0 + de2fcf8 commit c357080
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-mlperf-inference-abtf-poc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, ubuntu-20.04, ubuntu-24.04]
os: [ubuntu-22.04, ubuntu-20.04, ubuntu-24.04]
python-version: [ "3.8", "3.12" ]
backend: [ "pytorch" ]
implementation: [ "python" ]
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
python3 -m pip install cmind
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
- name: Test MLPerf Inference ABTF POC using ${{ matrix.backend }} natively
- name: Test MLPerf Inference ABTF POC using ${{ matrix.backend }} on ${{ matrix.os }}
run: |
cm run script --tags=run-abtf,inference,_poc-demo --adr.compiler.tags=gcc --quiet -v --gh_token=${{ secrets.ABTF_ACCESS_TOKEN }}
4 changes: 2 additions & 2 deletions script/download-file/customize.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
def preprocess(i):

os_info = i['os_info']

env = i['env']
meta = i['meta']

Expand Down Expand Up @@ -127,7 +126,8 @@ def preprocess(i):
#verify checksum if file already present
if env.get('CM_DOWNLOAD_CHECKSUM', '') != '':
x='*' if os_info['platform'] == 'windows' else ''
env['CM_DOWNLOAD_CHECKSUM_CMD'] = "echo {} {}{}{}{} | md5sum -c ".format(env.get('CM_DOWNLOAD_CHECKSUM'), x, q, env['CM_DOWNLOAD_FILENAME'], q)
x_c='s' if os_info['platform'] == 'darwin' else ''
env['CM_DOWNLOAD_CHECKSUM_CMD'] = "echo {} {}{}{}{} | md5sum -c{} ".format(env.get('CM_DOWNLOAD_CHECKSUM'), x, q, env['CM_DOWNLOAD_FILENAME'], q, x_c)
else:
env['CM_DOWNLOAD_CHECKSUM_CMD'] = ""

Expand Down

0 comments on commit c357080

Please sign in to comment.