Revert "[Perf] Optimize RMSNorm in Z-Image (#3304)"

This reverts commit bb69cbc9f1.
This commit is contained in:
Hongsheng Liu authored and GitHub committed 2026-05-07 11:23:30 +08:00
1 parent 5d4b16e6e3
commit 87b8825307
3 files changed
+3 -114

No files matched your search

@@ -25,6 +25,7 @@ import torch.nn as nn
from torch.nn.utils.rnn import pad_sequence
from vllm.logger import init_logger
from vllm.model_executor.layers.activation import SiluAndMul
from vllm.model_executor.layers.layernorm import RMSNorm
from vllm.model_executor.layers.linear import (
MergedColumnParallelLinear,
QKVParallelLinear,
@@ -33,8 +34,6 @@ from vllm.model_executor.layers.linear import (
)
from vllm.model_executor.model_loader.weight_utils import default_weight_loader
from vllm_omni.diffusion.layers.norm import RMSNorm
if TYPE_CHECKING:
from vllm.model_executor.layers.quantization.base_config import (
QuantizationConfig,