Skip to main content

Description

Change an environment with no build: set an image that is already pushed, other weights, or one setting. Use it for operations, such as a rollout of a known image or a change to a variable. Each update is one write that creates the next revision. It needs no reactor.yaml, so it runs from any folder, such as a CI job or an operator’s shell. To build the code in this folder and ship it, use reactor deploy. --weights takes a tag, a digest in its short or full form, a local path such as ./weights, which the update pushes first, or hf://<org>/<repo>[@<revision>]; “none” clears the weights. A setting that the command does not name keeps its value. The write waits for the rollout unless --no-wait is set. A write that changes nothing returns at once: it does not wait for a rollout that is already in progress. An environment with no image needs --image in its first write. The accelerators, the instance count and the variables have defaults. --desired is a total, which the Reactor API places across regions, as reactor scale does. --prefer-regions fills the regions it names first; --require-regions keeps the instances in the regions it names. A region flag stays until a write names another or “none”. Examples:

Options

Global options

See also