Skip to content

Commit e6437cc

Browse files
committed
just return the compiled func
1 parent 2fc81bc commit e6437cc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pytensor/link/mlx/linker.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ def jit_compile(self, fn):
3535

3636
inner_fn = mx.compile(fn)
3737

38+
return inner_fn
39+
3840
def fn(*inputs, inner_fn=inner_fn):
3941
return inner_fn(*(mlx_typify(inp) for inp in inputs))
4042

0 commit comments

Comments
 (0)