Skip to content

Commit

Permalink
Disable caching of to_tuple helper due to failure in Python 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardoV94 committed Nov 27, 2024
1 parent ad15c54 commit d0b9fc2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pytensor/link/numba/dispatch/blockwise.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ def numba_funcify_Blockwise(op: BlockwiseWithCoreShape, node, **kwargs):
src,
"to_tuple",
global_env={"to_fixed_tuple": to_fixed_tuple},
)
),
# cache=True leads to a numba.cloudpickle dump failure in Python 3.10
cache=False,
)

def blockwise_wrapper(*inputs_and_core_shapes):
Expand Down

0 comments on commit d0b9fc2

Please sign in to comment.