|
|
@ -50,7 +50,8 @@ public class WarmupConfigModifier implements PolarisConfigModifier {
|
|
|
|
Optional.ofNullable(weightAdjustConfig.getChain()).orElse(Collections.emptyList()));
|
|
|
|
Optional.ofNullable(weightAdjustConfig.getChain()).orElse(Collections.emptyList()));
|
|
|
|
chainSet.add(WarmupWeightAdjuster.WARMUP_WEIGHT_ADJUSTER_NAME);
|
|
|
|
chainSet.add(WarmupWeightAdjuster.WARMUP_WEIGHT_ADJUSTER_NAME);
|
|
|
|
weightAdjustConfig.setChain(new ArrayList<>(chainSet));
|
|
|
|
weightAdjustConfig.setChain(new ArrayList<>(chainSet));
|
|
|
|
} else {
|
|
|
|
}
|
|
|
|
|
|
|
|
else {
|
|
|
|
Set<String> chainSet = new TreeSet<>(
|
|
|
|
Set<String> chainSet = new TreeSet<>(
|
|
|
|
Optional.ofNullable(weightAdjustConfig.getChain()).orElse(Collections.emptyList()));
|
|
|
|
Optional.ofNullable(weightAdjustConfig.getChain()).orElse(Collections.emptyList()));
|
|
|
|
chainSet.remove(WarmupWeightAdjuster.WARMUP_WEIGHT_ADJUSTER_NAME);
|
|
|
|
chainSet.remove(WarmupWeightAdjuster.WARMUP_WEIGHT_ADJUSTER_NAME);
|
|
|
|