Skip to content

Commit c080bb8

Browse files
authored
fix_recompute_test (#9672)
1 parent 07ad5e6 commit c080bb8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/distribute/ci_case_auto.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -677,6 +677,10 @@ function llama_align_dygraph_dy2st_pir_auto_bs2_bf16_DP2-MP2-PP1-SP() {
677677

678678
for to_static in "0" "1"; do
679679
for use_recompute in "1" "0"; do
680+
if [ "$to_static" -eq "0" ] && [ "$use_recompute" -eq "1" ]; then
681+
# The test for recompute only runs when `to_static = 1`.
682+
continue
683+
fi
680684
rm -rf $case_out_dir
681685
rm -rf $case_log_dir
682686
python -u -m paddle.distributed.launch \

0 commit comments

Comments
 (0)