Skip to content

Compare the two ways to split a model

Enterprise

You’ll get: real numbers for one model on your own Macs, split evenly and split by memory. Then you keep the split that serves your apps best.

A split evenly is usually faster. A split by memory can use more of the Macs’ memory, for a longer context or more conversations at once. This recipe shows what the difference is on your Macs. To learn how the two work, see How a model is split across Macs.

You need:

  • A Cluster with two or more Macs, such as MS1 and MS2. Check cluster says Everything works.
  • A model too big for one Mac that fits on the two Macs either way. Each Mac needs room for half of it.
  • No apps sending requests to the cluster during the tests. A test pauses other requests.
  1. Open Cluster and click Load a model. Pick the model.
  2. Click Choose Macs myself, and turn on MS1 and MS2.
  3. Under How to split it, pick Evenly. Set Context and Conversations at once to what your apps need. Write the values down.
  4. Click Load, and wait until the model is ready.
  5. Open Benchmarks and click the Cluster tab. Click Run benchmark, pick Capacity check, and click Continue. Set Response targets to what your apps need, such as a Minimum reply speed of 15 tokens/sec. Click Start benchmark.
  6. When the test is done, write down the result: how many parallel requests met the targets, and the reply speed.
  7. Back on Cluster, open the model’s menu and click Edit. Click Choose Macs myself, keep MS1 and MS2 on, and pick By memory. Keep the same Context and Conversations at once.
  8. Click Apply, then Apply again to reload the model. It stops answering until it loads again.
  9. Run the same Capacity check with the same Response targets, and write down the result.

If Nexus says This split does not fit on these Macs in step 3 or 7, the model can’t run that way on these Macs. Then it has only one choice, and Automatic picks it.

Click the running model on the Overview tab. Its header says Split by memory across MS1, MS2. You have two results for the same model, Macs and setup:

  • The split with more parallel requests that met the targets serves more apps at once.
  • The split with the higher reply speed answers each request faster.

To go back to the split evenly, edit the model again and pick Evenly.

If a split by memory leaves free memory on the Macs, try a longer Context or more Conversations at once with it. That is where it can do more than a split evenly. For deeper tests, such as Compare cluster sizes, see Benchmarks.