File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
script/get-preprocessed-dataset-openorca Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -5,11 +5,13 @@ echo "${MLC_RUN_CMD}"
55eval " ${MLC_RUN_CMD} "
66test $? -eq 0 || exit $?
77
8- if [ " ${MLC_DATASET_PREPROCESSED_BY_MLC} " = " true" ] || \
9- [ " ${MLC_DATASET_PREPROCESSED_BY_MLC} " = " yes" ] || \
10- [ " ${MLC_DATASET_PREPROCESSED_BY_MLC} " = " 1" ]; then
8+ if { [ " ${MLC_DATASET_PREPROCESSED_BY_MLC} " = " true" ] || \
9+ [ " ${MLC_DATASET_PREPROCESSED_BY_MLC} " = " yes" ] || \
10+ [ " ${MLC_DATASET_PREPROCESSED_BY_MLC} " = " 1" ]; } && \
11+ [ " ${MLC_DATASET_CALIBRATION} " = " yes" ]; then
12+
1113 ${MLC_PYTHON_BIN_WITH_PATH} ${MLC_TMP_CURRENT_SCRIPT_PATH} /nvidia_preprocess.py \
1214 -d ${MLC_OPENORCA_PREPROCESSED_ROOT} \
1315 -o ${MLC_OPENORCA_PREPROCESSED_ROOT} /preprocessed_data
1416 test $? -eq 0 || exit $?
15- fi
17+ fi
You can’t perform that action at this time.
0 commit comments