Design a Managed Fine-Tuning Job Service on Shared GPUs

Last updated: November 29, 2026

Quick Overview

Design the service behind a fine-tuning API: customers upload datasets, launch LoRA or full fine-tuning jobs, watch live metrics, and get a deployable model, while jobs share a GPU fleet and survive node failures and preemption.

Together AI
System Design
Software Engineer
Together AI
November 29, 2026
Software Engineer
System Design Round
System Design
Medium

0

0

0 solved


Design the service behind a fine-tuning API: customers upload datasets, launch LoRA or full fine-tuning jobs, watch live metrics, and get a deployable model, while jobs share a GPU fleet and survive node failures and preemption.

Together AI's fine-tuning product lets customers train LoRA and full fine-tunes on open models, shows cost and ETA estimates, and deploys the result to inference. The interviewer checks job lifecycle design, scheduling on scarce GPUs, checkpointing for fault tolerance, and the handoff from training to serving.

What the Interviewer Expects
  • Models the job lifecycle as an explicit state machine
  • Validates and tokenizes datasets before any GPU time is spent
  • Schedules jobs by GPU shape with quotas and priorities
  • Checkpoints regularly and resumes after failure or preemption
  • Streams metrics and produces cost and ETA estimates
  • Registers outputs so they can be deployed to inference
Key Topics to Cover
job scheduling
checkpointing
state machines
GPU fleet
fine-tuning pipeline
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • How would you estimate cost and ETA before the job starts?
  • How do you keep a customer's data and weights isolated from other tenants?
  • How would you handle a job that keeps failing on the same step?
  • What changes for very large models that need multiple nodes?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements

Functional: upload a JSONL dataset, choose base model, method (LoRA or full), and hyperparameters; start, cancel and inspect jobs; see loss curves; download or deploy the result. Non-functional: jobs ...

High-Level Design

API service writes job records to a relational DB. Files service stores datasets in object storage with per-tenant encryption keys. Validation worker (CPU) checks format, counts tokens, ap...


Submit Your Answer
Markdown supported

Related Questions