You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
Forward fix NluStellaCapExportTest. Currently, to_backend works with graph module and doesn't work well with ExportedProgram. Need to return the graph_module contained in ExportedProgram to fix the test.
There is an assertion error raised in call_delegate_autograd: it finds some inputs require grad. In this diff, we delay the error message to when .backward() is called (probably will never be called since we're in inference mode, which is good since we only care about inference for call_delegate).
I checked how nlu models generate input and find no inputs requires grad. I suspect that there are some transformations doesn't respect this requires_grad=False property. This deserves a separate investigation.
Reviewed By: angelayi
Differential Revision: D46995565
fbshipit-source-id: 3d735843b8db0fe2c003a74cb9895c68b6cdac51
0 commit comments