From a6752f3f16e147024fe9079d881bf8bc0854000b Mon Sep 17 00:00:00 2001 From: Daniel Han-Chen Date: Sat, 24 Feb 2024 17:12:00 +1100 Subject: [PATCH] Update gemma.py --- unsloth/models/gemma.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unsloth/models/gemma.py b/unsloth/models/gemma.py index 5bfc885dc0..f8e8f11d0b 100644 --- a/unsloth/models/gemma.py +++ b/unsloth/models/gemma.py @@ -463,7 +463,7 @@ class FastGemmaModel(FastLlamaModel): # GemmaAttention .forward = LlamaAttention_fast_forward # GemmaSdpaAttention .forward = LlamaAttention_fast_forward # GemmaFlashAttention2.forward = LlamaAttention_fast_forward - # GemmaDecoderLayer .forward = GemmaDecoderLayer_fast_forward + GemmaDecoderLayer .forward = GemmaDecoderLayer_fast_forward GemmaModel .forward = GemmaModel_fast_forward GemmaForCausalLM .forward = GemmaForCausalLM_fast_forward PeftModelForCausalLM.forward = PeftModelForCausalLM_fast_forward