mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-04-29 03:00:14 -04:00
fixup ast in kernel to be MetaOps.SINK [run_process_replay] (#5424)
* fixup ast in kernel to be MetaOps.SINK [run_process_replay] * fix tests * fix more tests
This commit is contained in:
@@ -17,7 +17,7 @@ for offset in tqdm(range(0, row_count, page_size)):
|
||||
with Context(**{k:v for k,v in ctx.items() if k in ContextVar._cache}):
|
||||
# try linearize
|
||||
try:
|
||||
k = Linearizer(*ast, opts=opts)
|
||||
k = Linearizer(ast, opts=opts)
|
||||
for opt in applied_opts: k.apply_opt(opt)
|
||||
good_src = k.opts.render(name, k.linearize().uops)
|
||||
except Exception as e:
|
||||
|
||||
Reference in New Issue
Block a user