From f98109aa5a6ae83a1e8b31046451f9ecbedf3953 Mon Sep 17 00:00:00 2001 From: xsmq Date: Sat, 20 Mar 2021 09:35:42 +0800 Subject: [PATCH] adjust performance of smoke bert_thor --- .../networks/models/bert/bert_performance/test_bert_thor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/st/networks/models/bert/bert_performance/test_bert_thor.py b/tests/st/networks/models/bert/bert_performance/test_bert_thor.py index 80b55ae4dd..adcba098e1 100644 --- a/tests/st/networks/models/bert/bert_performance/test_bert_thor.py +++ b/tests/st/networks/models/bert/bert_performance/test_bert_thor.py @@ -1,4 +1,4 @@ -# Copyright 2020 Huawei Technologies Co., Ltd +# Copyright 2020-2021 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -234,7 +234,7 @@ def test_bert_thor_8p(): os.system("rm -rf " + str(i)) print("End training...") - assert mean_cost < 66 + assert mean_cost < 69 assert mean_loss < 8.125