Skip to content

Commit

Permalink
updata running script
Browse files Browse the repository at this point in the history
  • Loading branch information
XiaobingSuper committed Mar 6, 2020
1 parent e0eef3a commit 010edf0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions run_inference_cpu_multi_instance.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ for i in $(seq 1 $LAST_INSTANCE); do
LOG_i=inference_cpu_bs${BATCH_SIZE}_ins${i}.txt

echo "### running on instance $i, numa node $numa_node_i, core list {$start_core_i, $end_core_i}..."
numactl --physcpubind=$start_core_i-$end_core_i --membind=$numa_node_i python main.py -e UCF101 \
numactl --physcpubind=$start_core_i-$end_core_i --membind=$numa_node_i python -u main.py -e UCF101 \
--batch-size-eval $BATCH_SIZE \
--no-cuda \
2>&1 | tee $LOG_i &
Expand All @@ -40,7 +40,7 @@ end_core_0=`expr $CORES_PER_INSTANCE - 1`
LOG_0=inference_cpu_bs${BATCH_SIZE}_ins0.txt

echo "### running on instance 0, numa node $numa_node_0, core list {$start_core_0, $end_core_0}...\n\n"
numactl --physcpubind=$start_core_0-$end_core_0 --membind=$numa_node_0 python main.py -e UCF101 \
numactl --physcpubind=$start_core_0-$end_core_0 --membind=$numa_node_0 python -u main.py -e UCF101 \
--batch-size-eval $BATCH_SIZE \
--no-cuda \
2>&1 | tee $LOG_0
Expand Down
2 changes: 1 addition & 1 deletion run_inference_cpu_multi_instance_latency.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ for i in $(seq 1 $LAST_INSTANCE); do
LOG_i=inference_cpu_bs${BATCH_SIZE}_ins${i}.txt

echo "### running on instance $i, numa node $numa_node_i, core list {$start_core_i, $end_core_i}..."
numactl --physcpubind=$start_core_i-$end_core_i --membind=$numa_node_i python main.py -e UCF101 \
numactl --physcpubind=$start_core_i-$end_core_i --membind=$numa_node_i python -u main.py -e UCF101 \
--batch-size-eval $BATCH_SIZE \
--no-cuda \
2>&1 | tee $LOG_i &
Expand Down

0 comments on commit 010edf0

Please sign in to comment.