mlco2/codecarbon

Allow all options to `codecarbon monitor`

開放

#1,273 建立於 2026年7月26日

 (1 則留言) (0 個反應) (0 位負責人)Python (306 個分叉)auto 404
enhancementgood first issue

倉庫指標

星標
 (1,885 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

Is your feature request related to a problem? Please describe. When I run codecarbon monitor --help I only see:

╭─ Options ────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --measure-power-secs                    <int>  Interval between two measures. [default: 10]              │
│ --api-call-interval                     <int>  Number of measures between API calls. [default: 30]       │
│ --api                   --no-api               Choose to call Code Carbon API or not [default: api]      │
│ --offline               --no-offline           Run in offline mode [default: no-offline]                 │
│ --country-iso-code                      <str>  3-letter country ISO code for offline mode                │
│ --region                                <str>  Region/province for offline mode                          │
│ --log-level                             <str>  Log level (critical, error, warning, info, debug)         │
│                                                [default: error]                                          │
│ --help                                         Show this message and exit.                               │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────╯

Describe the solution you'd like

I would like to have all the options of the package, like PUE, WUE...

It need to be a dynamic implementation, to always be synchronised with the package.

Describe alternatives you've considered You can already use the .codecarbon.config to set the option.

貢獻者指南