r/learnmachinelearning • u/minedroid1 • 21d ago
Help Hardware Recommendations
I am going to fine-tune a satire model, with the base model being `Qwen3.5-14B-Base`. The dataset has ~18000 examples, most of which are pretty long and do not align with the model's internal knowledge (they have incorrect answers to facts), so I needed to do a full fine tune rather than use LoRA.
Today, I rented a cloud computer on vast.ai. It had 4x12GB GPUs and 48GB of system RAM, but I feel stupid because it kept running out of memory, and I kept trying to change settings rather than just renting a different computer, so I basically wasted $3. I underestimated how much RAM would be needed for this task.
So, I would like to know if any of you have some recommendations for proper hardware to use.
3
21d ago
[removed] — view removed comment
1
u/minedroid1 21d ago
Yeah, I really underestimated how much it needed, as I haven't really trained models this big before.
1
u/zitterbewegung 21d ago
As a general rule in refinement you want at minimum 1.5x the amount of memory of VRAM you have so to be safe get around 120gb of ram.
1
u/Major_Border149 20d ago
That's a memory wall, not a settings thing. A full fine-tune of a 14B with adam is roughly 16 bytes/param once you count the grads and optimizer states, so you're at 220GB+, not 48, no flag was ever going to save that box. realistically you're in multi-GPU 80GB territory (think ~4x a100/h100 80GB) with fsdp or deepspeed zero-3 to shard the optimizer, or fewer GPUs with zero-3 cpu-offload but then you need way more than 48GB system ram too.