CLI Command Reference Manual
This document provides a comprehensive command reference for the pm-compute command-line utility.
1. Global Option
You can run any command under a different user session than the active session by prepending the global --user option:
2. Configuration & Status Commands
config set
Configure CLI settings like the central API endpoint.
--api-url: The HTTP/HTTPS address of the Controller (e.g.,https://api.computeai.local).--insecure: Skip SSL/TLS certificate validation (use only in self-signed laboratory clusters).
config view
Print the current active API URL configuration.
health
Test if the API Controller is reachable and operational.
version
Print the active CLI tool version.
3. Account & Session Authentication Commands
signup
Create a new user account.
login
Authenticate with the Controller and save session tokens.
logout
Log out and invalidate tokens for the current terminal.
whoami
Show active username and security role.
sessions
List all logged-in usernames on the local machine.
switch
Switch to another logged-in user profile.
4. Dataset & File Workspace Commands
file upload
Upload files (data, scripts, weights) into your workspace.
--type: File category. Supported:dataset(default),code,model,checkpoint.--extract: Boolean flag. If specified, automatically extracts zip or tar archives in the workspace after uploading.
file list
List uploaded files.
--type: Filter list by file category.
file download
Download a workspace file by its Database File ID.
file delete
Delete a file by File ID.
file browse
Browse workspace folder contents recursively.
file download-path
Download a workspace file by its relative path.
5. Job & Training Execution Commands
train
Submit a Python training script directly from your workstation to run on a worker node. The CLI automatically reads your local Python file and sends it in the job submission payload (no prior file upload step is required).
pm-compute train <SCRIPT_PATH> --framework <FRAMEWORK> [--resource <RESOURCE>] --name <RUN_NAME> [--distributed] [--num-nodes <N>] [--checkpoint-interval <EPOCHS>] [--follow]
<SCRIPT_PATH>: Local path to the Python training script on your workstation (e.g../train.py).--framework: Target framework. Options:pytorchortensorflow(required).--resource: Compute resource type. Options:cpuorgpu(defaultcpu).--name: Display name for the training job.--distributed: Enable distributed multi-node execution across the cluster.--num-nodes: Number of worker nodes to allocate (required when--distributedis specified).--checkpoint-interval: Epoch frequency to automatically detect and register saved checkpoints (default5).--follow,-f: Automatically stream stdout/stderr logs in the terminal until completion.
jobs
List submitted training runs.
--status: Filter by status:submitted,running,completed,failed, orcancelled.
status
Print full metadata details, metrics, and state of a training run.
--metrics: Include detailed epoch-by-epoch evaluation metric history.
logs
Stream training job terminal stdout/stderr logs.
checkpoints
List saved checkpoint weights for a training job.
resume
Relaunch a failed or cancelled training job from its last saved checkpoint. For details on how the platform manages checkpoints and injects resume epoch environment variables, see the Runtime Variables & Contracts Guide.
cancel
Stop execution of a running training job.
delete
Delete a training job record.
6. Model serving & Deployment Commands
upload-model
Register a model weights file in the Model Registry.
pm-compute upload-model <FILEPATH> --name <MODEL_NAME> --version <VERSION> --input-shape <INPUT_SHAPE> --output-shape <OUTPUT_SHAPE> [--input-dtype <DTYPE>] [--output-dtype <DTYPE>] [--input-names <NAMES>] [--output-names <NAMES>]
<FILEPATH>: Local weights file path.--name: Target model name.--version: Version integer (e.g.1).--input-shape: JSON array representing input shape (e.g."[[-1, 1000]]").--output-shape: JSON array representing output shape (e.g."[[-1, 2]]").--input-dtype: JSON array of data types (default["FP32"]).--output-dtype: JSON array of data types (default["FP32"]).
models
List registered models.
delete-model
Delete a registered model from registry by name and version.
deploy
Deploy a registered model as a serving endpoint.
deployments
List serving deployments and endpoint configurations.
deployment-status
Show detailed live status, configurations, and health for a deployment.
start-deployment
Re-activate a stopped serving deployment.
stop-deployment
Pause serving for a deployment to release resources.
delete-deployment
Tear down and delete a serving deployment.
keys create
Create an inference authentication key for a deployment.
keys list
List active inference keys for a deployment.
keys revoke
Revoke an API inference key.
7. Cluster Monitoring Commands
monitoring
Print resource history metrics.
dashboard
Display active jobs, resource limits, and cluster success metrics in a summary console view.
8. Administrative Commands (Admin Only)
These commands are restricted to users with admin security roles. For administrative setup guides, onboarding policies, and user quota details, see the Platform Administration Guide.
update-slots
Update the maximum concurrent job slots/capacity of a worker resource node (admin only).
<RESOURCE_ID>: UUID of the target worker resource node.<SLOTS>: Positive integer representing new maximum concurrent jobs.
remove-resource
Deregister a worker node.
--soft: Temporarily disable the worker without removing it.--force: Force remove even if jobs are active.
resources
List active worker nodes, resource slots, and CPU/GPU details.
user list
List platform user accounts and limits.
user create
Create a new platform user with limits.
pm-compute user create <USERNAME> [--password <PASS>] [--email <EMAIL>] [--role <user/admin>] [--max-jobs <LIMIT>] [--max-gpu <LIMIT>]
user password
Reset password for a user.
user delete
Delete a user account.
mlflow config
Show the configuration of the active Experiment Tracking server.
mlflow set
Configure active Experiment Tracking server parameters.
mlflow test
Test the connection between the Controller and the Experiment Tracking server.