mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-06-24 02:14:17 +00:00
opt weights
This commit is contained in:
parent
abc90024ac
commit
bcfcd60f55
1 changed files with 1 additions and 0 deletions
|
|
@ -314,6 +314,7 @@ class TinyJit(Generic[ReturnType]):
|
|||
|
||||
# set this for next run
|
||||
self.captured = CapturedJit(ret, jit_cache, input_replace, extra_view_inputs, names, st_vars_dtype_device)
|
||||
self.captured.optimize_weights()
|
||||
elif self.cnt >= 2:
|
||||
# jit exec
|
||||
assert self.captured is not None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue