Name column of the output is the value you pass to --affinity cluster=<cluster_name> when starting a training job, an interactive debug-ssh session, or an inference endpoint.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
List the compute clusters available to your organization
Name column of the output is the value you pass to --affinity cluster=<cluster_name> when starting a training job, an interactive debug-ssh session, or an inference endpoint.
flexai cluster list [flags]
| Flag | Short | Type | Description |
|---|---|---|---|
--help | -h | boolean | Displays this help page. |
--json | -j | boolean | Displays cluster information in JSON format instead of the default ASCII table. |
| Column | Description |
|---|---|
Name | The cluster’s identifier. Use this value with --affinity cluster=<Name>. |
Status | The current operational status of the cluster. |
Default | true if this is the cluster FlexAI selects when no --affinity is provided and the requested --device-arch matches. |
Shared | true if the cluster is shared across multiple organizations; false if it is dedicated to your organization. |
flexai cluster list
flexai cluster list --json
--affinityflexai training run my-training-job \
--repository-url https://github.com/flexaihq/nanoGPT/ \
--affinity cluster=<cluster_name_from_the_list_above> \
--accels 4 -- train.py
Was this page helpful?