.cnox → run)Goal: Get from a trained model export to a running .cnox in your environment without vendor SSH access. Adjust paths and OS for your site.
Option A — Binary release (no compiler):
Download the release archive for your OS from your vendor or project releases, extract, add coelanox to PATH.
Option B — Build from source:
From the repository: cd coelanox && cargo build --release -p coelanox-cli. Copy the coelanox binary to a directory on PATH.
Verify: coelanox --version
If you use Ed25519 signing:
coelanox keygen -o ./keys
Store keys/secret.bin in a secrets manager; distribute keys/public.bin only where verification should occur.
ONNX example:
coelanox package -i /path/to/model.onnx -o /path/to/model.cnox --target cpu
If packaging fails with Custom ops: See ONNX_SUPPORTED_OPS.md and fix the graph or translator.
Scalar-only / portable container:
coelanox package -i model.onnx -o model.cnox --target cpu --fallback-only
Demo bundles (ResNet tiny, etc.) use --use-demo-translator and format flags per Quickstart.
coelanox verify -f /path/to/model.cnox
Expected: success message. If hash fails: do not deploy; re-copy or re-build.
With signing:
coelanox verify -f model.cnox --trusted-key keys/public.bin
coelanox info -f model.cnox
Confirm input/output shapes, sizes, and flags (e.g. audit required).
Prepare input JSON matching manifest shapes (flattened f32, row-major order as documented for your build).
coelanox run -f model.cnox -i input.json -o output.json
Synthetic input (testing only):
coelanox run -f model.cnox -o output.json
Do not rely on defaults in production.
COELANOX_* environment variables (see Operations): limits for container size, input size, memory, timeout, COELANOX_ALLOW_ABSOLUTE_PATHS=false where policy requires.COELANOX_CONFIG_FILE at your config file on the runtime host.RUST_LOG / COELANOX_LOG_LEVEL so security-relevant events reach your log stack..cnox (and public key if signing) via approved transfer.See DATA_FLOW.md.
For process-to-process integration:
coelanox serve -f model.cnox -b scalar
(Or another backend name your build supports.) IPC is stdin/stdout framed binary; see CLI reference § serve. Wrap with your supervisor and health logic—there is no built-in HTTP server.
| Problem | Self-serve resource |
|---|---|
| Command flags | CLI_REFERENCE.md |
| Ops not packaging | ONNX_SUPPORTED_OPS.md, troubleshooting |
| Slow inference | KNOWN_LIMITATIONS.md, CLF path in Operations |
| Integrity / policy | RUNTIME_SPECIFICATION.md, Operations |