Skip to content

Commit dbc95e4

Browse files
committed
Wrong flags
1 parent 7b4c426 commit dbc95e4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pytensor/link/pytorch/linker.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,8 @@ def conversion_func_register(*args, **kwargs):
3737
def jit_compile(self, fn):
3838
import torch
3939

40-
# two flags that tend to help our graphs
41-
torch._dynamo.config.capture_func_transforms = True
42-
torch._dynamo.config.capture_scalar_outputs = True
40+
# flag that tend to help our graphs
41+
torch._dynamo.config.capture_dynamic_output_shape_ops = True
4342

4443
from pytensor.link.pytorch.dispatch import pytorch_typify
4544

0 commit comments

Comments
 (0)