[SR-9788] [AD] Diagnostic-induced crasher: Incorrect differentiation invoker for @differentiable attribute #52213
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
swift for tensorflow
Additional Detail from JIRA
md5: 978ac7ab1664410bb2c846868c271d14
Issue Description:
When this differentiation task is registered, it should've been assigned the `DifferentiableAttribute` invoker. The current behavior is that it emits a non-differentiability note without emitting an error at the root invoker. This causes later passes to continue to run and end up crashing.
Here are some examples:
2. Crashing late passes when it's a protocol requirement.
The text was updated successfully, but these errors were encountered: