Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously we were adding `microbatch` to the list of `builtin_incremental_strategies` only when the behavior flag `require_batched_execution_for_custom_microbatch_strategy` was set to True. However in reality, we only want to set it True when that flag evaluates to False. This is because having the flag set to True implies by the transitive property that the project has a custom microbatch macro defined. In this situation, we _don't_ want `microbatch` to be in the list of `builtins` because if the adapter doesn't have a builtin `microbatch` macro, things will break. Said another way, the only time that having `microbatch` in the list of builtin incremental strategies is relevant is when the flag is False.
- Loading branch information