Skip to content
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

Add script to check training v4.1 submissions #385

Merged
merged 1 commit into from
Sep 18, 2024
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 scripts/verify_for_v2.0_hpc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -e

# rcp_bypass and rcp_bert_train_samples packahe checker params
# rcp_bypass and rcp_bert_train_samples package checker params
# need to be retrieved at package_checker_params file at top-level submission dir.
PACKAGE_CHECKER_PARAMS=""
PACKAGE_CHECKER_PARAMS_FILE="$1/package_checker_params"
Expand Down
2 changes: 1 addition & 1 deletion scripts/verify_for_v2.0_training.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -e

# rcp_bypass and rcp_bert_train_samples packahe checker params
# rcp_bypass and rcp_bert_train_samples package checker params
# need to be retrieved at package_checker_params file at top-level submission dir.
PACKAGE_CHECKER_PARAMS=""
PACKAGE_CHECKER_PARAMS_FILE="$1/package_checker_params"
Expand Down
2 changes: 1 addition & 1 deletion scripts/verify_for_v2.1_training.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -e

# rcp_bypass and rcp_bert_train_samples packahe checker params
# rcp_bypass and rcp_bert_train_samples package checker params
# need to be retrieved at package_checker_params file at top-level submission dir.
PACKAGE_CHECKER_PARAMS=""
PACKAGE_CHECKER_PARAMS_FILE="$1/package_checker_params"
Expand Down
2 changes: 1 addition & 1 deletion scripts/verify_for_v3.0_hpc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -e

# rcp_bypass and rcp_bert_train_samples packahe checker params
# rcp_bypass and rcp_bert_train_samples package checker params
# need to be retrieved at package_checker_params file at top-level submission dir.
PACKAGE_CHECKER_PARAMS=""
PACKAGE_CHECKER_PARAMS_FILE="$1/package_checker_params"
Expand Down
2 changes: 1 addition & 1 deletion scripts/verify_for_v3.0_training.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -e

# rcp_bypass and rcp_bert_train_samples packahe checker params
# rcp_bypass and rcp_bert_train_samples package checker params
# need to be retrieved at package_checker_params file at top-level submission dir.
PACKAGE_CHECKER_PARAMS=""
PACKAGE_CHECKER_PARAMS_FILE="$1/package_checker_params"
Expand Down
2 changes: 1 addition & 1 deletion scripts/verify_for_v3.1_training.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -e

# rcp_bypass and rcp_bert_train_samples packahe checker params
# rcp_bypass and rcp_bert_train_samples package checker params
# need to be retrieved at package_checker_params file at top-level submission dir.
PACKAGE_CHECKER_PARAMS=""
PACKAGE_CHECKER_PARAMS_FILE="$1/package_checker_params"
Expand Down
2 changes: 1 addition & 1 deletion scripts/verify_for_v4.0_training.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -e

# rcp_bypass and rcp_bert_train_samples packahe checker params
# rcp_bypass and rcp_bert_train_samples package checker params
# need to be retrieved at package_checker_params file at top-level submission dir.
PACKAGE_CHECKER_PARAMS=""
PACKAGE_CHECKER_PARAMS_FILE="$1/package_checker_params"
Expand Down
18 changes: 18 additions & 0 deletions scripts/verify_for_v4.1_training.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/bash

set -e

# rcp_bypass and rcp_bert_train_samples package checker params
# need to be retrieved at package_checker_params file at top-level submission dir.
PACKAGE_CHECKER_PARAMS=""
PACKAGE_CHECKER_PARAMS_FILE="$1/package_checker_params"
if test -f "$PACKAGE_CHECKER_PARAMS_FILE"; then
while IFS= read -r line
do
PACKAGE_CHECKER_PARAMS="$PACKAGE_CHECKER_PARAMS --$line"
done < "$PACKAGE_CHECKER_PARAMS_FILE"
fi

python3 -m mlperf_logging.package_checker $1 training 4.1.0 $PACKAGE_CHECKER_PARAMS
python3 -m mlperf_logging.result_summarizer $1 training 4.1.0
python3 -m mlperf_logging.repo_checker $1 training 4.1.0
Loading