Share a GPU Between Models
This guide explains how to deploy a model that shares a GPU with the other models of a group, and how to change the GPU memory share of a model that already runs. The appliance names the group, so you never type a group name. The console calls each GPU an accelerator. For how groups, shares, and the semantic router fit together, refer to GPU Sharing.
Prerequisites
-
A running PaletteAI Inference Launchpad appliance, with the admin console reachable and operator access.
-
A model in the appliance catalog. To place a model in the catalog, refer to Upload a Model.
-
(Change a share only) A model that already runs on the appliance.
Deploy a Model That Shares a GPU
-
From the left main menu, select Cluster, and then select the Models tab.
-
Select Deploy Model. The Deploy a model wizard opens on the Model and placement step.
-
Open the Model drop-down menu and select the model.
-
In Nodes, select the nodes that run the model. When the appliance already runs a sharing group, the wizard starts with GPU sharing on, so you can also select a node whose GPUs are all in use.
-
Select Next. The Serving step opens.
-
(Optional) Change the engine's serving settings, such as Extra arguments and Environment variables.
-
Select Next. The GPU sharing step opens.
-
Confirm that the GPU sharing toggle is on. If it is off, turn it on. The step states the group that the model joins in one line, such as
This model joins text-router. Inference Launchpad runs one mode, and this is it.When no group runs and the model's recipe names none, the line readsInference Launchpad names the group after this model. -
In the Shared GPU memory panel, enter the model's share in its GPU memory share field. The share is a percentage of one GPU's memory.
warningThe share must be large enough to hold the model weights, the KV cache, and the engine's compute graphs. If the share is too small to run the model, the deploy can fail.
-
Review the total that the panel reports under the bar. The panel reads
The shares add up to <total> of one accelerator, which fits.when the plan fits. In the message,<total>is the sum of the shares, in percent. If the panel reports a problem instead, refer to Resolve a Refused Sharing Plan. -
(Optional) To make room for the new model, lower the share of another member of the group in its GPU memory share field. The Semantic Router row is marked not editable and keeps its share.
-
Select Deploy. If the deploy changes the share of another model, a confirmation names each model that restarts. Select Deploy again to confirm.
The model appears on the Models tab, and its Group column names the group that it joined. The console shows a
message such as glm-5.3-shared-with-vision is being deployed. Its state shows when it can serve.
If the deploy starts a new group, the semantic router moves into it, and its engine restarts. The appliance routes the requests that arrive during the restart without semantic classification.
Verify the Shared Deploy
-
On the Models tab, confirm that the model's Group column names the group, such as
text-router. -
Wait until the model's health chip reads
N/N healthy. -
Select the Nodes tab. Confirm that the row of each node that runs the model names the group and lists the model with its share. The row also reports the node's GPU memory in GB and the memory that is left, such as
2 of 2 shareable · 180 GB free (94%).
Change a Running Model's GPU Memory Share
-
From the left main menu, select Cluster, and then select the Models tab.
-
On the model's row, open the three-dot menu and select GPU sharing. The GPU sharing step opens on the values that the model runs with today.
-
In the Shared GPU memory panel, change the model's share in its GPU memory share field. You can also change the share of any other member, except the Semantic Router, which is marked not editable. Save becomes available after you change a value.
-
Review the total that the panel reports. If the panel reports a problem, refer to Resolve a Refused Sharing Plan.
-
Select Save. A confirmation names each model that restarts. Select Save again to confirm. The model restarts with its new share, and so does any other member whose share you changed.
To change the model's nodes, GPU width, or serving settings instead, select Serving configuration from the same three-dot menu. The nodes and the GPU width open on the placement that the model already has, so they stay selected even on a node that has no free GPU.
Resolve a Refused Sharing Plan
When the panel refuses a plan, Deploy and Save are unavailable, and the panel states the problem. Use the following table to fix it.
| What the panel reports | What to do |
|---|---|
The shares add up to more than the accelerator holds. | Lower the share of the new model, or of another member, until the total is 100 percent or less. |
A model reserves no share of the accelerator. | Enter a share greater than 0 for that model. |
A model has no explicit share, so the planned total cannot include it. | Enter a share for every member of the group. |
A total of more than 90 percent shows a warning on the Free row but does not block Deploy or Save. To give the engines room for their own overhead, lower a share until the total is 90 percent or less.
Next Steps
To learn how the appliance names the group and why the semantic router counts in the total, refer to GPU Sharing. To deploy a model that takes whole GPUs, refer to Deploy a Model. To turn the semantic router off and free its share, refer to Configure Semantic Routing.