Code Monkey home page Code Monkey logo

openpai-protocol's Introduction

OpenPAI Protocol

OpenPAI Protocol is a specification that includes:

  • The resource requirement, including the docker image used by the job container, and the data used by the job, etc.
  • Various requirement like the GPU/CPU usage, container role and job completion policy used by Framework Controller.
  • Scheduling requirement used by Framework Controller and HiveD Scheduler.
  • Runtime environment variables, if needed.

OpenPAI protocol enables job sharing and portability: a job specified by the protocol can run in different OpenPAI deployment. The protocol also allows users to make a template of a job, which further facilitates the sharing and collaboration in a team that has similar but slightly different configuration for a class of jobs. With the protocol, OpenPAI introduces marketplace that hosts job or job templates that share with other people.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

openpai-protocol's People

Contributors

abuccts avatar fanyangcs avatar hzy46 avatar microsoftopensource avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openpai-protocol's Issues

protocol suggestion (keep updating)

  1. protocol.taskRoles.taskrole.resourcePerInstance.ports to be a string array insteand of an object of object

    • It is very rare and unreasonable that users will ask for a same name port twice or more. User should name each port a unique name.
    • It will increase programming complexity if we add a port dynamically (push a string vs. add an object which the key stored in a variable into an object.)
    • It will increase complexity and confusion if user ask for the same port many times.
  2. protocol.type could be "data" or other types if used in marketplace

  3. PrerequisiteInfo add a summary property.

  4. Change PrerequisiteInfo with BasicInfo to diff from prerequisites property, and move type into it.

  5. Maybe there is something wrong with prerequisites.example: #8

  6. The DataPrerequisite and ScriptOrOutputPrerequisite could not support team storage

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.