Summary: When duplicating layers to expand Gemma 4 models, a multiplicative layer_scalar parameter applied at each layer must be scaled. To maintain the correct signal contribution, the scalar must be adjusted using the formula s^(1/N), where s is the original scalar and N is the duplication factor. A pull request implementing this formula has been submitted to the RYS layer-duplication repository.
Why it matters: This adjustment is critical for developers customizing Gemma 4 capacity, ensuring model coherence and preventing breakage during layer-scaling experiments.