gpu_submit_job
Submits Python or notebook scripts as GPU jobs to Kaggle or Google Colab, with provider selection, quota checks, dry-run recommendations, and idempotency to prevent duplicate submissions.
Instructions
Submit a script. Mock data are TEST FIXTURES, not a live account.
provider auto asks the scheduler to choose. A premium GPU needs
scheduler.allow_premium_gpu plus allow_premium. high_mem maps
to Colab --high-mem (CPU/T4/A100/H100/G4; not L4/TPU) and does not
bypass premium guards. Colab needs
timeout_seconds so the CCU budget can be checked. Real jobs also
require mode: real and allow_real_jobs. idempotency_key returns
the existing job instead of submitting again when the spec matches. A
different spec is an invalid-input error. deduplicated is true when
the existing job is returned. An ambiguous submit is not resubmitted.
account pins that account. Quota exhaustion does not rotate to
another account. dry_run recommends a backend and does not submit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| account | No | ||
| dry_run | No | ||
| gpu_type | No | ||
| high_mem | No | ||
| provider | No | auto | |
| gpu_count | No | ||
| script_path | Yes | ||
| allow_premium | No | ||
| idempotency_key | No | ||
| timeout_seconds | No | ||
| min_gpu_memory_gb_per_gpu | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||