Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

eellison
Copy link
Contributor

View ops as outputs of differentiable subgraphs can cause incorrect differentiation. For now, do not include them in the subgraph. This was observed with our autograd tests for MultiheadAttention and nn.Transformer, which currently fail with the legacy executor. This commit fixes those test failures.

@eellison eellison requested a review from apaszke as a code owner July 24, 2020 18:22
@facebook-github-bot facebook-github-bot added the oncall: jit Add this issue/PR to JIT oncall triage queue label Jul 24, 2020
@dr-ci
Copy link

dr-ci bot commented Jul 24, 2020

💊 CI failures summary and remediations

As of commit 0fd10de (more details on the Dr. CI page):


  • 3/3 failures possibly* introduced in this PR
    • 2/3 non-CircleCI failure(s)

ci.pytorch.org: 2 failed


This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.

Please report bugs/suggestions on the GitHub issue tracker or post in the (internal) Dr. CI Users group.

See how this bot performed.

This comment has been revised 16 times.

@seemethere seemethere changed the title [JIT] Dont include view ops in autodiff graphs [release/1.6] [JIT] Dont include view ops in autodiff graphs Jul 24, 2020
@seemethere seemethere added this to the 1.6.0 milestone Jul 24, 2020
@malfet malfet merged commit 29fe90e into pytorch:release/1.6 Jul 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
oncall: jit Add this issue/PR to JIT oncall triage queue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants