Short name describing what triggered the graph break
torch.switch: improper args/kwargs
Values or code snippet captured at the break point
args: {args}, kwargs: {kwargs}
Explanation of why the graph break was triggered
torch.switch expects 3 positional arguments (got {len(args)}) and no keyword arguments (got {len(kwargs)}) Usage: switch(index, branches, operands)
Hints on how to resolve the graph break
torch.compile call, or by using torch.compiler.set_stance("force_eager").