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

Batch inference #2687

Closed
wants to merge 3 commits into from
Closed

Conversation

rbhavna
Copy link
Collaborator

@rbhavna rbhavna commented Jul 20, 2024

Description

Add task to batch predict request

// todo: will add unit tests and ITs by 07/22/24

Issues Resolved

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Bhavana Ramaram <[email protected]>
@rbhavna rbhavna had a problem deploying to ml-commons-cicd-env July 22, 2024 19:33 — with GitHub Actions Failure
@rbhavna rbhavna had a problem deploying to ml-commons-cicd-env July 22, 2024 19:34 — with GitHub Actions Failure
@@ -65,6 +75,8 @@ public class MLTask implements ToXContentObject, Writeable {
private String error;
private User user; // TODO: support document level access control later
private boolean async;
@Setter
private Map<String, Object> transformJob;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not just use Map<String, String>. I think all the job id will be parsed as a String? So using parser.mapString() is easier.

@Zhangxunmt
Copy link
Collaborator

I believe this PR can be closed since it's outdated and duplicate of the new PR #2825 (review).

@rbhavna rbhavna closed this Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants