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

InferenceLostConnection error for detect step with more than 5000 data points using Multivariate Anomaly Detection API in Python #48

Open
csital opened this issue Jul 6, 2022 · 0 comments

Comments

@csital
Copy link

csital commented Jul 6, 2022

Please provide us with the following information:

This issue is for a: (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

When I submit more than 5,000 data points for the multivariate anomaly detector detect API call https://{endpoint}/multivariate/models/{model_id}/detect), I consistently get the following error. According to the documentation, the maximum number of data points per inference call is 20,000. There is no error when I use less than 5,000 data points for the API call.

Supplying at most 5,000 data points is much more time-consuming because any single detect API call takes around the same time to complete (regardless of the number of data points) in my experience.

Any log messages given by the failure

Error code: InferenceLostConnection. Message: Lost connection with the worker that processed the inference work. This may be caused by service upgrade. Re-trigger inference should help resolve this.

Expected/desired behavior

No error when I supply at most 20,000 data points for a single detect API call.

Mention any other details that might be useful

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

No branches or pull requests

1 participant