role:platform

ML platform

Infrastructure and paved roads that let teams train, ship, observe, and govern models safely.

22

Lessons

Formal explanations, examples, simulations, and checkpoints.

Engineering foundations

From notebook to reproducible run

A reproducible result is a result whose complete input identity can be replayed.

Engineering foundations

Contracts before models

Contracts keep bad meaning from becoming good-looking features.

Engineering foundations

Training code is product code

The shipped model is the reloaded artifact, not the object still living in the trainer.

Engineering foundations

Containers and configuration without surprises

A container is reproducible only when its image, inputs, configuration, and outputs all have explicit identities.

Engineering foundations

Observable, idempotent, failure-safe workflows

A safe workflow makes commitment atomic and repetition uneventful.

Engineering foundations

Read a research paper as an executable specification

Turn a research paper into a testable claim map, implementation contract, and prioritized reading plan before writing code.

Engineering foundations

Reproduce, validate, and productionize a paper

Implement a paper from baseline to novel component, diagnose reproduction gaps, and adapt it for production without silently changing its claim.

Data & feature foundations

Data contracts, ownership, and lineage

A trustworthy dataset explains meaning, accountability, and ancestry—not just columns.

Data & feature foundations

Point-in-time-correct features

Point-in-time correctness preserves the knowledge boundary of the original decision.

Data & feature foundations

Feature transformations that survive production

Ship the fitted representation contract with the model, in the same order and with the same edge cases.

Data & feature foundations

Batch, stream, and training-serving parity

Parity starts with one temporal meaning, then proves every execution path implements it.

Data & feature foundations

Labels, snapshots, and backfills

A label snapshot records what was knowable by a date, not the database’s latest opinion.

Distributed & fault-tolerant training

Choose data, sharded, tensor, or pipeline parallelism

Parallelize the resource that actually exceeds its budget, and stop when the added communication costs more than the split saves.

Distributed & fault-tolerant training

DDP under the hood

DDP is replicated local training held together by a strict collective contract: same parameters, matched backward work, partitioned data, averaged gradients.

Distributed & fault-tolerant training

FSDP and ZeRO-style sharding

Sharding reduces steady replicated state, but wrap boundaries decide the temporary memory and communication you pay to reconstruct it.

Distributed & fault-tolerant training

Distributed checkpoints and fault-tolerant restarts

Checkpoint correctness is next-step equivalence, protected by complete state, atomic publication, and rehearsed recovery.

Distributed & fault-tolerant training

Hangs, stragglers, and scaling efficiency

Distributed speed is synchronized speed: diagnose the first divergence, measure the slowest rank, and scale against quality and cost—not worker count.

Production data & ML platforms

Data contracts, ownership, lineage, and quality

A data contract is a shared operational promise about meaning, time, quality, and response—not a list of column types.

Production data & ML platforms

Lakehouse, batch, streaming, and event time

Reliable batch and streaming systems agree on event identity and semantics while staying honest about when information became knowable.

Production data & ML platforms

Feature platforms and point-in-time correctness

Point-in-time correctness reconstructs what the system knew, not what the database knows now.

Production data & ML platforms

Orchestration, metadata, experiments, and registries

Orchestration moves work; metadata and registry gates turn that work into reproducible, promotable evidence.

Production data & ML platforms

Paved roads, multi-tenancy, and cost boundaries

A good platform standardizes safety and evidence while keeping workload-specific choices visible and reversible.