pull method to get total progress info ? #44

Open
opened 2026-02-15 16:27:41 -05:00 by yindo · 3 comments
Owner

Originally created by @iorilu on GitHub (Mar 3, 2024).

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

Originally created by @iorilu on GitHub (Mar 3, 2024). 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
Author
Owner

@mxyng commented on GitHub (Mar 4, 2024):

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.

@mxyng commented on GitHub (Mar 4, 2024): 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.
Author
Owner

@iorilu commented on GitHub (Mar 7, 2024):

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

@iorilu commented on GitHub (Mar 7, 2024): > 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
Author
Owner

@BrainSlugs83 commented on GitHub (Feb 7, 2025):

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...

@BrainSlugs83 commented on GitHub (Feb 7, 2025): 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...
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ollama/ollama-python#44