CEMI: An Edge AI MLOps Tool for Model Compression and Embedded Deployment
Project description
Capicú Edge ML Inference
Capicú Edge ML Inference (CEMI) is an Edge AI/TinyML experiment workspace managing and analyzing runs, comparisons, and explicit action-event streams across local and extensible testing of model compression and evaluation workflows.
cemi-cli is the packaged command-line distribution for Capicu Edge ML Inference (CEMI).
It provides the local-first workflow for:
- serving the CEMI workspace locally
- opening saved runs in the browser
- launching instrumented commands with CEMI environment wiring
- reading and serving run data from a shared local save directory
What This Package Includes
| Component | Description |
|---|---|
cemi CLI |
Starts the local gateway, opens the workspace, and launches monitored commands |
cemi.writer |
Python APIs for logging runs, metrics, parameters, summaries, artifacts, and action events |
| Gateway | Reads run snapshots and artifacts from disk and serves the workspace UI |
| workspace | Bundled frontend served by the local gateway |
Install
From PyPI
pip install cemi-cli
From source
From the repository root:
pip install -e ./cli
For local development and tests:
pip install -e "./cli[dev]"
pytest cli/tests/ -q
Quickstart
Minimal example
from cemi.writer import create_writer
writer = create_writer(project="demo", log_dir=".cemi")
writer.start_run(name="baseline")
writer.log_parameter(key="learning_rate", value=0.001)
writer.log_metric(name="loss", value=0.42, step=1)
writer.log_summary_metrics({"final_accuracy": 0.95})
writer.emit_run_record()
writer.end_run(status="succeeded")
writer.emit_run_record()
Start the local gateway:
cemi gateway
Open the workspace:
cemi view
Or visit:
http://127.0.0.1:3141/workspace
Command Summary
| Command | Description |
|---|---|
cemi help |
Show the command list and general usage |
cemi config |
Display local CLI configuration |
cemi config set <key> <value> |
Persist supported local config values |
cemi gateway |
Start the local gateway and serve the embedded workspace |
cemi view |
Open the workspace without creating a run |
cemi start -- <cmd> |
Start the gateway if needed, open the workspace, and run a command with CEMI env vars injected |
cemi stop |
Stop background local services started by dev flows |
Documentation
Visit https://docs.capicu.ai for more information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cemi_cli-0.1.2.tar.gz.
File metadata
- Download URL: cemi_cli-0.1.2.tar.gz
- Upload date:
- Size: 696.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e98acf89833be69b0744a6f4e4c4679d137ce53d679ecd10844f70d1486f55be
|
|
| MD5 |
e285df19415eabcbde8fc2041f690dc9
|
|
| BLAKE2b-256 |
481043392fea5d28a63fd414bd2eed8e6ad923b824a9dc9f345e047cf3eccee8
|
Provenance
The following attestation bundles were made for cemi_cli-0.1.2.tar.gz:
Publisher:
publish-pypi.yml on capicu-pr/cemi
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cemi_cli-0.1.2.tar.gz -
Subject digest:
e98acf89833be69b0744a6f4e4c4679d137ce53d679ecd10844f70d1486f55be - Sigstore transparency entry: 1200761208
- Sigstore integration time:
-
Permalink:
capicu-pr/cemi@a6cbc651260851c2d1e180318a76ed2e6bf68d50 -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/capicu-pr
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@a6cbc651260851c2d1e180318a76ed2e6bf68d50 -
Trigger Event:
release
-
Statement type:
File details
Details for the file cemi_cli-0.1.2-py3-none-any.whl.
File metadata
- Download URL: cemi_cli-0.1.2-py3-none-any.whl
- Upload date:
- Size: 690.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
67a0ab7aa87ae3dea69587b73ada37ab05e6e9bcd82acfcedd882aa3c9d23fe6
|
|
| MD5 |
b10ecc66468df2b837ef281f9652c90e
|
|
| BLAKE2b-256 |
3066135747f9153a731017ffaab835943c585115c04fe76c8ee757d983508008
|
Provenance
The following attestation bundles were made for cemi_cli-0.1.2-py3-none-any.whl:
Publisher:
publish-pypi.yml on capicu-pr/cemi
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cemi_cli-0.1.2-py3-none-any.whl -
Subject digest:
67a0ab7aa87ae3dea69587b73ada37ab05e6e9bcd82acfcedd882aa3c9d23fe6 - Sigstore transparency entry: 1200761229
- Sigstore integration time:
-
Permalink:
capicu-pr/cemi@a6cbc651260851c2d1e180318a76ed2e6bf68d50 -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/capicu-pr
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@a6cbc651260851c2d1e180318a76ed2e6bf68d50 -
Trigger Event:
release
-
Statement type: