Spaces:
Running
on
T4
Running
on
T4
progress
Browse files- app.py +1 -1
- tool/testv3.so +1 -1
app.py
CHANGED
@@ -23,7 +23,7 @@ def generate_kernel(text_input, n_iters, progress=gr.Progress()):
|
|
23 |
best_code = ""
|
24 |
for info in run_autotune_pipeline(src_path, n_iters):
|
25 |
# 1) update progress bar (if iteration known)
|
26 |
-
if info["iteration"] is not None:
|
27 |
# print(f"Iteration {info['iteration']} / {n_iters}: {info['message']}")
|
28 |
progress((info["iteration"], n_iters), desc=info["message"])
|
29 |
|
|
|
23 |
best_code = ""
|
24 |
for info in run_autotune_pipeline(src_path, n_iters):
|
25 |
# 1) update progress bar (if iteration known)
|
26 |
+
if info["event"] == "iteration_end" and info["iteration"] is not None:
|
27 |
# print(f"Iteration {info['iteration']} / {n_iters}: {info['message']}")
|
28 |
progress((info["iteration"], n_iters), desc=info["message"])
|
29 |
|
tool/testv3.so
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 487120
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:532ed0f05a260ea9260928e1ee4cfaee08d364dced2b18aec97a8e2956a59c1e
|
3 |
size 487120
|