Repository navigation
Avoid recompiling e2e modules with global variables - #2897
Merged
phoenix-meadowlark merged 5 commits intoAug 17, 2020
Merged
Conversation
Member
|
It seems this way does not address the issue. Letting the class taking hold of the context is the problematic part. |
phoenix-meadowlark
force-pushed
the
cls-variable-fix
branch
from
August 17, 2020 18:29
8719fcd to
a94debc
Compare
phoenix-meadowlark
force-pushed
the
cls-variable-fix
branch
from
August 17, 2020 18:39
a94debc to
830deff
Compare
GMNGeoffrey
reviewed
Aug 17, 2020
…est_utils.py Co-authored-by: Geoffrey Martin-Noble <[email protected]>
GMNGeoffrey
approved these changes
Aug 17, 2020
Merged
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.
Follow-up to #2899. The global variables
_global_ref_moduleand_global_tar_modulesare used to store compiled IREE modules for theTracedModuleTestCase. Storing the variables on theTracedModuleTestCaseclscauses the errors in #2900, and storing the variables on theTracedModuleTestCaseinstance (viaself) doesn't work becausetf.test.TestCasewipes these variables before each unittest.This was tested by manually running an
x86-turingpresubmit, which passed.