Skip to main content

EnergyIR

Measurement-first efficiency tooling for numerical and ML Python.

pip install energyir installs the energy CLI — diagnostic tools that measure-verify performance/energy fixes in your numpy / PyTorch / JAX / pandas code, plus BLAS, dependency-upgrade, and CVE-reachability checks, and a reuse runtime. Diagnosis and measurement are free; advanced optimization features are licensed.

EnergyFlow — whole-program compilation

energyir.flow sees a whole application rather than one call: what depends on what, which state continues and which resets, which draws are independent, which stages are barriers, and which groupings are legal. It then lowers every candidate to the residency compiler, which remains the only thing that decides where values live and what crossing the boundary costs.

from energyir import flow

with flow.capture(name="bundle") as f:      # existing code, unchanged
    x, _ = thermo_solve(A, b)
    d, _ = thermo_logdet(A)

compilation = flow.compile_program(f.build())
print(flow.explain(compilation))            # every decision, every refusal

It reports hard counts, never a projected joule, and it refuses rather than guessing: an unsupported state mode, a random stream two "independent" replicas would share, a commit that could race its own verification, or a comparison between a measured number and a modelled one all produce a named refusal.

energy flow check|compile|explain|run|verify|targets|capture-registry

Download files

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

Source Distribution

energyir-1.22.0.tar.gz (2.7 MB view details)

Uploaded Source

Built Distribution

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

energyir-1.22.0-py3-none-any.whl (3.3 MB view details)

Uploaded Python 3

File details

Details for the file energyir-1.22.0.tar.gz.

File metadata

  • Download URL: energyir-1.22.0.tar.gz
  • Upload date:
  • Size: 2.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for energyir-1.22.0.tar.gz
Algorithm Hash digest
SHA256 e4d523be2600eba2d8aade80735f687272fc210a3f82f53b008c1abcb9cbce07
MD5 766e3e25da2619c3dbb5b1971fbf0c95
BLAKE2b-256 193f1e335a3060104460119c3d73c2b9f1521b48e3be337b06c81557530c3788

See more details on using hashes here.

File details

Details for the file energyir-1.22.0-py3-none-any.whl.

File metadata

  • Download URL: energyir-1.22.0-py3-none-any.whl
  • Upload date:
  • Size: 3.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for energyir-1.22.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cc7c312997d73fe515f47f1b3aec02de86d75a6b692122898c9d6bdcd6b415e2
MD5 d7532b14b47b7e94a085afd1504cd9b7
BLAKE2b-256 fbf61b272cc101eeb67a889ffdd3c41a2dd668a53cdd9b06d1977d780877cf22

See more details on using hashes here.

Supported by

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