CLI Reference¶
The ecal console script is installed alongside the package
(ecal.cli.main()).
ecal --version
ecal --help
ecal estimate¶
Estimate the energy cost of an AI model lifecycle.
ecal estimate --model MLP --layers 3 --epochs 50 --hardware apple_m2
Common flags¶
Flag |
Default |
Description |
|---|---|---|
|
(required) |
Model architecture: |
|
3 |
Number of layers |
|
10 |
Input dimension |
|
2 |
Output dimension |
|
50 |
Training epochs |
|
1000 |
Number of training samples |
|
10 |
Sample size / number of features |
|
10000 |
Number of inference calls |
|
(none) |
Hardware profile name (see Configuration) |
|
off |
Output the result as JSON instead of a formatted table |
Transformer-specific flags¶
Flag |
Default |
|---|---|
|
10 |
|
16 |
|
2 |
|
3 |
|
32 |
|
2 |
CNN-specific flags¶
Flag |
Default |
|---|---|
|
3 |
|
3 |
KAN-specific flags¶
Flag |
Default |
|---|---|
|
10 |
ecal profiles¶
List all available hardware profiles:
ecal profiles
Global flags¶
Flag |
Description |
|---|---|
|
Print the installed |
|
Enable verbose (debug-level) logging |