[schedule] Better builder defaults#87
Conversation
Switches named sequeunce builder to expect no results by default. This aligns better with most schedules that do not return any values.
rolfmorel
left a comment
There was a problem hiding this comment.
Will just comment that for "bundle schedules" to be useful for being composed into an overall schedule, they will need to return the (modified) payload module. These overall schedules, e.g., enable a straightforward approach to specifying the relevant tuning problem.
I am okay with this going in as it changes the default, though would strongly encourage (sub-)schedules to still yield a/the relevant result(s) when possible -- especially if it's not possible to still have a handle to them to due the bundle invalidating the passed-in handles.
|
As an alternative approach, we might want an Have a look at lighthouse/lighthouse/dialects/transform_smt_ext.py Lines 189 to 235 in 9d78835 |
|
+1 to overall direction I'll move these defaults to |
Moves defaults from the named sequence builder to the schedule boilerplate helper.
The new defaults assign a single input argument and expect no results.
This aligns better with current usage of the boilerplate to create simple schedules that do not return any values.