Skip to content
Snippets Groups Projects
Commit e958d9cb authored by Jeffrey Wigger's avatar Jeffrey Wigger
Browse files

test after one

parent 7ac9a88a
No related tags found
No related merge requests found
...@@ -86,7 +86,7 @@ batches_per_comm_round=$($env_python -c "from math import floor; x = floor($batc ...@@ -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)") 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 batches per communication round: $batches_per_comm_round
echo corrected iterations: $new_iterations echo corrected iterations: $new_iterations
test_after=$(($new_iterations / $global_epochs * 5)) test_after=$(($new_iterations / $global_epochs * 1))
echo test after: $test_after echo test after: $test_after
for i in "${tests[@]}" for i in "${tests[@]}"
do do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment