Skip to content

Commit 6fb67b3

Browse files
authored
Merge pull request #181 from GATEOverflow/dev
Fix docker container check on Windows
2 parents f510c20 + 0f8f440 commit 6fb67b3

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

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

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,14 @@ jobs:
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
system: [ "GO-spr", "phoenix"]
20+
system: [ "GO-spr", "phoenix", "GO-i9" ]
2121
# 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:
2525
- model: gptj-99.9
26+
- system: GO-spr
27+
- system: GO-i9
2628

2729
steps:
2830
- name: Test MLPerf Inference NVIDIA ${{ matrix.model }}
@@ -43,12 +45,7 @@ jobs:
4345
gpu_name=rtx_4090
4446
docker_string=" --docker"
4547
fi
46-
if [ "${{ matrix.model }}" = "bert-99" ] || [ "${{ matrix.model }}" = "bert-99.9" ]; then
47-
category="edge"
48-
else
49-
category="datacenter,edge"
50-
fi
51-
48+
category="datacenter,edge"
5249
if [ -f "gh_action/bin/deactivate" ]; then source gh_action/bin/deactivate; fi
5350
python3 -m venv gh_action
5451
source gh_action/bin/activate

script/run-docker-container/customize.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def preprocess(i):
5656
print('')
5757
# CMD = f"""{env['MLC_CONTAINER_TOOL']} ps --format=json --filter "ancestor={DOCKER_CONTAINER}" """
5858
CMD = f"""{env['MLC_CONTAINER_TOOL']} ps --format """ + \
59-
"'{{ .ID }},'" + f""" --filter "ancestor={DOCKER_CONTAINER}" """
59+
'"{{ .ID }},"' + f""" --filter "ancestor={DOCKER_CONTAINER}" """
6060
if os_info['platform'] == 'windows':
6161
CMD += " 2> nul"
6262
else:

0 commit comments

Comments
 (0)