Finetuning Gemma 2.4x Faster
colab.research.google.com
colab.research.google.com
On 1x A100 80GB GPU, Unsloth can fit 40K total tokens (8192 * bsz of 5), whilst FA2 can fit ~15K tokens and vanilla HF can fit 9K tokens.
I also found a RoPE bug, and posted my learnings at https://unsloth.ai/blog/gemma