From e16918d41e5e82930872dbb263594f1aeb3b73a4 Mon Sep 17 00:00:00 2001 From: Konrad Zawora Date: Tue, 24 Sep 2024 12:01:31 +0200 Subject: [PATCH] Remove logger from layernorm (#332) Upstream does not use logger in layernorm. Neither do we. No idea why it's there. --- vllm/model_executor/layers/layernorm.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/vllm/model_executor/layers/layernorm.py b/vllm/model_executor/layers/layernorm.py index 8f1c60db3ebd7..257e6b37c7890 100644 --- a/vllm/model_executor/layers/layernorm.py +++ b/vllm/model_executor/layers/layernorm.py @@ -4,11 +4,8 @@ import torch import torch.nn as nn -from vllm.logger import init_logger from vllm.model_executor.custom_op import CustomOp -logger = init_logger(__name__) - class RMSNorm(CustomOp): """Root mean square normalization.