Skip to content

[AutoParallel] Fix recompute test running under to_static=1 #9672

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions scripts/distribute/ci_case_auto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -668,6 +668,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