Coder Social home page Coder Social logo

marceloamaral / kepler-model-server Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sustainable-computing-io/kepler-model-server

0.0 1.0 0.0 32.62 MB

Model Server for Kepler

License: Apache License 2.0

Shell 8.67% Python 90.16% Makefile 1.01% Dockerfile 0.16%

kepler-model-server's Introduction

Kepler Power Model

Get started with 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.

Deployment

Deploy with estimator sidecar

OPTS="ESTIMATOR" make deploy

Deploy with estimator sidecar and model server

OPTS="ESTIMATOR SERVER" make deploy

Local test

via docker

  1. Build image for testing, run

    make build-test
    
  2. 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 (3.8+) environment

  1. Prepare environment

    pip install -r ../dockerfiles/requirements.txt
  2. 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.

kepler-model-server's People

Contributors

sunya-ch avatar kaiyiliu1234 avatar rootfs avatar husky-parul avatar yanbo0101 avatar marceloamaral avatar mcalman avatar jiangphcn avatar shreyanand avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.