Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

Update gemma.py

Daniel Hanff7cb20f93fc
diff --git a/unsloth/models/gemma.py b/unsloth/models/gemma.py
index 53d0bb51a1b..d94f24071be 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