We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70634f1 commit c5f26fdCopy full SHA for c5f26fd
pytensor/link/pytorch/linker.py
@@ -37,6 +37,10 @@ def conversion_func_register(*args, **kwargs):
37
def jit_compile(self, fn):
38
import torch
39
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
43
+
44
from pytensor.link.pytorch.dispatch import pytorch_typify
45
46
class wrapper:
0 commit comments