Job Commands
Manage your ML training jobs with thetp job
command group.
tp job init
Create a new job configuration file.- Creates a
tp.config.toml
file in the current directory - If the file exists, creates
tp.config1.toml
,tp.config2.toml
, etc. - Prompts for a custom name (e.g., entering “baseline” creates
tp.baseline.toml
) - Use
--no-input
to skip prompts and use default names
tp job push
Submit a job to run on TensorPool.tp_config_path
- Path to yourtp.[config].toml
configuration file
- Valid TOML configuration file with
commands
,instance_type
,outputs
, andignore
fields - SSH key pair at
~/.ssh/id_ed25519
and~/.ssh/id_ed25519.pub
tp job list
List all your jobs.tp job ls
Options:
--org
,--organization
- List all jobs in your organization (not just yours)
tp job info
Get detailed information about a specific job.job_id
- The ID of the job to inspect
tp job listen
Stream real-time logs from a running job.job_id
- The ID of the job to monitor
- Continuously streams stdout/stderr from the job
- Updates in real-time as the job runs
- Press Ctrl+C to stop listening (job continues running)
tp job pull
Download output files from a completed job.job_id
- The ID of the job to pull outputs from
--force
- Overwrite existing local files without prompting
- Downloads files specified in the
outputs
configuration - By default, skips files that already exist locally
- Requires SSH keys (
~/.ssh/id_ed25519
and~/.ssh/id_ed25519.pub
)
tp job cancel
Cancel a running or queued job.job_id
- The ID of the job to cancel
--no-input
- Skip confirmation prompt
- Prompts for confirmation before canceling (unless
--no-input
is used) - Terminates running jobs immediately
- Removes queued jobs from the queue
Related Commands
Jobs require SSH authentication. Manage your SSH keys with:tp ssh key create
- Register an SSH public keytp ssh key list
- List your SSH keystp ssh key destroy
- Remove an SSH key
Next Steps
- Learn about job configuration
- See cluster commands
- Explore SSH commands