From b304ade34a70ee17655d8bcf9c592e0df50497ab Mon Sep 17 00:00:00 2001 From: Zeref996 <53218160+Zeref996@users.noreply.github.com> Date: Wed, 11 Sep 2024 10:52:18 +0800 Subject: [PATCH] Plt update 016 (#2943) * add plt export, test=model * add plt export, test=model * add plt export, test=model * add plt export, test=model * add plt export, test=model * add plt export, test=model * add plt export, test=model * add plt export, test=model * add plt export, test=model * add plt export, test=model * add plt export, test=model * add plt export, test=model * add plt export, test=model * add plt export, test=model * add plt export, test=model * fix plt start, test=model * fix plt start, test=model * fix plt start, test=model * fix plt start, test=model * fix plt perf, test=model * add plt bm ignore, test=model * update plt start.sh, test=model * update plt start.sh, test=model * add inputspec plt ci, test=model * add inputspec plt ci, test=model * update plt ci, test=model * update plt ci, test=model * update plt ci, test=model * update plt ci, test=model * update plt ci, test=model * update plt gsb, test=model * fix plt statistic, test=model * plt update net instance, test=model * plt update net instance, test=model * plt update net instance, test=model * plt update net instance, test=model * plt update net instance, test=model * plt update net instance, test=model * plt update net instance, test=model * plt update net instance, test=model * plt update net instance, test=model * plt update net instance, test=model * plt update net instance, test=model * plt update net instance, test=model * plt update net instance, test=model * plt update net instance, test=model * plt update net instance, test=model * plt update net instance, test=model * plt update net instance, test=model * plt update net instance, test=model * plt update net instance, test=model * plt update net instance, test=model * plt update net instance, test=model * plt update net instance, test=model * plt update net instance, test=model * plt update net instance, test=model * plt update net instance, test=model * plt update net instance, test=model * fix plt tools, test=model * fix plt tools, test=model * fix plt tools, test=model * fix plt tools, test=model * plt add pir train infer test, test=model --- ...xport_dy_inputspec^ppinfer_new_exc_pir.yml | 33 +++++++++++++++++++ ...xport_st_inputspec^ppinfer_new_exc_pir.yml | 2 +- 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 framework/e2e/PaddleLT_new/yaml/dy^dy_train^export_dy_inputspec^ppinfer_new_exc_pir.yml diff --git a/framework/e2e/PaddleLT_new/yaml/dy^dy_train^export_dy_inputspec^ppinfer_new_exc_pir.yml b/framework/e2e/PaddleLT_new/yaml/dy^dy_train^export_dy_inputspec^ppinfer_new_exc_pir.yml new file mode 100644 index 0000000000..8c6eaeda6c --- /dev/null +++ b/framework/e2e/PaddleLT_new/yaml/dy^dy_train^export_dy_inputspec^ppinfer_new_exc_pir.yml @@ -0,0 +1,33 @@ +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: 8 + return_net_instance: "True" # 测试engine会返回模型实例 + + dy_eval: + use_upstream_net_instance: "True" # 获取上游模型实例而不是重新构建模型实例 + model_dtype: "float32" + return_net_instance: "True" # 测试engine会返回模型实例 + + jit_save_inputspec: + use_upstream_net_instance: "True" # 获取上游模型实例而不是重新构建模型实例 + model_dtype: "float32" + + paddle_infer_new_exc_pir: + jit_save_type: "jit_save_inputspec" + +compare: + - + baseline: 'dy_eval' + latest: 'paddle_infer_new_exc_pir' + # compare_method: "infer_compare" + precision: + delta: 0.00001 + rtol: 0.000001 diff --git a/framework/e2e/PaddleLT_new/yaml/dy^dy_train^export_st_inputspec^ppinfer_new_exc_pir.yml b/framework/e2e/PaddleLT_new/yaml/dy^dy_train^export_st_inputspec^ppinfer_new_exc_pir.yml index 5a089b8c73..c6141497cd 100644 --- a/framework/e2e/PaddleLT_new/yaml/dy^dy_train^export_st_inputspec^ppinfer_new_exc_pir.yml +++ b/framework/e2e/PaddleLT_new/yaml/dy^dy_train^export_st_inputspec^ppinfer_new_exc_pir.yml @@ -8,7 +8,7 @@ testings: params: opt_api: "paddle.optimizer.SGD" learning_rate: 0.00001 - step: 20 + step: 8 return_net_instance: "True" # 测试engine会返回模型实例 dy_eval: