-
Notifications
You must be signed in to change notification settings - Fork 589
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
pull method to get total progress info ? #81
Comments
I'm not sure what you mean. The pull example uses streaming to receive progress updates. Each response returns the progress (current and total) in bytes for the current layer being downloaded or a status update. |
i mean to get total model download progress info, not the progress of one file, i know it will download a few files for a model |
Yeah, for example, one model might contain 4 files (digests?), and the pull status tells you bytes x/y for each file (digest) as it goes-- but not which file (digest) that you're on. It just goes from 0 to 100%, over and over until it's done, and you don't know how many times it will plan to do that. Maybe there's a way to pull the file count & sizes from the ollama website, but I don't know what that method is... |
I checked the pull progress example , it seems to return few progresss info , is it possible to get total progress info?
for example i need to make a ui progress bar to reflect the total download progress status
The text was updated successfully, but these errors were encountered: