forked from facebook/Ax
-
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.
Update pending points to be modified in place for efficiency (faceboo…
…k#3437) Summary: NOTE: this must be landed at the same time as 4/n Previously (xxx) we updated the extend pending point method to not modify in place, however, that creates a pretty significant slow down which is unacceptable to waveguide. In order to merge the gen methods, and have all paths go through the new _gen_for_multi_with_multi method (including waveguide) we need to have this method modify in place again. We include a note in the docstring for this. In follow up diffs we will also: 1. explore making pending points a set instead of a list of observation features 2. remove all external setting of pending points in calls to gen - now we set it inside the gen methods so it's redundant to do so in multiple places 3. try to unify the various pending point utils Reviewed By: saitcakmak Differential Revision: D68790218
- Loading branch information
1 parent
38bd100
commit bded2a8
Showing
4 changed files
with
116 additions
and
47 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