zhujiace commited on
Commit
f296a59
·
1 Parent(s): fb067ce
Files changed (2) hide show
  1. app.py +1 -1
  2. 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:9911ef353f67e6f1bd1ea5c7fea5e9bea863983dfbe8945069079343a25a4be3
3
  size 487120
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:532ed0f05a260ea9260928e1ee4cfaee08d364dced2b18aec97a8e2956a59c1e
3
  size 487120