replicate-python icon indicating copy to clipboard operation
replicate-python copied to clipboard

Smarter polling speed

Open bfirsh opened this issue 3 years ago • 0 comments

In wait() and output_iterator() we should be smarter about our polling speed. Start quick, to handle fast predictions, then slow down if prediction hasn't started, then speed up when prediction is processing, or something like that. Similar to the logic in the web client on Replicate.

bfirsh avatar Jun 08 '22 16:06 bfirsh