ollama/server
Blake Mizerany ce929984a3
server/internal/client/ollama: fix file descriptor management in Pull (#9931)
Close chunked writers as soon as downloads complete, rather than
deferring closure until Pull exits. This prevents exhausting file
descriptors when pulling many layers.

Instead of unbounded defers, use a WaitGroup and background goroutine
to close each chunked writer as soon as its downloads finish.

Also rename 'total' to 'received' for clarity.
2025-03-21 16:16:38 -07:00
..
internal server/internal/client/ollama: fix file descriptor management in Pull (#9931) 2025-03-21 16:16:38 -07:00
testdata/tools
auth.go
create.go server: validate local path on safetensor create (#9379) 2025-02-28 16:10:43 -08:00
create_test.go server: validate local path on safetensor create (#9379) 2025-02-28 16:10:43 -08:00
download.go
fixblobs.go
fixblobs_test.go
images.go
layer.go
manifest.go
manifest_test.go
model.go templates: add autotemplate for gemma3 (#9880) 2025-03-20 00:15:30 -07:00
model_test.go
modelpath.go
modelpath_test.go
prompt.go gemma3: Allow multiple image in a single input 2025-03-14 15:38:54 -07:00
prompt_test.go
routes.go add verbose mode to the show command (#9640) 2025-03-13 14:24:27 -07:00
routes_create_test.go
routes_delete_test.go
routes_generate_test.go
routes_list_test.go
routes_test.go server/internal/client/ollama: hold DiskCache on Registry (#9463) 2025-03-02 20:55:44 -08:00
sched.go server: add missing function parens to debug log (#9255) 2025-02-20 12:10:15 -08:00
sched_test.go
sparse_common.go
sparse_windows.go
upload.go