Skip to content

Conversation

@anandhu-eng
Copy link
Contributor

No description provided.

@anandhu-eng anandhu-eng requested a review from a team as a code owner November 5, 2024 14:14
@github-actions
Copy link

github-actions bot commented Nov 5, 2024

MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅

if input_dir == "":
return {'return': 1, 'error': 'Please set CM_TAR_INPUT_DIR'}
output_dir = env.get("CM_TAR_OUTPUT_DIR", "")
output_dir = env.get("CM_MLPERF_INFERENCE_SUBMISSION_BASE_DIR", env.get("CM_TAR_OUTPUT_DIR", ""))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should pass this env from the submission generation script. tar-my-folder CM script should not know anything specific about submission generation.

"CM_MLPERF_INFERENCE_SUBMISSION_BASE_DIR": [
"on"
],
"CM_MLPERF_INFERENCE_SUBMISSION_DIR": [
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if submission_dir is passed but not submission_base_dir, will the code work?

@anandhu-eng anandhu-eng marked this pull request as draft November 5, 2024 14:47
"cm pull repo"
],
"mounts": [
"${{ CM_MLPERF_INFERENCE_SUBMISSION_DIR }}:${{ CM_MLPERF_INFERENCE_SUBMISSION_DIR }}",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this line correct?

"${{ CM_MLPERF_INFERENCE_SUBMISSION_BASE_DIR }}:${{ CM_MLPERF_INFERENCE_SUBMISSION_BASE_DIR }}",
"${{ CM_MLPERF_INFERENCE_RESULTS_DIR_ }}:${{ CM_MLPERF_INFERENCE_RESULTS_DIR_ }}"
],
"extra_run_args": " --ulimit memlock=-1 --cap-add SYS_ADMIN --cap-add SYS_TIME --security-opt apparmor=unconfined --security-opt seccomp=unconfined",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needed?

@arjunsuresh arjunsuresh marked this pull request as ready for review November 5, 2024 16:53
@arjunsuresh arjunsuresh merged commit d23e18d into mlperf-inference Nov 5, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Nov 5, 2024
@anandhu-eng anandhu-eng deleted the anandhu-eng-patch-3 branch November 6, 2024 05:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants