r/unsloth • u/xhacks37 • 5d ago
Discussion Cluster feature request
I love unsloth studio on my laptop with a 5070 8gb and 32gb ram and on my ai server with a gtx 1070 ti 8gn and 1080 8gb with 18 gb ram
I really want to see a cluster feature to be implemented so I can expand when im home.
4
Upvotes
2
u/Sea_Guarantee6806 4d ago edited 4d ago
As far as I know this request is already on the radar of the devs: https://github.com/unslothai/unsloth/pull/18278
1
u/TrulyRough 5d ago
I'd be just as eager to link those two together, imagine the chaos your franken-server could cook up.
1
u/dinnerforbreakfast1 5d ago
Yeah there's actually a way to do this today. Superfluid connects your machines into one local cluster and spreads requests across them, so your laptop and AI server act as one system serving the LLM
1
u/igotanewaccount 5d ago
Mainline llama.cpp already does this.
On the remote GPU machine
rpc-server -H 0.0.0.0 -p 50052
On the main machine
llama-server -hf <model> -ngl 99 --rpc 192.168.1.50:50052
1
u/NefariousnessOpening 3d ago
There’s are several ways to do this and the results vary. The methods are different depending on your use case too
If you want to run one model on both of those machines that would be too big for either one alone, you can split one model across them with no wires but you need to have a sense of network protocols to get the performance from WAN or LAN. The devices can be in different locations
You can also use different models in a mesh network to run parallel work or swap in and out by the needs of the tasks.
Many small models can be leveraged as a swarm which can be super fast while vastly more capable than a single frontier model.
Understanding which to use when and how to deploy the different approaches is crucial and the more challenging aspect. I won’t discount unsloth given their capabilities on display in mlops and inference type systems, but I’d guess they will be using one of the existing systems or adapting one. Network engineering is a whole different game and the job of both domains is a bit of a challenge. Ask me how I know