Description
Upload local weights for a registered model release. Both arguments are optional inside a workspace:- With no
<model>:<release>, the identity is read from the nearest enclosingreactor.yaml’smodel.nameandmodel.version(walking up from the current directory, stopping at the repository root). - With no <path>, the source defaults to
runtime.weights_pathfrom the samereactor.yaml(the pathreactor model publishandreactor runuse), else./weights/. - A single argument is treated as
<model>:<release>when it contains a colon and no such file exists on disk; otherwise it is the <path>.
--force to bypass the check and re-upload unconditionally.
Carry-over (--from): assert that this release reuses the bundle of an
existing release of the SAME model, with no local bytes. The CLI fetches the
source release’s manifest from the server and asks the server to copy each
weight file into the new release’s prefix server-side. No <path> is read;
--from is mutually exclusive with <path> and --force. The source release must
still be reachable via the server’s per-file dedupe window (typically the 8
most-recent prior releases for the same model).
Symlinks are rejected (resolve them with cp -L or
tar --dereference first).
Examples:
Options
Global options
See also
- reactor weights - Upload and inspect model weights