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

Replicate Polling Exemption? #57

Open
MartinW opened this issue Oct 15, 2024 · 2 comments
Open

Replicate Polling Exemption? #57

MartinW opened this issue Oct 15, 2024 · 2 comments
Assignees

Comments

@MartinW
Copy link
Contributor

MartinW commented Oct 15, 2024

Could polling for Replicate results be exempted from rate limits?

Reasons:
The rate limit is to prevent too many paid requests, but polling calls are not charged.
The fair use rate limit can be used by polling on some long requests. Increasing the rate limit, might encourage misuse.

@lzell lzell self-assigned this Oct 17, 2024
@lzell
Copy link
Owner

lzell commented Oct 20, 2024

@MartinW I like the idea of skipping rate limits for polled requests. We may have a short-term fix for you. Are you using Replicate for Flux image generations? If so, please update to 0.34.0 which has this change:
#60

@MartinW
Copy link
Contributor Author

MartinW commented Oct 31, 2024

Synchronous API in the short-term works well. For longer running jobs, skipping rate limits would be good.

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

2 participants