Remix.run Logo
i386 5 hours ago

I’m one of the contributors to Mesh LLM and happy to answer any questions. I authored the skippy engine that allows you to split large models across nodes.

whs 35 minutes ago | parent | next [-]

I wonder how security is done in this engine, since it's accepting input from anyone. llama.cpp's RPC layer seems to says that you shouldn't run it in public (I assume because it is lower level and may result in RCE on your GPU)

Lerc 3 hours ago | parent | prev | next [-]

I have never really delved into kv cache implementation, do they run effectively separate caches per layer?

If so I can see it all dividing nicely, computation and data size wise and the only slowdown would be in search layer waiting for it's turn. If you pipelined it you could run multiple queries.

Is anyone doing best-of-n with a n stage pipeline running each query offset by one?

i386 2 hours ago | parent [-]

Each stage has its own KV for the layers it hosts. You are on the money there, when one stage is waiting it's free for more parallelism. I am planning on exploiting this for more token verification through ngram spec decoding.

zmmmmm an hour ago | parent | prev | next [-]

The obvious burning question is how performance looks over different network conditions on some standard models. Have you done much benchmarking? Is it mainly latency affected or is overall throughput less than the capacity of the GPUs due to being distributed?

iotapi322 4 hours ago | parent | prev | next [-]

This is super impressive, We have a lab with lots of different epycs and different models - to bring them together this way is amazing. Well done!

i386 4 hours ago | parent [-]

Thank you! AMD is a weak spot in our testing right now. If you’re willing to contribute or let us borrow some compute time, drop in on the Discord.

Creamsicle47 3 hours ago | parent | prev | next [-]

Hey, this is a super cool project. It's great to see a lot of the IPFS stuff resurfacing again.

A few questions:

1.) How does this handle privacy? If you're distributing compute this way then all actors in the compute graph will also know the sequence being computed.

2.) Any safeguards against malicious actors poisoning model activations?

i386 2 hours ago | parent [-]

To be honest, both are very tough problems we don't have a good answer for yet. If that is something that concerns you, look into building a private mesh with trusted peers.

DerivativeBS 3 hours ago | parent | prev | next [-]

Curious about: does it have fault tolerance if one of the machines goes down mid-inference? Can it dynamically reroute, or does it just retry?

i386 3 hours ago | parent [-]

It can dynamically route. If a machine drops out of split, the topology is recalculated and the request is automatically retried.

5 hours ago | parent | prev [-]
[deleted]