kosa8 job
Run hosted RL jobs on kosa8 Cloud: tasks, a solver and a sealed grader
A job runs every task of a JSONL file on kosa8 Cloud, server-side: each task gets a sandbox, the solver command runs there with the task's input, and a sealed copy (no network, hidden grader files) scores it. Every rollout is recorded on the job's RL run (kosa8 cloud rl runs get RUN); infra failures are retried, then masked rather than scored 0. Nothing runs on this machine: close it and the job goes on.
kosa8 job submit tasks.jsonl --template python --solver "python solve.py" \ --grader "pytest -q /hidden/test.py" --grader-file tests/test.py:/hidden/test.py --concurrency 64 kosa8 job submit tasks.jsonl … --estimate # sandbox-hours and cost, nothing run kosa8 job watch job_… kosa8 job ls kosa8 job cancel job_…
Signs in as kosa8 cloud does (kosa8 login, or KOSA8_API_KEY).
Guide: https://docs.kosa8.com/guides/cloud-jobs/
Also known as: jobs
Options#
| Flag | Type | What it does | Default |
|---|---|---|---|
--api | string | kosa8 Cloud API address (default: as kosa8 cloud) | — |
Example#
kosa8 job submit tasks.jsonl --template python --solver ./solve.sh --grader ./grade.sh kosa8 job ls kosa8 job watch job_…
Subcommands#
kosa8 job cancelCancel a job: no new tasks start, and its sandboxes are drained
kosa8 job getShow a job: its status, progress, failure classes, reward and cost
kosa8 job lsList jobs, newest first
kosa8 job submitSubmit a job: run every task's solver and grade it sealed, server-side
kosa8 job watchFollow a job's progress on one live line until it ends