File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
quickstart/image_recognition/tensorflow/vision_transformer/training/cpu Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,9 @@ if [ -z "${BATCH_SIZE}"]; then
70
70
echo " Running with default batch size of ${BATCH_SIZE} "
71
71
fi
72
72
73
+ # Execute launch_benchmark with socket id 0, to run single instance on single socket
74
+ echo " Running one innstance of vision transformer fine-tuning on single socket"
75
+
73
76
# Run vision transformer training
74
77
source " $MODEL_DIR /quickstart/common/utils.sh"
75
78
_command python ${MODEL_DIR} /benchmarks/launch_benchmark.py \
@@ -81,6 +84,7 @@ _command python ${MODEL_DIR}/benchmarks/launch_benchmark.py \
81
84
--epochs=${EPOCHS} \
82
85
--data-location $DATASET_DIR \
83
86
--checkpoint $OUTPUT_DIR \
87
+ --socket_id=0 \
84
88
$@ \
85
89
--init-checkpoint=$INIT_CHECKPOINT_DIR
86
90
You can’t perform that action at this time.
0 commit comments