mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-06-24 02:14:17 +00:00
fixing the benchmark not printing in handcode resnet50 opt example (#3850)
This commit is contained in:
parent
85691c8e20
commit
4e0819e40b
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ if __name__ == "__main__":
|
|||
choices = []
|
||||
for lin in lins:
|
||||
tm = time_linearizer(lin, rawbufs, allow_test_size=False, cnt=10)
|
||||
gflops = sym_infer(lin.info.flops, {k:k.min for k in lin.ast.vars()})*1e-9/tm
|
||||
gflops = sym_infer(lin.info.flops, {k:k.min for k in lin.ast[0].vars()})*1e-9/tm
|
||||
choices.append((tm, gflops, lin.linearize()))
|
||||
|
||||
# print all kernels
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue