Documentation

link

lms link set-preferred-device

Set the preferred device for model resolution on LM Link.

The lms link set-preferred-device command sets which device on the link is used when a model is available on multiple connected devices.

Set a preferred device

Run the command without arguments to pick from an interactive list of connected devices:

lms link set-preferred-device

Or pass the device identifier directly to skip the prompt:

lms link set-preferred-device <deviceIdentifier>

Device identifiers are listed in the output of lms link status.

See Using LM Link with the REST API for more on how preferred devices affect model routing.

Learn more

See the LM Link documentation for a full overview of LM Link.

This page's source is available on GitHub