baseten train push creates the project from the TrainingProject in your config.
List projects
- Baseten CLI
- Training API
To list your training projects:The command lists each project you can access with its ID, name, team, latest job, latest job status, and creation time.
List jobs
- Baseten CLI
- Training API
To list training jobs:The command lists every job in the projects you can access, newest first, with each job’s ID, project, name, status, instance type, node count, and creation time.To filter the list:
--project takes a project name or ID. --status takes one or more of pending, created, deploying, deploy-failed, running, completed, failed, stopped, or preempted. Use either flag, or both.Check job status
- Baseten CLI
- Training API
To check a job’s status:Run the following command, replacing The command prints one field per line, including the job’s status, project ID, availability, queue priority, and job-level checkpoint sync status:The command prints the state as a quoted string:
<job_id> with the job ID:Availability is standard for capacity that isn’t preempted, or spot for interruptible capacity that can be preempted; see Spot capacity. Checkpoints is the job’s overall checkpoint sync status, not the SYNC value of an individual checkpoint in the checkpoint list.To print only the job’s status:Stream job logs
- Baseten CLI
- Training API
To stream a job’s logs:Run the following command, replacing The command streams new log lines until the job stops producing them or you press Ctrl-C. Without
<job_id> with the job ID:--tail, it prints the last 30 minutes of logs.To print a different log window:--since takes a duration such as 30m or 1h30m, or a number of days such as 3d, up to 7d.View job metrics
- Baseten CLI
- Training API
To view a job’s resource metrics:Run the following command, replacing The table lists each metric’s value per node, with the time it was measured:To sample a different window:
<job_id> with the job ID:Next steps
- Stop or recreate a job: End a running job, or run its configuration again.
- Delete a job or project: Remove jobs and projects you no longer need.
- Job lifecycle: What each job state means.