Runpod integration: make GPU jobs bounded and recoverable
A GPU endpoint needs explicit model versions, resource limits, job identity, storage rules, and retry semantics.
- Pin container image, model checksum, GPU class, and dependencies.
- Give every request an idempotent job ID.
- Bound queue, execution, input, and output sizes.
- Persist only artifacts needed after worker termination.
- Separate secrets from images and logs.
Test cold start, capacity shortage, worker eviction, timeout after completion, malformed output, and region failure. Measure total latency and cost, not only inference time. Verify artifact deletion and access controls.
1 comment