Skip to content

Commit 7afe34f

Browse files
authored
Plt update 020 (#2986)
* 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 * plt fix, test=model * plt update, test=model * plt update, test=model
1 parent 952f372 commit 7afe34f

4 files changed

+9
-2
lines changed

framework/e2e/PaddleLT_new/run.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def _db_interact(self, sublayer_dict, error_list):
151151
return baseline_dict, baseline_layer_type
152152
elif os.environ.get("PLT_BM_DB") == "non-db": # 不加载数据库,仅生成表格
153153

154-
return {}, "none"
154+
return "none", "none"
155155
else:
156156
Exception("unknown benchmark datebase mode, only support insert, select or non-db")
157157

@@ -409,7 +409,8 @@ def _test_run(self, py_list):
409409

410410
self._exit_code_txt(error_count=error_count, error_list=error_list)
411411

412-
baseline_dict, baseline_layer_type = self._db_interact(sublayer_dict=sublayer_dict, error_list=error_list)
412+
if os.environ.get("PLT_BM_DB") != "non-db":
413+
baseline_dict, baseline_layer_type = self._db_interact(sublayer_dict=sublayer_dict, error_list=error_list)
413414

414415
def _multiprocess_perf_test_run(self):
415416
"""

framework/e2e/PaddleLT_new/scene/set_ci_dy^dy2stcinn_train^dy2stcinn_eval_inputspec_env.sh

+2
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ export PLT_SAVE_GT=False # 是否保存精度ground truth, 也就是plt_gt
2121
export PLT_GT_UPLOAD_URL=None # plt_gt的上传路径, paddle-qa/PaddleLT/PaddleLTGroundTruth/latest
2222
export PLT_GT_DOWNLOAD_URL=None # plt_gt的下载url, https://paddle-qa.bj.bcebos.com/PaddleLT/PaddleLTGroundTruth/latest/gpu
2323

24+
export PLT_BM_DB=non-db
25+
2426
export FLAGS_prim_forward_blacklist=pd_op.dropout
2527
export FLAGS_enable_pir_api=1
2628
export FLAGS_prim_enable_dynamic=true

framework/e2e/PaddleLT_new/scene/set_ci_dy^dy2stcinn_train_env.sh

+2
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ export PLT_SAVE_GT=False # 是否保存精度ground truth, 也就是plt_gt
2121
export PLT_GT_UPLOAD_URL=None # plt_gt的上传路径, paddle-qa/PaddleLT/PaddleLTGroundTruth/latest
2222
export PLT_GT_DOWNLOAD_URL=None # plt_gt的下载url, https://paddle-qa.bj.bcebos.com/PaddleLT/PaddleLTGroundTruth/latest/gpu
2323

24+
export PLT_BM_DB=non-db
25+
2426
export FLAGS_prim_forward_blacklist=pd_op.dropout
2527
export FLAGS_enable_pir_api=1
2628
export FLAGS_prim_enable_dynamic=true

framework/e2e/PaddleLT_new/scene/set_ci_dy^dy2stcinn_train_inputspec_env.sh

+2
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ export PLT_SAVE_GT=False # 是否保存精度ground truth, 也就是plt_gt
2121
export PLT_GT_UPLOAD_URL=None # plt_gt的上传路径, paddle-qa/PaddleLT/PaddleLTGroundTruth/latest
2222
export PLT_GT_DOWNLOAD_URL=None # plt_gt的下载url, https://paddle-qa.bj.bcebos.com/PaddleLT/PaddleLTGroundTruth/latest/gpu
2323

24+
export PLT_BM_DB=non-db
25+
2426
export FLAGS_prim_forward_blacklist=pd_op.dropout
2527
export FLAGS_enable_pir_api=1
2628
export FLAGS_prim_enable_dynamic=true

0 commit comments

Comments
 (0)