diff --git a/framework/e2e/PaddleLT_new/yaml/dy^dy2st_train_static_inputspec^export_st_inputspec^ppinfer_new_exc_pir.yml b/framework/e2e/PaddleLT_new/yaml/dy^dy2st_train_static_inputspec^export_st_inputspec^ppinfer_new_exc_pir.yml new file mode 100644 index 0000000000..afd388ee7c --- /dev/null +++ b/framework/e2e/PaddleLT_new/yaml/dy^dy2st_train_static_inputspec^export_st_inputspec^ppinfer_new_exc_pir.yml @@ -0,0 +1,50 @@ +testings: + dy_train: + model_dtype: "float32" + Loss: + loss_name: "diy.loss.diy_loss.mean_loss" + optimizer: + optimizer_name: "diy.optimizer.diy_opt.naive_opt" + params: + opt_api: "paddle.optimizer.SGD" + learning_rate: 0.00001 + step: 20 + + dy2st_train_static_inputspec: + model_dtype: "float32" + Loss: + loss_name: "diy.loss.diy_loss.mean_loss" + optimizer: + optimizer_name: "diy.optimizer.diy_opt.naive_opt" + params: + opt_api: "paddle.optimizer.SGD" + learning_rate: 0.00001 + step: 20 + return_net_instance: "True" # 测试engine会返回模型实例 + + jit_save_static_inputspec: + use_upstream_net_instance: "True" # 获取上游模型实例而不是重新构建模型实例 + model_dtype: "float32" + + paddle_infer_new_exc_pir: + jit_save_type: "jit_save_static_inputspec" + +compare: + - + baseline: 'dy_train' + latest: 'dy2st_train_static_inputspec' + precision: + delta: 0.00001 + rtol: 0.000001 + - + baseline: 'paddle_infer_new_exc_pir' + latest: 'dy_train' + precision: + delta: 0.00001 + rtol: 0.000001 + - + baseline: 'paddle_infer_new_exc_pir' + latest: 'dy2st_train_static_inputspec' + precision: + delta: 0.00001 + rtol: 0.000001