Systems

AI Systems는 모델이 실제 run, artifact, service, workflow가 되는 지점을 다룹니다. 모델 구조나 loss 자체가 아니라, 학습이 어떻게 기록되고, 추론이 어떤 계약으로 실행되며, 결과가 어떻게 재현 가능한 주장으로 남는지를 봅니다.

이 페이지는 Infra가 아닙니다. Infra는 GPU, Slurm, storage, server operation처럼 실행 환경의 제약을 다루고, Systems는 모델 run과 artifact가 어떤 계약으로 관리되는지를 다룹니다.

AI system note의 핵심은 “무슨 모델을 썼다”가 아니라 어떤 artifact가 어떤 contract로 재현되고 실행되는지입니다. 같은 model weight라도 dataset snapshot, tokenizer, preprocessing, precision, batching, serving policy가 달라지면 다른 system입니다.

System Contract

AI system은 모델 파일 하나가 아니라, 입력에서 artifact와 claim까지 이어지는 실행 계약입니다.

PartMeaningExample
data contractdataset snapshot, split, preprocessing, feature schema
model artifactarchitecture, weights, tokenizer or featurizer
confighyperparameters, precision, context length, batching rule
environmentpackage set, container/module, CUDA/runtime boundary
runtime policytraining loop, inference mode, serving policy, scheduler request
artifactscheckpoint, logs, metrics, generated outputs, report
verificationtests, metrics, rendered outputs, reproducibility evidence

This gives a practical rule:

if data preprocessing, tokenizer, environment, precision, batching, or serving policy changed.

Main Areas

AreaUse forKey notes
Trainingrun state, checkpoint, scaling, failure recoveryTraining run, Checkpoint state, Distributed training
Inferenceprediction-time execution, batch/online mode, output contractInference, Batch and online inference, Inference contract
Servingendpoint, batching, capacity, latency, rolloutModel serving, Inference serving, Inference capacity planning, Latency and throughput
Environmentmodule, container, dependency, runtime driftEnvironment management, Environment modules and containers
Reproducibilityrun record, artifact, versioning, evidence boundaryReproducibility, Run artifact, Model versioning
Operationsmonitoring, deployment, recovery, resource schedulingDeployment strategy, Observability, Failure recovery, Resource scheduling

Route by Object

If you are describingStart hereThen route to
model structure or inductive bias[[ai/architecturesArchitectures]]
objective, optimizer, supervision, transfer[[ai/machine-learningMachine Learning]], [[ai/learning-methods
evaluation metric or benchmark claim[[ai/evaluationEvaluation]]
serving endpoint or batch inferencethis page[[concepts/systems/inference-contract
GPU, Slurm, storage, account, server issue[[infra/indexInfra]]
paper or project implementation[[papers/indexPapers]], [[projects/index

Lifecycle

StageSystem questionEvidence
Data preparation어떤 snapshot과 preprocessing contract를 썼는가?manifest, split, script, checksum
Training어떤 run state가 checkpoint를 만들었는가?config, seed, optimizer, logs
Evaluation어떤 metric과 selection rule로 claim을 만들었는가?eval table, baseline, confidence interval
Inferenceinput/output contract가 무엇인가?schema, example, batch policy
Servinglatency, throughput, capacity boundary는 무엇인가?benchmark, monitoring, rollout record
Reproducibility같은 claim을 다시 재구성할 수 있는가?run artifact, version tag, environment

Boundary With Infra

QuestionRoute
training 또는 inference concept인가?AI Systems, Systems concepts
hardware, GPU, Slurm, storage, server operation이 관련되는가?Infra
run 또는 artifact가 reproducible하다는 public record가 필요한가?Reproducibility, Run record
cluster 또는 shared machine에서 실패했는가?HPC, GPU, Server operations

Boundary Examples

Note topicPut in SystemsPut in Infra
training runcheckpoint contents, config, seed, resume contractSlurm request, GPU allocation, shared filesystem bottleneck
inferenceinput/output schema, batching rule, output validationGPU memory, server process, network, deployment machine
environmentdependency contract and reproducibility metadatamodule path, container runtime issue, driver/runtime mismatch
servinglatency/throughput target, rollout, fallback behaviornode capacity, monitoring setup, firewall, process supervision
artifactwhat proves the claim can be reconstructedwhere artifacts are stored and backed up

Reading Path

  1. Training run으로 run state와 checkpoint 경계를 봅니다.
  2. Inference와 Model serving으로 실행/serving 경계를 봅니다.
  3. Environment management로 dependency와 runtime drift를 정리합니다.
  4. Reproducibility와 Run artifact로 공개 가능한 증거 형식을 맞춥니다.
  5. 실제 GPU/HPC/storage 문제가 되면 Infra로 내려갑니다.

System Artifact Checklist

AI system note는 모델 이름보다 artifact boundary를 먼저 남깁니다.

ArtifactInclude
Dataset snapshotsource, version, split, preprocessing contract
Model checkpointarchitecture, weight, tokenizer/featurizer, config
Training stateoptimizer, scheduler, step, seed, environment
Inference contractinput schema, output schema, batching, limit
Evaluation recordmetric, selection rule, baseline, uncertainty
Runtime environmentpackage version, container/module, hardware class

Claim Pattern

For public writing, reduce a systems claim to:

Examples:

ClaimRequired evidence
training is reproducibledata snapshot, code revision, config, seed, environment, checkpoint, metric record
inference is stableinput schema, output schema, batch policy, error handling, validation examples
serving meets latency targetworkload shape, hardware class, p50/p95/p99, concurrency, timeout policy
checkpoint can resumeoptimizer, scheduler, scaler, RNG, step, data position, artifact integrity
result can be publishedpublic-safe artifact, metric protocol, baseline, sanitization boundary

System Failure Modes

  • checkpoint는 남았지만 tokenizer, featurizer, preprocessing rule이 없습니다.
  • evaluation metric은 있지만 split, selection rule, confidence interval이 없습니다.
  • local inference는 되지만 serving batch/precision/timeout 조건이 다릅니다.
  • hardware 문제를 model quality 문제로 오해합니다.
  • deployment는 성공했지만 public claim을 뒷받침하는 run record가 없습니다.
  • inference example은 있지만 input/output schema와 error contract가 없습니다.
  • serving benchmark는 있지만 request distribution과 concurrency assumption이 없습니다.
  • reproducibility note가 private paths, server names, or unpublished results에 의존합니다.

Checks

  • model, data, code, config, environment, hardware class가 분리되어 기록됐는가?
  • training artifact와 inference artifact가 같은 preprocessing contract를 쓰는가?
  • metric claim과 serving requirement가 서로 다른 evidence를 요구한다는 점을 구분했는가?
  • public note에 private path, server name, account, unpublished result가 들어가지 않았는가?
  • artifact가 “생겼다”와 claim이 “검증됐다”를 구분했는가?
  • Infra incident를 model/system design claim으로 과도하게 일반화하지 않았는가?