Skip to content

Commit 7631a68

Browse files
author
Ian Schweer
committed
Debugging CI
1 parent c6f1dcb commit 7631a68

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pytensor/link/pytorch/linker.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,11 @@ def __call__(self, *args, **kwargs):
7171
for n, fn in self.gen_functors:
7272
setattr(pytensor.link.utils, n[1:], fn)
7373

74-
res = self.fn(*args, **kwargs)
74+
try:
75+
res = self.fn(*args, **kwargs)
76+
except Exception as e:
77+
names = ",".join([x[0] for x in self.gen_functors])
78+
raise ValueError(names) from e
7579

7680
# unset attrs
7781
for n, _ in self.gen_functors:

0 commit comments

Comments
 (0)