I've been looking for an answer to this every time I check out the current vast.ai console.
I once had some trouble setting it up and the founder literally went on a zoom chat with me to help navigate through things. Couldnt recommend them enough!!
Disclosure: I collected the data and built the site, but it has a ton of comparison data for GPU clouds.
My goal is to fine-tune a model on our codebase. I find RAG to be too orthopedic, I'd really would like to train the model on what is each part of the code and how we do things and see how it responds with a more complete perspective that goes beyond context.
The options I've considered for pre-fine-tuning:
- using a service like vast.ai, runpod, gradient or similar
- use Google Collab
- getting a more powerful MacBook, M3max with plenty of RAM
"Using a half-precision FSDP full shard with a 1024 sequence length and a micro batch size of 2 required 63GB of VRAM on each of the eight A100 80 GB GPUs. The training, lasting three epochs, took just 20 minutes. The total cost for the VM was $8.88 per hour, resulting in $3, not including the time for experiments and bug fixes."
I wondered where you could rent cycles on a machine like that, a quick Google found that p4d.24xlarge on AWS is available, while the on-demand cost is $20.1755 per hour, the Spot is only $8.99 (I guess it's gone up?)
Cool to know I could fine-tune for only ~$3.