File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
devops/scripts/benchmarks/utils Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -88,6 +88,9 @@ def get_var(var_name: str) -> str:
8888 # matches up with the prefix of the l0 version patch, the cache is
8989 # indeed referring to the same version.
9090 if env_cache_patch == l0_ver_patch [: len (env_cache_patch )]:
91+ print (
92+ f"Using compute_runtime tag from COMPUTE_RUNTIME_TAG_CACHE: { env_cache_var } "
93+ )
9194 cls ._instance .compute_runtime_ver_cache = env_cache_ver
9295
9396 return cls ._instance
@@ -154,6 +157,7 @@ def get_compute_runtime_ver(self) -> str:
154157 # not work if we enable benchmark CI in precommit.
155158 url = options .detect_versions .compute_runtime_tag_api
156159
160+ print (f"Fetching compute-runtime tag from { url } ..." )
157161 try :
158162 for _ in range (options .detect_versions .max_api_calls ):
159163 res = request .urlopen (url )
@@ -196,6 +200,7 @@ def get_link_url(link: str) -> str:
196200 except urllib .error .URLError as e :
197201 print (f"URL error: { e .reason } " )
198202
203+ print (f"WARNING: unable to find compute-runtime version" )
199204 return options .detect_versions .not_found_placeholder
200205
201206
You can’t perform that action at this time.
0 commit comments