8000
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 af1c2eb commit 32f625cCopy full SHA for 32f625c
torch/_dynamo/variables/iter.py
@@ -107,8 +107,14 @@ def call_function(
107
gb_type="Unsupported arguments for itertools.accumulate",
108
context=f"call_function {self} {args} {kwargs}",
109
explanation="Dynamo does not know how to trace "
110
- f"itertools.accumulate with args: {args}",
111
- hints=[*graph_break_hints.USER_ERROR],
+ f"itertools.accumulate with args: {args} and kwargs: {kwargs}. "
+ "itertools.accumulate expects an iterable, an optional "
112
+ "binary function for accumulation, and an optional initial "
113
+ "value to set the starting state.",
114
+ hints=[
115
+ "Make sure the arguments to itertools.accumulate are correct.",
116
+ *graph_break_hints.SUPPORTABLE,
117
+ ],
118
)
119
120
items = []
0 commit comments