greenops
Software to measure the footprints of deep learning models at training, testing and evaluating to reduce energy consumption and carbon footprints.
How to use
import greenops as go
And you can use greenops right now.
To begin a new a measurement simply type
measure = go.Measure()
There are two main approaches to make measurements.
- You can use
measure.start()andmeasure.stop(). - You can use
measure.update().
measure.start()
# Your code to measure
measure.stop()
or
while condition:
measure.update()
# Your code to measure
Both start() , stop() and upgrade() accepts a stage_name parameter. You can manage different stages concurrently.
Go advanced
Instead of Measure you can use advanced.ThreadMeasure or torchmeasure.TorchMeasure as well.
More details
Coming soon.
Metadata
Release files for greenops 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| greenops-0.1.0.tar.gz | 18.4 kB | Without provenance | Details for greenops-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| greenops-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for greenops-0.1.0-py3-none-any.whl |
Total release size: 41.9 kB
Release files / greenops-0.1.0.tar.gz
| Download URL | greenops-0.1.0.tar.gz |
|---|---|
| Size | 18.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7e36a0580ae55e216ae3c187ed8b3ae528cfd4d5900857e76e5feef8ef18c4a8
|
|
BLAKE2b-256 checksum How to use checksums |
cd37469dfac41d10ed363b6876a54e5786f9e16be8ae24778da1c05b78aeacfb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.8.1 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.11
|
Release files / greenops-0.1.0-py3-none-any.whl
| Download URL | greenops-0.1.0-py3-none-any.whl |
|---|---|
| Size | 23.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
71632902ba2830c71ea49c0700d0b8da2053263fdfb68353000c46beedc23a03
|
|
BLAKE2b-256 checksum How to use checksums |
da4b11635b882ac735eade9e3ada0512579d5b98194c37d181392bee15adb20f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.8.1 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.11
|
Security for greenops 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.