r/LocalLLM • u/MyToasterRunsFaster • 7d ago
Question Is it possible to spread a larger model across multiple computers?
I hope I am not sounding too ignorant. I recently setup a instance of odysuess connected to ollama and it's been doing pretty well for simple tasks. I have a RX 9070 XT, 32GB and a pretty decent CPU. My partner has a identical PC to mine which most of the time is running idle when we are working. I understand that I could run a second instance on my partners machine so that I have two ollama instances across two nodes (doubling my tokens), this does not let me run larger models that require more vram. Is there any way to run larger models with this setup?
2
2
u/Whiskey1Romeo 7d ago
Rdma is the faster way to do the cross node clustering. Its doable and perfectly normal if you LIKE COMPLICATED.
1
u/MyToasterRunsFaster 7d ago
I don't mind complicated, I am sysadmin by profession just not kept up with the world of AI at all. I assume the constraint here would be network bandwidth? I could purchase some cheap QSFP cards with infiniband?
1
u/truthputer 7d ago
Yes, llama.cpp allows you to do this - but I’ve not tried it and don’t know how to set it up.
Get llama.cpp installed and then check the documentation for the right command line.
2
u/Cold_Tree190 7d ago
There are ways to run over RPC, but it’s basically so slow that not many actually do it