From e958d9cb3ff4e3e4190fb703f3ac1658d009b178 Mon Sep 17 00:00:00 2001
From: Jeffrey Wigger <jeffrey.wigger@epfl.ch>
Date: Sat, 11 Jun 2022 03:01:41 +0200
Subject: [PATCH] test after one

---
 eval/run_xtimes_reddit_rws.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eval/run_xtimes_reddit_rws.sh b/eval/run_xtimes_reddit_rws.sh
index f7f43fc..82d078f 100755
--- a/eval/run_xtimes_reddit_rws.sh
+++ b/eval/run_xtimes_reddit_rws.sh
@@ -86,7 +86,7 @@ batches_per_comm_round=$($env_python -c "from math import floor; x = floor($batc
 new_iterations=$($env_python -c "from math import floor; tmp = floor($batches_per_epoch / $comm_rounds_per_global_epoch); x = 1 if tmp == 0 else tmp; y = floor((($batches_per_epoch / $comm_rounds_per_global_epoch)/x)*$iterations); print($iterations if y<$iterations else y)")
 echo batches per communication round: $batches_per_comm_round
 echo corrected iterations: $new_iterations
-test_after=$(($new_iterations / $global_epochs * 5))
+test_after=$(($new_iterations / $global_epochs * 1))
 echo test after: $test_after
 for i in "${tests[@]}"
 do
-- 
GitLab