How to optimize LoRA adapters for fine-tuning LLMs on consumer hardware?
I want to fine-tune a Llama-3 8B model on a specific medical dataset, but I only have a single RTX 3090 with 24GB of VRAM. I’m using Low-Rank Adaptation (LoRA), but I’m still hitting OOM errors during the backward pass. What are the best rank (r) and alpha settings to balance model expressiveness with memory constraints without losing the nuances of the medical terminology?
Write a Comment
Your email address will not be published. Required fields are marked (*)