mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[dynamo] Fix handling of kwargs in exception constructor (#163390)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/163390 Approved by: https://github.com/guilhermeleobas
This commit is contained in:
committed by
PyTorch MergeBot
parent
bc8680c298
commit
2b1236de61
@ -989,7 +989,7 @@ class BuiltinVariable(VariableTracker):
|
||||
hints=[*graph_break_hints.SUPPORTABLE],
|
||||
)
|
||||
|
||||
return variables.ExceptionVariable(fn, args, **kwargs)
|
||||
return variables.ExceptionVariable(fn, args, kwargs)
|
||||
|
||||
return create_exception_class_object
|
||||
|
||||
|
Reference in New Issue
Block a user