Layer pruning in large language models can be effective in reducing computational resources without significant performance degradation.