Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configurable parameters per job #565

Open
WenheLI opened this issue Sep 8, 2020 · 3 comments
Open

Configurable parameters per job #565

WenheLI opened this issue Sep 8, 2020 · 3 comments
Assignees
Labels
pipeline Idea and discussion to create a pipeline for something

Comments

@WenheLI
Copy link
Collaborator

WenheLI commented Sep 8, 2020

Right now, our pipeline is bound with a fixed set of hyper-parameter and this is not convenient to run multi-job with different sets of hyper-parameter. We should allow passing hyper-parameter on a job-scale.

To implement it:

  • We need to add one column in Job model: param which is a JSON string
    • JSON string should have the following structure:
[{
  "pluginName": {
    "pluginParams1": "",
    "pluginParams2": "",
  }
}]

If the pluginName in the pipeline but does not exist in the job param config, it will retrieve the config from pipeline.

  • We need to add a new API under CLI, something like: pipcook run <jobid> [param-json]
  • This should also connect with pipboard for a GUI operation.
@WenheLI WenheLI added the pipeline Idea and discussion to create a pipeline for something label Sep 8, 2020
@WenheLI WenheLI self-assigned this Sep 8, 2020
@FeelyChau FeelyChau mentioned this issue Sep 8, 2020
16 tasks
@yorkie
Copy link
Member

yorkie commented Sep 8, 2020

This should also connect with pipboard for a GUI operation.

I will add a new button "Run with parameters".

@FeelyChau
Copy link
Collaborator

Is this done by PR #620

@WenheLI
Copy link
Collaborator Author

WenheLI commented Dec 9, 2020

Frontend interaction does not get a chance to implement yet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pipeline Idea and discussion to create a pipeline for something
Projects
None yet
Development

No branches or pull requests

3 participants