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

Add timeout parameter to edge.inferences.run method #55

Open
5 tasks done
bmunday3 opened this issue Sep 6, 2023 · 0 comments
Open
5 tasks done

Add timeout parameter to edge.inferences.run method #55

bmunday3 opened this issue Sep 6, 2023 · 0 comments
Assignees

Comments

@bmunday3
Copy link
Contributor

bmunday3 commented Sep 6, 2023

Checklist

Please review first that the issue is fully related with this SDK by checking the relevant checkboxes ([x]).

  • I have a Modzy API Key active and have the entitlements to perform the desired action.
  • I review that have access to Modzy API host.
  • I think that is a error specific to the SDK.
  • I review the documentation and existing issues in order to not duplicate existing ones.
  • I am willing to follow-up on comments in a timely manner.

Info

  • Modzy SDK version: 0.11.5
  • Python version: 3.8.10
  • Operating System: Linux

Description

The edge client inferences.run method is a wrapper around inferences.perform_inference and inferences.block_until_complete. The issue is, this method does not accept a timeout parameter, so for models that take longer than 30 seconds to perform inference (default value in block_until_complete method, you have to manually use the perform inference --> block until complete methods.

@bmunday3 bmunday3 self-assigned this Sep 6, 2023
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