Skip to content

Fix mlperf inference docker run on Windows #188

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

Merged
merged 3 commits into from
Feb 5, 2025
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
2 changes: 1 addition & 1 deletion script/app-mlperf-inference/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ deps:
- 'yes'
- tags: get,mlperf,inference,utils

- tags: install,pip-package,for-cmind-python,_package.pandas
- tags: install,pip-package,for-mlc-python,_package.pandas
enable_if_env:
MLC_PROFILE_NVIDIA_POWER:
- on
Expand Down
2 changes: 1 addition & 1 deletion script/generate-mlperf-inference-submission/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ deps:
- inference-src
tags: mlcommons,inference,src
- tags: get,sut,system-description
- tags: install,pip-package,for-cmind-python,_package.tabulate
- tags: install,pip-package,for-mlc-python,_package.tabulate
- tags: get,mlperf,inference,utils
- names:
- get-mlperf-results-dir
Expand Down
1 change: 0 additions & 1 deletion script/install-pip-package-for-cmind-python/README.md

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
alias: install-pip-package-for-cmind-python
alias: install-pip-package-for-mlc-python
automation_alias: script
automation_uid: 5b4e0237da074764
cache: true
Expand All @@ -7,8 +7,8 @@ tags:
- pip
- package
- pip-package
- for-cmind-python
- for.cmind-python
- for-mlc-python
- for.mlc-python
uid: b16ed087abab459c

variations:
Expand Down
3 changes: 2 additions & 1 deletion script/run-docker-container/customize.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,8 @@ def postprocess(i):
for mounts in env['MLC_DOCKER_VOLUME_MOUNTS']:
mount_cmds.append(mounts)

if env.get('MLC_DOCKER_PASS_USER_GROUP', '') != '':
if env.get('MLC_DOCKER_PASS_USER_GROUP',
'') != '' and os_info['platform'] != 'windows':
run_opts += " --group-add $(id -g $USER) "

if env.get('MLC_DOCKER_ADD_DEVICE', '') != '':
Expand Down
2 changes: 1 addition & 1 deletion script/run-mlperf-automotive-app/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ deps:
MLC_MLPERF_USE_DOCKER: [ off ]
skip_if_env:
OUTPUT_BASE_DIR: [ on ]
- tags: install,pip-package,for-cmind-python,_package.tabulate
- tags: install,pip-package,for-mlc-python,_package.tabulate
- tags: get,mlperf,inference,utils
skip_if_env:
MLC_MLPERF_USE_DOCKER: [ on ]
Expand Down
4 changes: 1 addition & 3 deletions script/run-mlperf-inference-app/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -156,11 +156,9 @@ deps:
- tags: get,mlperf,inference,results,dir
names:
- get-mlperf-inference-results-dir
enable_if_env:
MLC_MLPERF_USE_DOCKER: [ off ]
skip_if_env:
OUTPUT_BASE_DIR: [ on ]
- tags: install,pip-package,for-cmind-python,_package.tabulate
- tags: install,pip-package,for-mlc-python,_package.tabulate
- tags: get,mlperf,inference,utils

#We use this script as a command generator to run docker via app-mlperf-inference script
Expand Down
Loading