Configuring Queues with the CLI

This topic describes how to configure queues using the MissingLink CLI.

Let's assume your organization has two teams. Team One requires strong GPUs for their jobs, while Team Two can suffice with weaker CPUs.

To set up resources to meet these requirements, you would perform the following steps:

Create the queues:

mlresourcesqueue--createTeamOnemlresourcesqueue--createTeamTwo

Assign pre-existing resource groups to the new queues:

mlresourcesgroup"Strong GPUs"--setqueueTeamOne# "Strong GPUs" is displayed in the dashboard for this resource groupmlresourcesgroup"Weak CPUs"--setqueueTeamTwo# "Weak CPUs" is displayed for this resource group

Now, run jobs using ml run xp, specifying in which queues to run them:

mlrunxp--queueTeamOnemlrunxp--queueTeamTwo

For more information, see the following commands in the CLI reference: