-
Notifications
You must be signed in to change notification settings - Fork 190
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
Progress log of image generation not working #171
Comments
Hey @921kiyo. Thanks for opening up a new issue for this. The way progress is determined is by scanning the prediction logs and scanning for output in a given pattern. If the logs aren't present or not in the right format, the progress property will return In a recent issue over on the JS client (replicate/replicate-javascript#146 (comment)), someone was reporting a similar issue with their mode, and it turned out to be an issue with logs not populating for their predictions. That was also a fine-tune of SDXL. That issue appeared to be resolved, but perhaps it's come up again. I'll ask around to see what's going on. |
Hi @mattt, I am working on the same codebase as Kiyo and I can confirm that logs are not available when using Those jobs are created via
While the job is running, the logs are not available on the web UI either, see attached screenshot. Once the job is completed, the logs are available both using the API and the web UI. Here is the results:
As explained by Kiyo, we use the logs to fetch the progress % and display it on our UI to our users. Many thanks for your investigation, please keep us posted. |
There was a discussion in #152 that Prediction class instance now provides progress information. But I don't thinks it's working as expected. Could you please have a look at this and confirm that
progress
property is always available forPrediction
instance?Also there used to progress info in the log property of Prediction class instance, but I don't get this anymore (I was relying on this to check the progress in our UI)
The text was updated successfully, but these errors were encountered: