@@ -94,8 +94,8 @@ def getDeviceCount(device_type):
94
94
return 0
95
95
96
96
97
- cpu_run_substitute = "echo "
98
- cpu_run_on_linux_substitute = "echo "
97
+ cpu_run_substitute = "true "
98
+ cpu_run_on_linux_substitute = "true "
99
99
cpu_check_substitute = ""
100
100
cpu_check_on_linux_substitute = ""
101
101
if getDeviceCount ("cpu" ):
@@ -111,8 +111,8 @@ def getDeviceCount(device_type):
111
111
config .substitutions .append ( ('%CPU_CHECK_PLACEHOLDER' , cpu_check_substitute ) )
112
112
config .substitutions .append ( ('%CPU_CHECK_ON_LINUX_PLACEHOLDER' , cpu_check_on_linux_substitute ) )
113
113
114
- gpu_run_substitute = "echo "
115
- gpu_run_on_linux_substitute = "echo "
114
+ gpu_run_substitute = "true "
115
+ gpu_run_on_linux_substitute = "true "
116
116
gpu_check_substitute = ""
117
117
gpu_check_on_linux_substitute = ""
118
118
if getDeviceCount ("gpu" ):
@@ -128,7 +128,7 @@ def getDeviceCount(device_type):
128
128
config .substitutions .append ( ('%GPU_CHECK_PLACEHOLDER' , gpu_check_substitute ) )
129
129
config .substitutions .append ( ('%GPU_CHECK_ON_LINUX_PLACEHOLDER' , gpu_check_on_linux_substitute ) )
130
130
131
- acc_run_substitute = "echo "
131
+ acc_run_substitute = "true "
132
132
acc_check_substitute = ""
133
133
if getDeviceCount ("accelerator" ):
134
134
print ("Found available accelerator device" )
0 commit comments