Skip to content

Commit

Permalink
Wrong flags
Browse files Browse the repository at this point in the history
  • Loading branch information
Ch0ronomato committed Jan 26, 2025
1 parent 7b4c426 commit dbc95e4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pytensor/link/pytorch/linker.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,8 @@ def conversion_func_register(*args, **kwargs):
def jit_compile(self, fn):
import torch

# two flags that tend to help our graphs
torch._dynamo.config.capture_func_transforms = True
torch._dynamo.config.capture_scalar_outputs = True
# flag that tend to help our graphs
torch._dynamo.config.capture_dynamic_output_shape_ops = True

from pytensor.link.pytorch.dispatch import pytorch_typify

Expand Down

0 comments on commit dbc95e4

Please sign in to comment.