Simulator for the eCAL metric
To install the required dependencies, run the following command:
pip install -r requirements.txt
in case if you want to run LLMs you might need additional dependencies, you can install them by running the following command:
pip install transformers sentencepiece tiktoken
To run the calculator, use the following command:
python run_calculator.py
The configuration is done in the calculator_config.py
file. What specific configuration options are available can be found in the file itself.
To change the Control and Data plane overheads of the transmission layer or implement new protocols you can change the values in the calculators/protocol_configs.py
file.
If you use this tool please cite our paper:
@Article{chou2025energycostartificialintelligence,
title={The Energy Cost of Artificial Intelligence of Things Lifecycle},
author={Shih-Kai Chou and Jernej Hribar and Vid Hanžel and Mihael Mohorčič and Carolina Fortuna},
year={2025},
eprint={2408.00540},
archivePrefix={arXiv},
primaryClass={cs.ET},
url={https://arxiv.org/abs/2408.00540},
}