Files
ModelForge/docs/architecture/RUNTIME_PROFILES.md
T

974 B

Runtime Profiles

A RuntimeEnvironment identifies installed executable software: adapter, exact runtime and package versions, Python/CUDA versions, supported architectures/formats/modalities and container repository plus digest. It is immutable after registration.

A RuntimeProfile binds one exact ArtifactSet to one RuntimeEnvironment and execution configuration: dtype, quantization, modality, sequence length, batch, concurrency, device/GPU-memory policies, non-secret environment values, launch parameters and layered health contract. Its canonical fingerprint makes identical creates idempotent. Any behavior-changing update is a new profile, never an in-place mutation.

trust_remote_code=false and network_egress=false are literal schema constraints. Environment variable names containing token, secret, password, key or credential are rejected. Runtime Profiles contain configuration only; node credentials and hub/project secrets are not part of the object.