Skip to content

Commit 9b130cd

Browse files
committed
Clean github action (#123)
* Update test-mlperf-inference-resnet50.yml
1 parent e01994c commit 9b130cd

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

.github/workflows/test-cm-based-submission-generation.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ jobs:
6262
- name: Pull repo where test cases are uploaded
6363
run: |
6464
git clone -b submission-generation-tests https://github.com/mlcommons/inference.git submission_generation_tests
65+
6566
- name: Run Submission Generation - ${{ matrix.case }} ${{ matrix.action }} ${{ matrix.category }} ${{ matrix.division }}
6667
continue-on-error: true
6768
run: |

.github/workflows/test-nvidia-mlperf-inference-implementations.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ jobs:
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
# system: [ "GO-spr", "phoenix-Amd-Am5", "GO-i9", "mlc-server" ]
21-
system: [ "mlc-server" ]
20+
system: [ "GO-spr", "phoenix-Amd-Am5", "GO-i9"]
21+
# system: [ "mlc-server" ]
2222
python-version: [ "3.12" ]
2323
model: [ "resnet50", "retinanet", "bert-99", "bert-99.9", "gptj-99.9", "3d-unet-99.9", "sdxl" ]
2424
exclude:
@@ -33,7 +33,7 @@ jobs:
3333
if [ "${{ matrix.system }}" = "GO-spr" ]; then
3434
hw_name="RTX4090x2"
3535
gpu_name=rtx_4090
36-
docker_string=" --docker"
36+
docker_string=" --docker --docker_recreate=yes"
3737
elif [ "${{ matrix.system }}" = "mlc-server" ]; then
3838
hw_name="H100x8"
3939
gpu_name=h100

setup.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -143,16 +143,17 @@ def custom_function(self):
143143
clean_mlops_repo = os.environ.get('CM_MLOPS_CLEAN_REPO', 'false')
144144
if str(clean_mlops_repo).lower() not in ["no", "0", "false", "off"]:
145145
r = cmind.access({'action': 'rm',
146-
'automation': 'repo',
147-
'artifact': 'mlcommons@cm4mlops',
148-
'force': True,
149-
'all': True})
146+
'automation': 'repo',
147+
'artifact': 'mlcommons@cm4mlops',
148+
'force': True,
149+
'all': True})
150150

151151
branch = os.environ.get('CM_MLOPS_REPO_BRANCH', 'dev')
152152
pull_default_mlops_repo = os.environ.get(
153153
'CM_PULL_DEFAULT_MLOPS_REPO', 'true')
154154

155-
if str(pull_default_mlops_repo).lower() not in ["no", "0", "false", "off"]:
155+
if str(pull_default_mlops_repo).lower() not in [
156+
"no", "0", "false", "off"]:
156157
r = cmind.access({'action': 'pull',
157158
'automation': 'repo',
158159
'artifact': 'mlcommons@mlperf-automations',

0 commit comments

Comments
 (0)