Prerequisites
Before you begin, ensure you have:- A valid Scale account with SGP access
- Your API key and account ID:
- A Docker image pushed to the workspace registry (see Custom Images)
Submit a Job
Jobs are submitted toPOST /v1/{backend}/jobs. The {backend} is one of vertex-ai, sagemaker, or azure-ml, and each install enables only the backends configured for its cloud. The job_config structure mirrors each cloud’s native job API. Every storage_mounts location must be storage your install allows; see Storage Mounts.
- Vertex AI
- SageMaker
- Azure ML
Response
worker_pool_specs is an array; add more pools for distributed training. Train resolves only the first pool’s image_uri from the workspace registry; other pools’ image_uri values go to Vertex AI unchanged. command and args are separate arrays.Job Response
All backends return the same job object shape:Current job state. Transitions through
PENDING → IN_PROGRESS → COMPLETED / FAILED / CANCELED / EXPIRED. A cancel request moves an active job to CANCELING until the backend reports a final state.The cloud provider’s native job identifier. Shape varies by backend:
job_name for Vertex AI and Azure ML, training_job_name for SageMaker.Check Status
Other Endpoints
List jobs:202 with the job in CANCELING. Cancelling a job that is already CANCELING or CANCELED returns it unchanged. Returns 409 if the job already ended as COMPLETED, FAILED, or EXPIRED.
List a job’s lifecycle events:
Accessing Mounts in Your Container
On Vertex AI and Azure ML, mounted storage is available via environment variables:Next Steps
- Custom Images: Build and push your own training containers
- Storage Mounts: Mount multiple datasets and configure output paths