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

pull method to get total progress info ?

Open iorilu opened this issue 1 year ago • 3 comments

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

iorilu avatar Mar 04 '24 02:03 iorilu

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 avatar Mar 04 '24 19:03 mxyng

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 avatar Mar 07 '24 14:03 iorilu