Skip to content

Commit c886dd5

Browse files
update release disable test (PaddlePaddle#72563)
1 parent 40be182 commit c886dd5

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

tools/get_quick_disable_lt.py

+9-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,15 @@ def download_file():
4141
if sysstr == 'win32':
4242
url = "https://sys-p0.bj.bcebos.com/prec/{}".format('disable_ut_win')
4343
else:
44-
url = "https://sys-p0.bj.bcebos.com/prec/{}".format('disable_ut')
44+
import os
45+
46+
branch = os.getenv('BRANCH')
47+
if branch.startswith('release/'):
48+
url = "https://sys-p0.bj.bcebos.com/prec/{}".format(
49+
'disable_ut_release'
50+
)
51+
else:
52+
url = "https://sys-p0.bj.bcebos.com/prec/{}".format('disable_ut')
4553

4654
if paddle.is_compiled_with_rocm():
4755
if cuda.get_device_name() == 'K100_AI':

0 commit comments

Comments
 (0)