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.23.0.tar.gz (2.8 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.23.0-py3-none-any.whl (3.3 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for energyir-1.23.0.tar.gz
Algorithm Hash digest
SHA256 9708c73d59864168d5b81a9a6b67f577f5e809628029c240dc864f067374adf0
MD5 9e2195aa65a3dcf3955e96c2c7a4fa8d
BLAKE2b-256 15758728fb53d2ba4aca94042806fdd8bd26d47d5b2724cbcef678c101e75366

See more details on using hashes here.

File details

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

File metadata

  • Download URL: energyir-1.23.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.23.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dcaf291707b5eda7413a7b0d2d4be0d215e6497392a58df44ad367b72b51da99
MD5 8655eea016ac2b550947276af42c7013
BLAKE2b-256 ff58d16216ceb909beeabd5a0f7032c0b9aee50b0014a0e7e5cbb07a92beb27d

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