microsoft / microsoft/pai

job submission plugin accept yaml contents

Open
#3,308 0 comments 0 reactions 3 assignees View on GitHub

@debuggy is already working on this.

Since Aug 2, 2019.

new feature pai-dev webportal
Dominant language
JavaScript
Stars
2.7k
Forks
554
Avg merge
20h 42m
Merged PRs (30d)
14

Description

In our current job cloning logic, we will pass username and jobname in the url, and the plugin will retrieve the config of specified job by REST API. This issue is discussing a new way that plugin get the content of job config (protocol yaml) directly.

The benefits of doing this:

  • Other front end (python-sdk or notebook extension) could generate a basic yaml for user, and leverage the job submission page for advanced editing. This means we could add have more templates
  • Clone jobs across clusters or from a job config yaml

Possible implements:

  • Compress and encode the protocol yaml in url directly (be careful not to exceed 2000 char limit)
  • Use a POST request with job config as body

the job submission plugin would retrieve the job config and use it

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.