From 6b803abe5ac8ef454530a837c7533adebb7b6f8b Mon Sep 17 00:00:00 2001 From: kijai <40791699+kijai@users.noreply.github.com> Date: Sun, 12 Apr 2026 16:30:49 +0300 Subject: [PATCH] update comment --- comfy/text_encoders/gemma4.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comfy/text_encoders/gemma4.py b/comfy/text_encoders/gemma4.py index 1442f63a7..8ebae8067 100644 --- a/comfy/text_encoders/gemma4.py +++ b/comfy/text_encoders/gemma4.py @@ -45,7 +45,7 @@ class Gemma4Config: num_kv_shared_layers: int = 18 use_double_wide_mlp: bool = False stop_tokens = [1, 50, 106] - fused_rms_norm: bool = True # True = use fused F.rms_norm (lot faster, minor output difference from reference) + fused_rms_norm: bool = True # False: to match reference code's exact numerical behavior, which is much slower, so we default to True vision_config = GEMMA4_VISION_CONFIG audio_config = GEMMA4_AUDIO_CONFIG mm_tokens_per_image = 280