Repository navigation
Conversation
The current setup does not allow for very precise control of how many layers to put on the local GPUs vs the remote RPC connected server(s). This adds an additional --rpc-layers flag (-nrl) which allows the user to explicitly set the number of layers to offload to RPC end.
|
In which cases you would need this instead of the using existing |
This lets you specify layers without having to think about proportions, which is a lot simpler than |
You don't need to think about the proportions when using 33 layers are being offloaded, and they are divided between 3 devices, (3 layers for the first RPC device, 20 for the first CUDA device, and 10 for the last CUDA device). OT: The only thing I am missing is a tensor-split for the draft model. |
|
Got it. The name should've been "layer-split" instead. It sounds like some low level voodoo shit so I never touched it. :) |
|
There are a lot of undocumented things on llama.cpp. I learned many tricks reading responses to issues, to merge requests, and trying things out. As an example, the recent device order merge request is another magic trick that makes llama.cpp so much more flexible when using RPC. |
The current setup does not allow for very precise control of how many layers to put on the local GPUs vs the remote RPC connected server(s). This adds an additional
--rpc-layersflag (-nrl) which allows the user to explicitly set the number of layers to offload to RPC end.