Skip to main content

User-facing command-line client to access Chipletti's performance simulator hosted on the cloud.

Project description

cl-perf-sim-cli

cl-perf-sim-cli is the user-facing command-line client to access Chipletti's performance simulator hosted on the cloud.

It lets you:

  • request and resend an access token by verified email
  • submit an ONNX model for simulation
  • check job status
  • download the plain-text summary result
  • cancel a queued or running job

Install

pip install cl-perf-sim-cli

Quick start

Request a token:

cl-perf-sim-cli get_token alice@example.com

Disposable email addresses are rejected with a clear error, so use a non-disposable address you can receive email at.

Submit a model after you receive your token:

export CL_PERF_SIM_TOKEN="<token>"
cl-perf-sim-cli submit --model ./model.onnx

Check status:

cl-perf-sim-cli status job_8f42b1c3-1234-4678-9012-acdeffedcba0

Download results:

cl-perf-sim-cli results job_8f42b1c3-1234-4678-9012-acdeffedcba0

Command summary

  • get_token <email_address>
  • resend_token <email_address>
  • submit --model <path-to-onnx> [--token <token>] [--options <json-or-@file>]
  • status <job_id> [--token <token>]
  • results <job_id> [--token <token>] [--out <dir>]
  • cancel <job_id> [--token <token>]
  • --version

Configuration

Environment overrides:

  • CL_PERF_SIM_BASE_URL
  • CL_PERF_SIM_TOKEN

Documentation

Full user documentation is available at https://chipletti.github.io/cl-perf-sim-service/

Bug reports

If you find a bug in the CLI, simulator or its documented workflow, report it to sim@chipletti.com.

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

cl_perf_sim_cli-1.0.2.tar.gz (13.3 kB view details)

Uploaded Source

Built Distribution

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

cl_perf_sim_cli-1.0.2-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

Details for the file cl_perf_sim_cli-1.0.2.tar.gz.

File metadata

  • Download URL: cl_perf_sim_cli-1.0.2.tar.gz
  • Upload date:
  • Size: 13.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cl_perf_sim_cli-1.0.2.tar.gz
Algorithm Hash digest
SHA256 2bd4c9083aff1a93d9bb1bfed40c1053c924e64e7bcb404e3a8a6f304b8e7e8c
MD5 159d6328082fd7f3795092fcda0e5c75
BLAKE2b-256 793ea375c0f0501efa9d1b0655c6ff92761749f87549b71531629f08a5cc06fa

See more details on using hashes here.

Provenance

The following attestation bundles were made for cl_perf_sim_cli-1.0.2.tar.gz:

Publisher: cli_publish.yml on chipletti/cl-perf-sim-service

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

File details

Details for the file cl_perf_sim_cli-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: cl_perf_sim_cli-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 13.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cl_perf_sim_cli-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fec27a0dc702338bbb1fb53d016d2e00b2e67cbc96ffa8cd11c3fc31cb4d94ef
MD5 b6bf25f1a47a37913e33faafe2f3ae46
BLAKE2b-256 e4cf167983b485539e9afffc74893f8ec181941db0623793a2f18bed6b413b58

See more details on using hashes here.

Provenance

The following attestation bundles were made for cl_perf_sim_cli-1.0.2-py3-none-any.whl:

Publisher: cli_publish.yml on chipletti/cl-perf-sim-service

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