-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix stage decorator cachers incidentally becoming singleton objects
Fixes #109 We fix this by making deep copying everything into a `local_cachers` list inside the wrapper, rather than taking (and manipulating) the directly provided `cachers` list. A related issue fixed in this is that artifact representations weren't actually keeping a copy of their cacher stored on them correctly. These issues culminated specifically when re-running from cached values in DAG mode, where all artifacts are injected Lazy instances, and thus relying on cachers (but all cachers for a given artifact for a given stage are actually pointing to the same cacher across all records.
- Loading branch information
Showing
6 changed files
with
208 additions
and
51 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.