Giter Site home page Giter Site logo

opni-nulog-train's Introduction

Nulog Training Job

  • This job will train a Nulog model when the training controller service receives a signal from NATS.
    • Pre-requisite: An NVIDIA GPU driver must be installed as it is required for training.
      kubectl apply -f https://raw.githubusercontent.com/NVIDIA/k8s-device-plugin/v0.6.0/nvidia-device-plugin.yml
      The training controller service should also be running beforehand as well as should NATS, Traefik and Elasticsearch.
      
  • The job will train a Nulog model based on logs retrieved from Elasticsearch. *To test this service, you can send the payload below to the NATS subject "train". The training controller must be running as it will pick up and start the training job.
    payload = {"model_to_train": "nulog","time_intervals": [{"start_ts": TIMESTAMP_NANO, "end_ts": TIMESTAMP_NANO}, {"start_ts": TIMESTAMP_NANO, "end_ts": TIMESTAMP_NANO}, ...]}
    

Contributing

We use pre-commit for formatting auto-linting and checking import. Please refer to installation to install the pre-commit or run pip install pre-commit. Then you can activate it for this repo. Once it's activated, it will lint and format the code when you make a git commit. It makes changes in place. If the code is modified during the reformatting, it needs to be staged manually.

# Install
pip install pre-commit

# Install the git commit hook to invoke automatically every time you do "git commit"
pre-commit install

# (Optional)Manually run against all files
pre-commit run --all-files

opni-nulog-train's People

Contributors

sanjay920 avatar tybalex avatar kralicky 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.