Fallback to nn batchnorm on backward-evaluate#589
Merged
soumith merged 1 commit intopytorch:masterfrom Jan 25, 2017
Merged
Conversation
Member
|
Looks good. Can you add a test to |
Collaborator
|
merging it as it's a critical fix, hoping that tests will come later :) |
zou3519
pushed a commit
to zou3519/pytorch
that referenced
this pull request
Mar 30, 2018
ashishfarmer
pushed a commit
to ashishfarmer/pytorch
that referenced
this pull request
Mar 16, 2020
mrshenli
pushed a commit
to mrshenli/pytorch
that referenced
this pull request
Apr 11, 2020
Update seq2seq_translation_tutorial.py
jjsjann123
pushed a commit
to jjsjann123/pytorch
that referenced
this pull request
Apr 11, 2021
* Separate interface for all exprs in a fusion as we should only be working on exprs required to produce outputs. * Dropped off a nolint flag. * Add some todos * Remove mutate on fusion as it's never used and was accessing all exprs/vals in the fusion instead of those used to produce registered outputs. * Remove traversing exprs in fusion not used to produce registered outputs in IterVisitor. * Update tests. * Minor cleanup. * Re-enable printing all exprs in fusion. * Minor cleanup. * Cleanup IterVisitor. * Refactor val origin so it's a member in Val. * Move origin, is_output, and is_input to val member function, return nullptr origin if is_input. * Refactor is_input/output to is_fusion_input/is_fusion_output. * Refactor uses to be a member of Val instead of Fusion. * Clear dead Exprs from TV->uses. * Move fusion copy to a function that can return the ir_cloner used. * Manual example with multiple kernels. * Merge fixes. * Basic mechanism to divide fusion into segments based on simple rule. * Minor cleanup. * Convert segments back to fusions. * A lot of cleanup, running segmented fusion still in progress. * Runtime for segmented fusion WIP. * rename segment file * refactor scheduler interface * refactor; use heuristics matching; * fix fusion logic and multifusion runtime * add scheduler registry * add normalization detection * integrate scheduler registry in fusionSegRT * use scheduling matching for fusion segment(WIP) * cleanup and bug fix * minor cleanup * merge fix * segment fusion only if orig fusion cannot schedule * clang-format & clang-tidy * clang-tidy * clang-tidy * clang-tidy * rename;comment;refactor caching; * minor cleanups * minor cleanup * allow mismatched broadcast normalizationSchedule * allow mismatched broadcast in normalization * rework red and norm canSchedule; minor fix * style fix; unify debug print * clang-tidy * clang format * clang format * clang-tidy * minor cleanup Co-authored-by: shmsong <shisong@umich.edu>
KyleCZH
pushed a commit
to KyleCZH/pytorch
that referenced
this pull request
Sep 20, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fix #586