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 flag to predict #1879

Merged
merged 4 commits into from
Sep 13, 2024
Merged

Add timeout flag to predict #1879

merged 4 commits into from
Sep 13, 2024

Conversation

8W9aG
Copy link
Contributor

@8W9aG 8W9aG commented Aug 14, 2024

  • Allow the user of cog to specify the timeout when performing predictions.
  • This allows some models doing a lot in their setup to not automatically time out and leaves
    that parameter up to the user rather than a
    hardcoded global.

A solution for: #1857

* Allow the user of cog to specify the timeout
when performing predictions.
* This allows some models doing a lot in their
setup to not automatically time out and leaves
that parameter up to the user rather than a
hardcoded global.
@8W9aG 8W9aG requested a review from a team August 14, 2024 16:36
@nickstenning nickstenning requested a review from a team August 15, 2024 10:37
pkg/cli/predict.go Outdated Show resolved Hide resolved
@nickstenning
Copy link
Member

Tagged @replicate/api-review as this is a change to a public API.

@andreasjansson
Copy link
Member

+1

@8W9aG 8W9aG enabled auto-merge (squash) September 13, 2024 17:36
@8W9aG 8W9aG merged commit dbfa22f into main Sep 13, 2024
15 checks passed
@8W9aG 8W9aG deleted the add-timeout-flag branch September 13, 2024 17:45
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.

3 participants