AI inference and GPU service track
From your Crucible Linux workspace, inspect the plan for the included evaluation: This default path does not call a model. Review the dataset's normal, injection and uncertainty cases.
Prerequisites: the durable-job, model-boundary and evaluation chapters; an approved model/license; a known accelerator/runtime compatibility matrix; a fixed evaluation set. Environment/status: the Course 0 workspace's synthetic adapter tests run without a real model; GPU and real-provider operations are target-specific recipes. Outcome: measured quality and resource behavior under a stated workload, with controlled access, queueing, cost and recovery.
Map the lifecycle
| Phase | AI/GPU decision and exit evidence |
|---|---|
| 1 Framework | Record model identity/license, serving engine, tokenizer/template and dataset provenance. |
| 2 Beginner | Explain inference vs training, tokens/context, model output uncertainty and GPU memory. |
| 3 Architecture | Define quality rubric, latency/throughput goals, data policy, concurrency, cost ceiling and fallback. |
| 4 Provision | Confirm accelerator, driver/runtime/framework compatibility, disk/cache and model artifact access. |
| 5 Foundation | Separate model/download/provider credentials; restrict endpoint and model access; bound untrusted input. |
| 6 Service | Pin model/revision, configure context/output limits, queue admission, deadlines and structured outputs. |
| 7 Go live | Validate access and full job completion; evaluate the actual deployed model, not a different local configuration. |
| 8 Operate | Observe queue age, first-token/total latency, generation throughput, errors, GPU memory and spending. |
| 9 Change | Compare model/quantization/batch/context changes on the same dataset and workload before promotion. |
| 10 Recover | Rebuild engine/model/configuration, reconcile uncertain calls and replay only safe durable work. |
| 11 Retire | Drain jobs, revoke provider/download identities, remove endpoints and review cached models/private prompts. |
| 12 Assess | Demonstrate quality/resource tradeoffs, overload containment and one failed model rollout. |
Evaluate the contract before renting hardware
From your Crucible Linux workspace, inspect the plan for the included evaluation:
This default path does not call a model. Review the dataset's normal, injection and uncertainty cases. Define what counts as a correct answer before measuring an engine. Keyword matches are a diagnostic heuristic; a human rubric or a validated task-specific evaluator is still needed. Real execution using the evaluation tool's explicit flag requires configured endpoint, authorization and spending scope.
The reference adapter accepts only an operator-fixed destination, limits input/output and call duration, validates a narrow JSON schema and reserves attempted-call units. Those controls do not guarantee factual correctness or accurate dollars charged. Model/server idempotency and provider-side cancellation may differ; reconcile unknown completion before replaying consequential external actions.
For a local GPU host, start with these read-only observations where NVIDIA tooling applies:
Record the actual GPU, memory and driver. A successful driver query does not prove a particular model/engine will run. Check that engine's supported hardware and framework combination before installing packages. Use a private lab endpoint and synthetic input first. The [vLLM online serving documentation](https://docs.vllm.ai/en/latest/serving/online_serving/) is the source for its supported serving interface; command options must match the version you pin.
A model's weight memory is only part of capacity. Include runtime overhead, activations and KV cache under the chosen context/concurrency. Measure one request, then bounded batches and controlled concurrency. Record cold/warm behavior, first-token latency, total latency, generated tokens, errors and memory peaks. A throughput number without workload shape and quality results is not a deployment decision.
Fault, recovery and retirement
In a disposable service, submit a prompt exceeding the agreed context and verify rejection before unbounded resource consumption. Stop the worker and verify admission/queue alerts. Test an unavailable model upstream: bounded failure and durable retry policy should prevent request threads or queues from growing indefinitely. Never treat the model's own error text as a trusted instruction to change system configuration.
For a model upgrade, retain the previous compatible engine/model/configuration. Warm the candidate, evaluate identical inputs and shift only the intended traffic after acceptance. Verify rollback with the same client contract. A model swap that changes embeddings or output schema can require a data migration; reverting the HTTP process alone may be insufficient.
Recovery artifacts include model revision, tokenizer/chat template, engine/runtime versions, access keys, evaluation set and deployment configuration. A deleted model cache may be refetchable only while its repository and authorization remain available. Record license and artifact-retention decisions. Retirement drains durable work, removes access and checks provider billing, cached private data and GPU reservations for orphaned charges.