What problem does it solve?
qzcli solves the problem of manually managing GPU compute jobs on the Qizhi (启智) platform by providing a kubectl-style workflow for logging in, discovering resources, submitting jobs, and monitoring or stopping them.
Core Features & Use Cases
- Authenticate and manage sessions: Log in interactively or via arguments/ENV/.env and handle cookie refresh for reliable access.
- Discover compute capacity: Cache and refresh workspaces and compute groups, then query available nodes with filters like free-node count.
- Submit, monitor, and control jobs: Create interactive or non-interactive GPU workloads, submit batches from config, and manage job lifecycle with status/watch/stop.
- Use Cases: Deploy distributed training by selecting workspace → project → compute group → spec; run checkpoint/step sweeps using batch matrices; stop or audit running jobs across workspaces.
Quick Start
Use qzcli to submit and then watch your training job by running: "Log in, discover resources, create a job named 'my-training-job' that runs 'bash train.sh' on workspace 'My Workspace' using compute group 'My Compute Group' with image 'your.registry/team/image:tag' and 4 instances, then list and watch the job until it finishes."