Skip to content

fix a bug when calling modules#1534

Merged
apaszke merged 1 commit intopytorch:masterfrom
mdering:forwardfix
May 11, 2017
Merged

fix a bug when calling modules#1534
apaszke merged 1 commit intopytorch:masterfrom
mdering:forwardfix

Conversation

@mdering
Copy link
Contributor

@mdering mdering commented May 10, 2017

a module that returns a non-standard data structure currently breaks
due to checks for backwards hooks. This refactors the code slightly so
this will only break in the event of backwards hooks.

a module that returns a non-standard data structure currently breaks
due to checks for backwards hooks. This refactors the code slightly so
this will only break in the event of backwards hooks.
@apaszke
Copy link
Contributor

apaszke commented May 11, 2017

@pytorchbot test this please

@apaszke apaszke merged commit d1a4467 into pytorch:master May 11, 2017
@apaszke
Copy link
Contributor

apaszke commented May 11, 2017

Thank you!

@mdering mdering deleted the forwardfix branch May 11, 2017 21:01
zasdfgbnm pushed a commit to zasdfgbnm/pytorch that referenced this pull request Mar 31, 2022
* Fixes validation of vectorization with contig indexing

True contig indexing needs reference tensors, so finding vectorized
contig domains at the initial validation time can result in false
positives and negatives. Fixed by filling that information at the time
of indexing.

Also considered to keep it separated from indexing and fill it at the
validation time, but it would end up replicating the same logic as reference
replay.

Closes pytorch#1534
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants