kosa8 model push
Publish a local model to an OCI registry as an artifact
Usage#
kosa8 model push NAME REF
Uploads a model's weights to any standards-compliant OCI registry as an image-spec 1.1 artifact: a small JSON config plus the GGUF as a single layer.
Anyone on the team then gets it with kosa8 model pull-oci REF, using the
registry credentials they already have. Authentication comes from
kosa8 login REGISTRY.
The upload is chunked and the digest is verified as it goes, so a multi-gigabyte model neither buys the machine an out-of-memory kill nor lands half-written.
Options#
| Flag | Type | What it does | Default |
|---|---|---|---|
--chunk-size | int | MiB of the model held in memory and sent per request | 16 |
Example#
kosa8 model push qwen2.5-7b ghcr.io/acme/models/qwen:7b