We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40be182 commit c886dd5Copy full SHA for c886dd5
tools/get_quick_disable_lt.py
@@ -41,7 +41,15 @@ def download_file():
41
if sysstr == 'win32':
42
url = "https://sys-p0.bj.bcebos.com/prec/{}".format('disable_ut_win')
43
else:
44
- url = "https://sys-p0.bj.bcebos.com/prec/{}".format('disable_ut')
+ 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')
53
54
if paddle.is_compiled_with_rocm():
55
if cuda.get_device_name() == 'K100_AI':
0 commit comments