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

Generic endpoint for job submission #36

Open
nolan1999 opened this issue Sep 13, 2023 · 2 comments
Open

Generic endpoint for job submission #36

nolan1999 opened this issue Sep 13, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@nolan1999
Copy link
Member

See the entrypoints and "create_x_job", they are very similar with lots of code duplication. Unify this.

@Haydnspass
Copy link
Member

Haydnspass commented Sep 15, 2023

What I would do:

Create one endpoint (POST /JOBS) for job submission with parameters

  • application (as to be defined in our version config)
  • version
  • entrypoint
  • plus body

instead of individual endpoints. This could be validated against the version config.

@Haydnspass Haydnspass added the enhancement New feature or request label Sep 15, 2023
@Haydnspass Haydnspass changed the title Unify train and predict jobs Generic endpoint for job submission Sep 15, 2023
@nolan1999
Copy link
Member Author

This depends on whether models keep existing; if they do, application and version are parameters of the model

@nolan1999 nolan1999 self-assigned this Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants