Skip to content

Commit

Permalink
fix_recompute_test (#9672)
Browse files Browse the repository at this point in the history
  • Loading branch information
waliwali777 authored Dec 30, 2024
1 parent 07ad5e6 commit c080bb8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/distribute/ci_case_auto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -677,6 +677,10 @@ function llama_align_dygraph_dy2st_pir_auto_bs2_bf16_DP2-MP2-PP1-SP() {

for to_static in "0" "1"; do
for use_recompute in "1" "0"; do
if [ "$to_static" -eq "0" ] && [ "$use_recompute" -eq "1" ]; then
# The test for recompute only runs when `to_static = 1`.
continue
fi
rm -rf $case_out_dir
rm -rf $case_log_dir
python -u -m paddle.distributed.launch \
Expand Down

0 comments on commit c080bb8

Please sign in to comment.