Skip to main content

CEMI: An Edge AI MLOps Tool for Model Compression and Embedded Deployment

Project description

cemi-oss GitHub repo banner

Tests Python Platform Stars Forks

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cemi_cli-0.1.2.tar.gz (696.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cemi_cli-0.1.2-py3-none-any.whl (690.1 kB view details)

Uploaded Python 3

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

Hashes for cemi_cli-0.1.2.tar.gz
Algorithm Hash digest
SHA256 e98acf89833be69b0744a6f4e4c4679d137ce53d679ecd10844f70d1486f55be
MD5 e285df19415eabcbde8fc2041f690dc9
BLAKE2b-256 481043392fea5d28a63fd414bd2eed8e6ad923b824a9dc9f345e047cf3eccee8

See more details on using hashes here.

Provenance

The following attestation bundles were made for cemi_cli-0.1.2.tar.gz:

Publisher: publish-pypi.yml on capicu-pr/cemi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for cemi_cli-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 67a0ab7aa87ae3dea69587b73ada37ab05e6e9bcd82acfcedd882aa3c9d23fe6
MD5 b10ecc66468df2b837ef281f9652c90e
BLAKE2b-256 3066135747f9153a731017ffaab835943c585115c04fe76c8ee757d983508008

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page