[GH-ISSUE #4273] API useing #49178

Closed
opened 2026-04-28 10:54:04 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @w1757876747 on GitHub (May 9, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/4273

What is the issue?

I have a problem. When I call api/pull of the project, the background displays the following error, and no streaming response such as status is returned, because I want to get the real-time download progress. May I ask why I can download normally if I use the run model command in the servicetime=2024-05-09T10:03:13.104+08:00 level=INFO source=download.go:251 msg="00e1317cbf74 part 36 stalled; retrying. If this persists, press ctrl-c to exit, then 'ollama pull' to find a faster connection." time=2024-05-09T10:03:25.107+08:00 level=INFO source=download.go:251 msg="00e1317cbf74 part 14 stalled; retrying. If this persists, press ctrl-c to exit, then 'ollama pull' to find a faster connection." time=2024-05-09T10:03:35.106+08:00 level=INFO source=download.go:251 msg="00e1317cbf74 part 36 stalled; retrying. If this persists, press ctrl-c to exit, then 'ollama pull' to find a faster connection." [GIN] 2024/05/09 - 10:03:46 | 200 | 35.609442s | 127.0.0.1 | POST "/api/pull"

OS

Windows

GPU

Nvidia

CPU

Intel

Ollama version

0.1.34

Originally created by @w1757876747 on GitHub (May 9, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/4273 ### What is the issue? I have a problem. When I call api/pull of the project, the background displays the following error, and no streaming response such as status is returned, because I want to get the real-time download progress. May I ask why I can download normally if I use the run model command in the service`time=2024-05-09T10:03:13.104+08:00 level=INFO source=download.go:251 msg="00e1317cbf74 part 36 stalled; retrying. If this persists, press ctrl-c to exit, then 'ollama pull' to find a faster connection." time=2024-05-09T10:03:25.107+08:00 level=INFO source=download.go:251 msg="00e1317cbf74 part 14 stalled; retrying. If this persists, press ctrl-c to exit, then 'ollama pull' to find a faster connection." time=2024-05-09T10:03:35.106+08:00 level=INFO source=download.go:251 msg="00e1317cbf74 part 36 stalled; retrying. If this persists, press ctrl-c to exit, then 'ollama pull' to find a faster connection." [GIN] 2024/05/09 - 10:03:46 | 200 | 35.609442s | 127.0.0.1 | POST "/api/pull"` ### OS Windows ### GPU Nvidia ### CPU Intel ### Ollama version 0.1.34
GiteaMirror added the bug label 2026-04-28 10:54:04 -05:00
Author
Owner

@w1757876747 commented on GitHub (May 9, 2024):

I have just tried again and can download but can not return real-time response, but a one-time stream response after downloading

<!-- gh-comment-id:2101816245 --> @w1757876747 commented on GitHub (May 9, 2024): I have just tried again and can download but can not return real-time response, but a one-time stream response after downloading
Author
Owner

@jmorganca commented on GitHub (Jun 4, 2024):

Hi there, to pull in one request, use stream: false in /api/pull - let me know if that works!

<!-- gh-comment-id:2148517248 --> @jmorganca commented on GitHub (Jun 4, 2024): Hi there, to pull in one request, use `stream`: false in `/api/pull` - let me know if that works!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#49178