In this article
User configuration updates running replicas without restarting them; the application must define which model state and interpretation change together.
A threshold changes while label interpretation stays old
A classification service receives an updated threshold through user configuration. The new setting was calibrated for a changed label mapping, but the replica still holds the previous mapping. The update mechanism succeeds while the application has assembled an incoherent combination of model state.
Specify the smallest coherent configuration unit. A threshold may depend on preprocessing, label order and the released model, so updating the scalar alone is safe only when those dependencies remain compatible.
User configuration calls application reconfiguration
The config guide describes user_config and a reconfigure method accepting JSON-serializable configuration. It explains that the method is called after initialization and that updates apply to current and future replicas without restarting them.
Treat the method as application logic with real state transitions. Receiving a configuration object is not the same thing as validating its compatibility with everything already loaded in the process.
Lightweight and code updates have different scopes
The in-place update guide distinguishes lightweight updates from changes that restart replicas. Changes to runtime environment or deployment code-related settings can have a different lifecycle from a user_config update.
Do not describe the no-restart mechanism as a universal model release transaction. Define behavior for in-flight requests, failed initialization of replacement state and replicas still transitioning, using guarantees supported by the actual application implementation.
Model identity must remain observable
The deployment API exposes user configuration alongside other deployment controls. Keep configuration revision and model identity identifiable so an output can be associated with the interpretation actually used for its computation.
Label taxonomy mapping explains why identical score positions can change meaning. Tokenizer manifests offer another case where weights and adjacent interpretation artifacts need to stay consistent across a release.
Exercise a transition with recognizable outputs
Use a controlled request whose result exposes the configured threshold or mapping. Observe behavior before, during and after a configuration change, including a deliberately invalid replacement configuration.
Verify that rejection of an invalid update leaves a defined usable state and that new replicas receive the intended configuration. A successful lightweight update preserves an understandable model contract; avoiding process restart alone is insufficient evidence that every response used a coherent release.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.