Kepler Power Model
Link to Kepler Model Server: https://github.com/sustainable-computing-io/kepler-model-server
This repository contains source code related to Kepler power model. The modules in this reposioty connects to core Kepler project and kepler-model-db as below.

Model server and estimator deployment
Deploy with estimator sidecar
Deploy with estimator sidecar and model server
Model training
Local test
via docker
Build image for testing, run
make build-test
Run the test
Test case Command Training pipeline make test-pipeline Model server make test-model-server Estimator make test-estimator Offline Trainer make test-offline-trainer
For more test information, check here.
with native python environment
Compatible version: python 3.8
Prepare environment
pip install -r ../dockerfiles/requirements.txt
Run the test
Test case Command Training pipeline python -u ./tests/pipeline_test.py Model server Terminal 1: python src/server/model_server.py
Terminal 2: python -u tests/estimator_model_request_test.py Estimator Terminal 1: python src/estimate/estimator.py
Terminal 2: python -u tests/estimator_power_request_test.py Offline Trainer Terminal 1: python src/train/offline_trainer.py
Terminal 2: python -u tests/offline_trainer_test.py
For more test information, check here.
Contributing
Please check the roadmap and guidelines to join us here.
0 likes ยท 7 views ยท Jan 5, 2024
Model Server for Kepler. Contribute to sustainable-computing-io/kepler-model-server development by creating an account on GitHub.