opt weights

This commit is contained in:
2025-03-31 11:02:03 +08:00
parent abc90024ac
commit bcfcd60f55
+1
View File
@@ -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