From ff7cb20f93fc5ebf98b836772085be605b616e82 Mon Sep 17 00:00:00 2001 From: Daniel Han Date: Sat, 1 Feb 2025 19:11:20 -0800 Subject: [PATCH] Update gemma.py --- unsloth/models/gemma.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/unsloth/models/gemma.py b/unsloth/models/gemma.py index 53d0bb51a1..d94f24071b 100644 --- a/unsloth/models/gemma.py +++ b/unsloth/models/gemma.py @@ -211,6 +211,8 @@ class GemmaFixedRotaryEmbedding(torch.nn.Module): ): super().__init__() if config is not None: + print(config) + print(dir(config)) # [TODO] Hack to pass in config - need to remove later base = config.rope_theta partial_rotary_factor = config.partial_rotary_factor if hasattr(config, "partial_rotary_factor") else 1.0