diff --git a/PaddleNLP/dialogue_model_toolkit/dialogue_general_understanding/.run_ce.sh b/PaddleNLP/dialogue_model_toolkit/dialogue_general_understanding/.run_ce.sh index 2071bd7caf870ca0d127cd1a09b935938e7576d5..76e58266f110d213e214e60b151072e4aeea985c 100644 --- a/PaddleNLP/dialogue_model_toolkit/dialogue_general_understanding/.run_ce.sh +++ b/PaddleNLP/dialogue_model_toolkit/dialogue_general_understanding/.run_ce.sh @@ -50,6 +50,11 @@ train_mrda(){ --enable_ce } +# FIXME(zjl): this model would fail when GC is enabled, +# but it seems that this error is from the model itself. +# See issue here: https://github.com/PaddlePaddle/Paddle/issues/18994#event-2532039900 +# To fix ce, disable gc in this model temporarily. +export FLAGS_eager_delete_tensor_gb=-1 cudaid=${multi:=0,1,2,3} export CUDA_VISIBLE_DEVICES=$cudaid