Skip to main content

A framework for deep learning energy measurement and optimization.

Project description

Zeus logo

Deep Learning Energy Measurement and Optimization

Slack workspace Docker Hub Homepage Apache-2.0 License


Project News


Zeus is a library for (1) measuring the energy consumption of Deep Learning workloads and (2) optimizing their energy consumption.

Zeus is part of The ML.ENERGY Initiative.

Repository Organization

zeus/
├── zeus/             # ⚡ Zeus Python package
│  ├── monitor/       #    - Energy and power measurement (programmatic & CLI)
│  ├── optimizer/     #    - Collection of time and energy optimizers
│  ├── device/        #    - Abstraction layer over CPU and GPU devices
│  ├── utils/         #    - Utility functions and classes
│  ├── _legacy/       #    - Legacy code to keep our research papers reproducible
│  ├── metric.py      #    - Prometheus metric export support
│  ├── show_env.py    #    - Installation & device detection verification script
│  └── callback.py    #    - Base class for callbacks during training
│
├── zeusd             # 🌩️ Zeus daemon
│
├── docker/           # 🐳 Dockerfiles and Docker Compose files
│
└── examples/         # 🛠️ Zeus usage examples

Getting Started

Please refer to our Getting Started page. After that, you might look at

Docker image

We provide a Docker image fully equipped with all dependencies and environments. Refer to our Docker Hub repository and Dockerfile.

Examples

We provide working examples for integrating and running Zeus in the examples/ directory.

Research

Zeus is rooted on multiple research papers. Even more research is ongoing, and Zeus will continue to expand and get better at what it's doing.

  1. Zeus (NSDI 23): Paper | Blog | Slides
  2. Chase (ICLR Workshop 23): Paper
  3. Perseus (SOSP 24): Paper | Blog | Slides
  4. The ML.ENERGY Benchmark (NeurIPS 25 D&B Spotlight): Paper | Repository | Leaderboard
  5. Where Do the Joules Go? Diagnosing Inference Energy Consumption: ArXiv | Blog

If you find Zeus relevant to your research, please consider citing:

@inproceedings{zeus-nsdi23,
    title     = {Zeus: Understanding and Optimizing {GPU} Energy Consumption of {DNN} Training},
    author    = {Jie You and Jae-Won Chung and Mosharaf Chowdhury},
    booktitle = {USENIX NSDI},
    year      = {2023}
}

Other Resources

  1. Energy-Efficient Deep Learning with PyTorch and Zeus (PyTorch conference 2023): Recording | Slides

Contact

Jae-Won Chung (jwnchung@umich.edu)

Newsletter

Subscribe to the ML.ENERGY newsletter for the latest news on Zeus and other projects by the ML.ENERGY Initiative.

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

zeus-0.16.0.tar.gz (234.6 kB view details)

Uploaded Source

Built Distribution

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

zeus-0.16.0-py3-none-any.whl (292.2 kB view details)

Uploaded Python 3

File details

Details for the file zeus-0.16.0.tar.gz.

File metadata

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

File hashes

Hashes for zeus-0.16.0.tar.gz
Algorithm Hash digest
SHA256 c77e3fec498fd7aea11ad081a723c1cc6cad9b670c6ebf47afd1b5ac5a6c5206
MD5 e3e240b3819f4805f331ddabaa71d9da
BLAKE2b-256 b7c6fa05fff2236caba3f316b4305f726c85fe4d8bd76685e80d946ff0ada6ae

See more details on using hashes here.

Provenance

The following attestation bundles were made for zeus-0.16.0.tar.gz:

Publisher: publish_pypi.yaml on ml-energy/zeus

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

File details

Details for the file zeus-0.16.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for zeus-0.16.0-py3-none-any.whl
Algorithm Hash digest
SHA256 82f3a97a39c68040587a8d897cbd6c623aee5ad7e92c50ba9105a3e043a8df7c
MD5 6ed788bde9d66573ba49e260daa8715f
BLAKE2b-256 1e19d19eaf4c5b58161df06ae58877dcbb1b1bb0bce0039b86a8f9a5d3c77a99

See more details on using hashes here.

Provenance

The following attestation bundles were made for zeus-0.16.0-py3-none-any.whl:

Publisher: publish_pypi.yaml on ml-energy/zeus

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