Skip to content

Commit

Permalink
plt update net instance, test=model
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeref996 committed Aug 29, 2024
1 parent aad05cd commit 83accc5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions framework/e2e/PaddleLT_new/layertest.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ def _case_run(self):
for testing in self.testings_list:
try:
self.logger.get_log().info("测试执行器: {}".format(testing))
if self.testings.get("use_upstream_net_instance", "False") == "False":
net = None
res = self._single_run(
testing=testing, layerfile=self.layerfile, device_place_id=self.device_place_id, upstream_net=net
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,9 @@ compare:
precision:
delta: 0.00001
rtol: 0.000001
-
baseline: 'dy2st_train_cinn'
latest: 'paddle_infer_new_exc_pir'
precision:
delta: 0.00001
rtol: 0.000001

0 comments on commit 83accc5

Please sign in to comment.